The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024

Latest message you have seen: Re: xPLRIONet and playlists


[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

RE: Re: xPLMediaNet and Playlists


  • Subject: RE: Re: xPLMediaNet and Playlists
  • From: "Tony Tofts" <tony@xxxxxxxxxx>
  • Date: Thu, 17 Mar 2005 06:35:08 -0000


> My feeling is that playlists should be treated as a media
> type, just like an mpg or an mp3.  After all, you can browse
> and play playlists in the same way as individual files.  The
> fact that they actually point to other media files is
> irrelevant to the way the user interacts with them - handling
> a playlist (from a user perspective) is really no different
> to dealing with the chapters in a DVD movie.

That's an interesting concept, hadn't thought of it that way.

Trouble is they don't have a specific artist/album/genre etc associated
with
them so can't be integrated into the tracks table

I think I'll opt for the playlist module to scan for the files into a
database table, but not store the tracks. The playlist module will be
responsible for extracting the tracks on the fly when they are selected to
be queued

> As such, any module that requires the database - which to my
> mind should just be the media selection modules (browse, web
> interface etc), should use the same method to select a
> playlist as any other file.
> The only other part of the system that needs access to the
> database (if I understand correctly) would be the core, which
> would need to access it to obtain file locations - either to
> send in xPL commands, or for the serving of files to devices
> that require that.

Only "source" modules (and any special function modules like
pronto csf,
voice recognition) need access to the database.

All other access to the data is _thru_ the "source" modules, even
the web
interface etc will go thru the "source"'s to get the data

The only part the core plays is providing a default database connect string
to the modules (this default can be overridden at both the global and/or
module level)

Regards
Tony



xPL Links: http://www.xplproject.org.uk http://www.xplhal.com http://www.xpl.myby.co.uk
To Post a Message: ukha_xpl@xxxxxxx
To Subscribe:  ukha_xpl-subscribe@xxxxxxx
To Unsubscribe:  ukha_xpl-unsubscribe@xxxxxxx

xPL Main Index | xPL Thread Index | xPL Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.