Just discovered an interesting phenomenon:
If you play a regular (m3u) playlist, and then trigger "Reset exported
song catalog", only the songs from this playlist get exported to TEN.
>From scanner.log:
Code:
--------------------
[13-07-09 15:02:37.5873] Slim::Utils::Scanner::Local::rescan (171)
Discovering audio files in /data/playlist
[13-07-09 15:02:38.9157] Slim::Utils::Scanner::Local::changed (987) Handling
changed playlist file:///data/playlist/R63.m3u
[13-07-09 15:02:38.9160] Slim::Utils::Scanner::Local::deleted (722) Handling
deleted playlist file:///data/playlist/R63.m3u
[13-07-09 15:02:38.9224] Slim::Utils::Scanner::Local::new (811) Handling new
playlist file:///data/playlist/R63.m3u
[13-07-09 15:02:41.1661] Slim::Music::Import::runImporter (485) Starting
Plugins::SmartMix::Importer scan
[13-07-09 15:02:41.1664] Plugins::SmartMix::Importer::runExport (82) Start
Taste Profile export
[13-07-09 15:02:41.2699] Plugins::SmartMix::Importer::runExport (96) Got 6541
song(s) to export.
--------------------
The playlist, however, certainly has not been changed since the last
rescan (however, the file date seems to be updated by LMS every time
it's played, so I'd assume this makes LMS consider it changed)
After the export, the new catalog contains exactly the songs from the
playlist R63 (and not the 6541 I'd expect).
If a second reset catalog is done while the same playlist is still
playing, the playlist is not considered changed, and all tracks from the
library are exported.
Maybe this happens because the playlist is added to $newTracks in
onNewChangedTrack in Importer.pm (although the wipe pref should prevent
this... but only if onNewChangedTrack is called after startScan) and
subsequently all tracks not in $newTracks get discarded in runExport?
[ extGUI4LMS - an alternative web interface: 'forum'
(http://forums.slimdevices.com/showthread.php?98186-Announce-Alternative-Web-Interface-(beta))
/ 'homepage' (http://code.google.com/p/extgui4lms/) ]
------------------------------------------------------------------------
Roland0's Profile: http://forums.slimdevices.com/member.php?userid=56808
View this thread: http://forums.slimdevices.com/showthread.php?t=97668
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins