cparker wrote: 
> It was returning tracks like this (NOTE the tmp);
> URL Reported;tmp:////FATCAT/music/music/Massive%20Attack/Heligoland/etc
> 
> Yet moments ago when I was listening on my duet I was getting the
> normal;
> URL Reported;file:////FATCAT/music/music/Thievery%20Corporation/etc.
> 
> The switch of tmp instead of file, broke my code. :(
> 
> I've not seen the tmp before, yet each track I selected from the Radio
> returned the same tmp prefix.  (All tracks are on a NAS system.)

7.9 has a new feature which allows to play tracks which are not stored
in the database, and won't be stored there either. Eg. you want to check
out some stuff from a USB stick, but don't want LMS to add it to your
library.

Now if MusicIP returned a file path which LMS didn't know yet (for
whatever reason), that track can be played through the use of the tmp://
protocol handler (I called them "Volatile tracks" :-)) without adding it
to the library.

One more reason might be if you did run a full wipe & rescan: previously
LMS would wipe the current playlist (as the tracks are no longer
available in the wiped database) and stop playback. That sucked.
Therefore LMS 7.9 now converts all tracks in the current playlist to
volatile tracks to allow continuation of the music while the library is
re-built.

Therefore yes, I would suggest you allow your plugin to treat such file
similarly to regular file:// entries.

FWIW: this has been in 7.9 for several months. It's not a recent change
:-)



Michael

http://www.herger.net/slim-plugins - MusicArtistInfo, MusicInfoSCR,
Smart Mix
------------------------------------------------------------------------
mherger's Profile: http://forums.slimdevices.com/member.php?userid=50
View this thread: http://forums.slimdevices.com/showthread.php?t=104274

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to