Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Don't know. I thought I'd read in the DPL4 announce thread that there is a way to get your old SQLPlaylists into DPL4. I know in the DPLC template page at the bottom there's a "Save as" with a drop down. If you use the dropdown and pick the "Customized SQLite" option it brings up the SQL that you can then modify to add whatever you couldn't specify through the template pages. I also see that the last update to DPLC says it's now DPL4 only. Main system - Rock Solid with LMS 8.3.1 on WHS 2011 - 2 Duets ( both WiFi, farthest unit gets 60% signal strength and always works since new power supply) and Squeeseslave Cabin system - Rock solid with LMS 8.3.1 on Win10 Pro - 1 RPi 3 Model B (WiFi) /Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave Squeezebox Boom - "At Large" player around both home and cabin Headphones and car - Android phone/Bluetooth w/full library on MicroSD card - PowerAmp music player app (similar to Material Skin) w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
w3wilkes wrote: > Can't speak to custom skip but you can include/exclude genres in DPLC. > @AF1 does have a version of Custom Skip on GitHub though. Do you know if I can open a playlist that I created with SQLPlaylist in DPLC for modification? nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
nyindieguy wrote: > One question I have about the combo of DPL4 and DPC is whether I can > recreate my main playlist, which is random songs from my entire > collection, but excluding certain genres and also using Custom Skip for > songs that are in my Skip playlist. I have it functioning from my old > SQLPlaylist version, but I have to edit it every once in a while if I > add music from a new genre that I don't want to play. I hope that all > makes sense. Can't speak to custom skip but you can include/exclude genres in DPLC. @AF1 does have a version of Custom Skip on GitHub though. Main system - Rock Solid with LMS 8.3.1 on WHS 2011 - 2 Duets ( both WiFi, farthest unit gets 60% signal strength and always works since new power supply) and Squeeseslave Cabin system - Rock solid with LMS 8.3.1 on Win10 Pro - 1 RPi 3 Model B (WiFi) /Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave Squeezebox Boom - "At Large" player around both home and cabin Headphones and car - Android phone/Bluetooth w/full library on MicroSD card - PowerAmp music player app (similar to Material Skin) w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
w3wilkes wrote: > I was a long time Erland SQLPlaylist user too. I've been playing with > the new DPL4 and DPLC (Dynamic PlayList Creator) and it does everything > I was using SQLPlaylist for. To access DPLC you will need to add this > Github url to your Plugin repos; > https://raw.githubusercontent.com/AF-1/lms-dynamicplaylistcreator/main/repo.xml > DPLC should seem fairly familiar if you used SQLPlaylist templates. My > biggie is random songs of chosen genres with BPM filtering which I > manually had to add the SQL statements for BPM to the SQL generated with > Erlands SQLPlaylists. The new DPLC has added BPM filtering to the > template so I'm a very happy camper. DPLC currently works with DPL3, but > I think @AF1 plans to make DPLC a DPL4 only thing down the road. One question I have about the combo of DPL4 and DPC is whether I can recreate my main playlist, which is random songs from my entire collection, but excluding certain genres and also using Custom Skip for songs that are in my Skip playlist. I have it functioning from my old SQLPlaylist version, but I have to edit it every once in a while if I add music from a new genre that I don't want to play. I hope that all makes sense. nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
nyindieguy wrote: > Last night, I had to rebuild my entire LMS setup because of a power > outage. For the moment I am sticking with DPL 3 until I have enough time > to play with DPL 4 and learn how best to use it. In the meantime, if I > am recalling correctly from the referenced thread above, there was a > slightly updated version of SQLPlaylist that I was using that seems to > be no longer available. I can only get access to Erland's final version. > Is there any way I can get that version again? I added the link the > repository where it used to be, but it no longer shows up I was a long time Erland SQLPlaylist user too. I've been playing with the new DPL4 and DPLC (Dynamic PlayList Creator) and it does everything I was using SQLPlaylist for. To access DPLC you will need to add this Github url to your Plugin repos; https://raw.githubusercontent.com/AF-1/lms-dynamicplaylistcreator/main/repo.xml DPLC should seem fairly familiar if you used SQLPlaylist templates. My biggie is random songs of chosen genres with BPM filtering which I manually had to add the SQL statements for BPM to the SQL generated with Erlands SQLPlaylists. The new DPLC has added BPM filtering to the template so I'm a very happy camper. DPLC currently works with DPL3, but I think @AF1 plans to make DPLC a DPL4 only thing down the road. Main system - Rock Solid with LMS 8.3.1 on WHS 2011 - 2 Duets ( both WiFi, farthest unit gets 60% signal strength and always works since new power supply) and Squeeseslave Cabin system - Rock solid with LMS 8.3.1 on Win10 Pro - 1 RPi 3 Model B (WiFi) /Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave Squeezebox Boom - "At Large" player around both home and cabin Headphones and car - Android phone/Bluetooth w/full library on MicroSD card - PowerAmp music player app (similar to Material Skin) w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
nyindieguy wrote: > Got it. Thanks for making that change in SQL Playlist. That fixed > everything. Last night, I had to rebuild my entire LMS setup because of a power outage. For the moment I am sticking with DPL 3 until I have enough time to play with DPL 4 and learn how best to use it. In the meantime, if I am recalling correctly from the referenced thread above, there was a slightly updated version of SQLPlaylist that I was using that seems to be no longer available. I can only get access to Erland's final version. Is there any way I can get that version again? I added the link the repository where it used to be, but it no longer shows up. Thanks once again. --Ira nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
AF1 wrote: > > In case I misunderstood your issue and you still think that DPL3/your > dynamic playlist is not working properly, then I'll need more > information: > If it's a -built-in- dynamic playlist, please provide its *full* name > from the menu. If it's a -custom- dynamic playlist that you've created > (with or without '*Dynamic Playlist Creator*' > (https://github.com/AF-1/lms-dynamicplaylistcreator#dynamic-playlist-creator---beta)), > please post the SQLite code. And maybe log messages related to this > issue, if there are any. sure, you've misunderstood. It's my fault. But i have no time now to answer, i'm away, i'm in heaven! DPL3 - great! Many many Thanks! mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
mamema wrote: > You've said above "you're stll using songinfoerrors are > visible.is this plugin no longer needed in 2022 with LMS 8.3+ ? Don't know about "needed". I've never used -Songinfo/SongLyrics-. But there were a lot of error messages in your previous log excerpts. Maybe check for yourself: go to (LMS default skin) -song view- for a song *without* embedded lyrics and see if the plugin still fetches lyrics (or whatever else it was supposed to fetch). mamema wrote: > one, quite funny thing is, that with the DPL3 plugin, if i use a "bring > up 5 star" stuff sql query, then the rated song is coming up, but it is > from another album, where this song is on. on compilation albums for > example. The compilation song wasn't rated with RL. If you start a dynamic playlist that's supposed to retrieve only 5-star tracks from the LMS database, it doesn't matter *what* you used to rate them in the past - RL, TrackStat, some SQLite command... All that matters is that the LMS database has a 5-star rating (100) for this track. As long as DPL3 only adds 5-star tracks that actually have a 5-star rating in the LMS database, I'd say it's doing what it's supposed to. In case I misunderstood your issue and you still think that DPL3/your dynamic playlist is not working properly, then I'll need more information: If it's a -built-in- dynamic playlist, please provide its *full* name from the menu. If it's a -custom- dynamic playlist that you've created (with or without '*Dynamic Playlist Creator*' (https://github.com/AF-1/lms-dynamicplaylistcreator#dynamic-playlist-creator---beta)), please post the SQLite code. And maybe log messages related to this issue, if there are any. For '*bug reports*' (https://github.com/AF-1/), *FAQ* (if available) and more detailed information about my plugins, please see the '*GitHub*' (https://github.com/AF-1/) page or the *first post* in the support thread for a plugin. Please post *bug reports* for my plugins *only* on '*GitHub*' (https://github.com/AF-1/). Thank you. AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
i would say, my corner case is solved. Even though it is not a corner case, because it's me. :-) Thank you very much. one, quite funny thing is, that with the DPL3 plugin, if i use a "bring up 5 star" stuff sql query, then the rated song is coming up, but it is from another album, where this song is on. on compilation albums for example. The compilation song wasn't rated with RL. This for me is a real non issue, but for completeness i want to mention it here mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
AF1 wrote: > Nothing like a little ill-advised sarcasm to get me to help users > troubleshoot corner cases... > Anyway, uploaded RL 2.2.4, should hit the LMS repo ~tomorrow. Good luck > with the troubleshooting. Hey! You're the dev here, just say thank you, when you get entertained by corner cases... i'll advised end user sarcasm stop! Back to topic. You've said above "you're stll using songinfoerrors are visible.is this plugin no longer needed in 2022 with LMS 8.3+ ? mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
mamema wrote: > welcome to the club! You have a real life? Great! Nothing like a little ill-advised sarcasm to get me to help users troubleshoot corner cases... Anyway, uploaded RL 2.2.4, should hit the LMS repo ~tomorrow. Good luck with the troubleshooting. For '*bug reports*' (https://github.com/AF-1/), *FAQ* (if available) and more detailed information about my plugins, please see the '*GitHub*' (https://github.com/AF-1/) page or the *first post* in the support thread for a plugin. Please post *bug reports* for my plugins *only* on '*GitHub*' (https://github.com/AF-1/). Thank you. AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
AF1 wrote: > Will release *Ratings Light* version 2.2.*4* > Sorry for the short message, I don't have more time right now. welcome to the club! You have a real life? Great! Thank you for your support. Still great to get feedback from you (that fast) my plugins: Accuradio LMSdbopt SettingsManager AlternativePlayCount MaterialSkin SongInfo ARDAudiothek MusicArtistInfo SongLyrics BookmarkHistory MusicInfoSCR SQLiteVirtualLibraries CastBridge PlayHistory SQLPlayList CommunityFirmware PowerSave SqueezeCLIHandler CustomBrowse RadioFavourites SugarCube CustomScan RadioNet UPnPBridge DatabaseQuery RadioNowPlaying UseCommentTagInfo DynamicPlaylists3 RadioParadise VisualStatistics IgnoreDirREManager RaopBridge VolumeLock LastMix RatingsLight LicenseManagerPlugin Reliable Best regards mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Will release *Ratings Light* version 2.2.*4* soon when I've had time to do the usual pre-release tests. 2.2.4 has more log messages that should help troubleshooting. About SQLPlayList: just continue using it, should be fine. Hopefully, by the time it doesn't work anymore, -Dynamic Playlist Creator- will have exited the beta p to take over. I see that you still have the -SongInfo- plugin installed that throws a lot of errors. Maybe you could post a complete list of your installed plugins. Sorry for the short message, I don't have more time right now. For '*bug reports*' (https://github.com/AF-1/), *FAQ* (if available) and more detailed information about my plugins, please see the '*GitHub*' (https://github.com/AF-1/) page or the *first post* in the support thread for a plugin. Please post *bug reports* for my plugins *only* on '*GitHub*' (https://github.com/AF-1/). Thank you. AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Now after "not sticking" with material, i was going to default skin. log: 22-10-24 16:54:20.2199] Plugins::RatingsLight::Plugin::objectInfoHandler (1070) objectType = album ## url = 'db:album.title=...Nothing%20Like%20The%20Sun%20(Expanded%20Edition)=Sting' [22-10-24 16:54:20.2203] Plugins::RatingsLight::Plugin::getRatedTracks (965) objectType = album ## countOnly = 1 ## trackID = 0 ## thisID = 5231 [22-10-24 16:54:20.2209] Plugins::RatingsLight::Plugin::getRatedTracks (1059) Pre-check found 0 rated tracks for album with ID: 5231 [22-10-24 16:54:30.6025] Plugins::RatingsLight::Plugin::objectInfoHandler (1070) objectType = trackArtist ## url = 'file:///mnt/music/Sting/...Nothing%20Like%20The%20Sun%20(Expanded%20Edition)/05%20-%20They%20Dance%20Alone%20(Gueca%20Solo).flac' [22-10-24 16:54:30.6050] Plugins::RatingsLight::Plugin::getRatedTracks (965) objectType = artist ## countOnly = 1 ## trackID = 66498 ## thisID = 40 [22-10-24 16:54:30.6067] Plugins::RatingsLight::Plugin::getRatedTracks (1059) Pre-check found 55 rated tracks for artist with ID: 40 [22-10-24 16:54:30.6069] Plugins::RatingsLight::Plugin::VFD_ratedtracks (881) objectType = artist ## thisID = 40 ## trackID = 66498 [22-10-24 16:54:30.6071] Plugins::RatingsLight::Plugin::getRatedTracks (965) objectType = artist ## countOnly = 0 ## trackID = 66498 ## thisID = 40 [22-10-24 16:54:30.6659] Plugins::RatingsLight::Plugin::getRatedTracks (1062) Fetched 55 rated tracks for artist with ID: 40 [22-10-24 16:54:30.7104] Plugins::RatingsLight::Plugin::objectInfoHandler (1070) objectType = trackAlbum ## url = 'file:///mnt/music/Sting/...Nothing%20Like%20The%20Sun%20(Expanded%20Edition)/05%20-%20They%20Dance%20Alone%20(Gueca%20Solo).flac' [22-10-24 16:54:30.7111] Plugins::RatingsLight::Plugin::getRatedTracks (965) objectType = album ## countOnly = 1 ## trackID = 66498 ## thisID = 5231 [22-10-24 16:54:30.7115] Plugins::RatingsLight::Plugin::getRatedTracks (1059) Pre-check found 0 rated tracks for album with ID: 5231 [22-10-24 16:54:30.7217] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7215] Use of uninitialized value $moduleId in hash element at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 334. [22-10-24 16:54:30.7219] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7218] Use of uninitialized value $moduleId in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:54:30.7220] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7219] Use of uninitialized value in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:54:30.7221] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7221] Use of uninitialized value in string eq at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 369. [22-10-24 16:54:30.7222] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7222] Use of uninitialized value in string eq at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 384. [22-10-24 16:54:30.7226] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7225] Use of uninitialized value $moduleId in hash element at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 334. [22-10-24 16:54:30.7227] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7226] Use of uninitialized value $moduleId in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:54:30.7228] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7227] Use of uninitialized value in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:54:30.7229] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7228] Use of uninitialized value in string eq at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 369. [22-10-24 16:54:30.7230] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7229] Use of uninitialized value in string eq at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 384. [22-10-24 16:54:30.7233] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7232] Use of uninitialized value $moduleId in hash element at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 334. [22-10-24 16:54:30.7234] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7233] Use of uninitialized value $moduleId in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:54:30.7235] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7234] Use of uninitialized value in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:54:30.7236] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7235] Use of uninitialized value in string eq at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 369. [22-10-24 16:54:30.7237] Slim::Utils::Misc::msg (1325) Warning: [16:54:30.7236] Use of uninitialized value in string eq at
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
so two things 1.) your reply to SQLPlaylist isn't clear to me >That command = deprecated. SQLPlayList had code for playback logic (Dynamic Playlist Creator doesn't) and is therefore affected. Had >to happen sooner or later. which means? Plugin SQLPlaylist NEEDS to be disabled? 2.) i was going not exactly the same route of your very good troubleshooting guide, because, i was just not sure if i will find another "not stick setting" song, so i started with the above mentioned culprit and NO not moved, just "sorted into" the library, brand new, played and listened yesterday. here is the debug log: [22-10-24 16:37:08.2953] Plugins::RatingsLight::Plugin::objectInfoHandler (1070) objectType = trackArtist ## url = 'file:///mnt/music/Sting/...Nothing%20Like%20The%20Sun%20(Expanded%20Edition)/05%20-%20They%20Dance%20Alone%20(Gueca%20Solo).flac' [22-10-24 16:37:08.2975] Plugins::RatingsLight::Plugin::getRatedTracks (965) objectType = artist ## countOnly = 1 ## trackID = 66498 ## thisID = 40 [22-10-24 16:37:08.2999] Plugins::RatingsLight::Plugin::getRatedTracks (1059) Pre-check found 55 rated tracks for artist with ID: 40 [22-10-24 16:37:08.3001] Plugins::RatingsLight::Plugin::objectInfoHandler (1070) objectType = trackAlbum ## url = 'file:///mnt/music/Sting/...Nothing%20Like%20The%20Sun%20(Expanded%20Edition)/05%20-%20They%20Dance%20Alone%20(Gueca%20Solo).flac' [22-10-24 16:37:08.3011] Plugins::RatingsLight::Plugin::getRatedTracks (965) objectType = album ## countOnly = 1 ## trackID = 66498 ## thisID = 5231 [22-10-24 16:37:08.3015] Plugins::RatingsLight::Plugin::getRatedTracks (1059) Pre-check found 0 rated tracks for album with ID: 5231 [22-10-24 16:37:08.3150] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3148] Use of uninitialized value $moduleId in hash element at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 334. [22-10-24 16:37:08.3151] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3150] Use of uninitialized value $moduleId in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:37:08.3152] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3152] Use of uninitialized value in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:37:08.3156] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3155] Use of uninitialized value $moduleId in hash element at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 334. [22-10-24 16:37:08.3157] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3157] Use of uninitialized value $moduleId in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:37:08.3159] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3158] Use of uninitialized value in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:37:08.3163] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3161] Use of uninitialized value $moduleId in hash element at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 334. [22-10-24 16:37:08.3164] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3163] Use of uninitialized value $moduleId in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:37:08.3165] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3164] Use of uninitialized value in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:37:08.3169] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3168] Use of uninitialized value $moduleId in hash element at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 334. [22-10-24 16:37:08.3170] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3169] Use of uninitialized value $moduleId in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:37:08.3171] Slim::Utils::Misc::msg (1325) Warning: [16:37:08.3170] Use of uninitialized value in concatenation (.) or string at /config/cache/InstalledPlugins/Plugins/SongInfo/Plugin.pm line 335. [22-10-24 16:37:16.4742] Plugins::RatingsLight::Plugin::setRating (324) request params = {'_incremental' => undef,'_rating' => '100','_trackid' => '66498'} [22-10-24 16:37:16.4750] Plugins::RatingsLight::Plugin::ratingValidator (2994) rating = 100 -- ratingScale = 'percent' [22-10-24 16:37:16.4832] Plugins::RatingsLight::Plugin::addToRecentlyRatedPlaylist (2267) playlistid = 106928 [22-10-24 16:37:16.6569] Plugins::RatingsLight::Plugin::refreshTitleFormats (2936) refreshing title formats [22-10-24 16:37:17.4498] Plugins::RatingsLight::Plugin::refreshVirtualLibraries (2100) Refreshing virtual libraries completed after 0.792553901672363 seconds. [22-10-24 16:37:17.5183] Plugins::RatingsLight::Plugin::objectInfoHandler (1070) objectType = trackArtist ## url =
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Sorry, don't have much time today. Will be back next weekend. Until then... nyindieguy wrote: > I'm having an issue with DPL that has been happening intermittently > going all the way back to when I was using Erland's original version. I > set up the parameters of DPL and hit play, and the playlist just plays > the first 15 songs and then stops. If I start again with the same > parameters, it keeps playing beyond the first 15 songs and lasts pretty > much forever (big collection). This behavior doesn't happen every time, > but it happens often enough that I always have to monitor closely until > I get beyond 15 songs, and if it does, I know I can leave it alone to > keep playing. It doesn't seem to matter what playlist I use or what > parameters I use. I happens with the built-in DPL3 playlists as well as > the ones I created with SQL Playlist. Any thoughts about what might > cause such behavior? Sounds like a corner case. Assuming you're using the default preference values for *max.* number of *un*played songs (15) and *min.* number of *un*played songs (5), set the *log level* for DPL3 to *Info*. The next time when it stops too soon, check the log for relevant messages. If that doesn't give you anything conclusive, set the log level of DPL3 to *Debug*. Then check again when it stops too soon. Without meaningful log messages, it's impossible to tell why this is happening. But please don't post -huge- logs here (use the CODE tags), only the messages from immediately before it happened (see timestamps). mamema wrote: > [22-10-11 20:14:55.6204] Slim::Utils::Misc::msg (1325) Warning: > [20:14:55.6202] SQLPlayList: Error getting current playlist from > DynamicPlayList plugin: Undefined subroutine > ::DynamicPlayList::Plugin::getCurrentPlayList called at > /config/cache/InstalledPlugins/Plugins/SQLPlayList/Plugin.pm line 377. Ignore. That's just for displaying the currently playing dpl in SQLPlayList. Doesn't work anymore. mamema wrote: > [22-10-11 20:15:37.2508] Slim::Player::Playlist::song (56) The use of > Slim::Player::Playlist::song() is deprecated, use > Slim::Player::Playlist::track() instead That command = deprecated. SQLPlayList had code for playback logic (Dynamic Playlist Creator doesn't) and is therefore affected. Had to happen sooner or later. mamema wrote: > of course i use several automated tag solutions from several sources > like discogs, musicbrainz etc. and write to the tag information of the > flac file itself because of that, i also use CustomScan from erland, to > get MORE out of this tagging. > > So honestly, i do not know, if the customscan plugin is interfering with > your plugin on the db side I think CustomScan had a rating tag module that pulled rating values from user-specified tags. It then committed those rating values to its own database table *and then to the LMS database*. So if you used CustomScan and the CustomScan auto-refresh (after a LMS rescan/restart), it would always replace the rating values in the LMS database with values it had pulled from the tracks' rating tag(s). That's one possible cause for unwanted rating changes after an LMS rescan / restart. Not sure how relevant it is in your case. mamema wrote: > Validation: rated in Material 5 Star - Default Skin outcome: LMS 100, > and (end user unclear) a 5 star (shown as stars), is this Ratings > Light? > > another song, also flac, never rated, i've rated with 5 stars in > Material, IT EVEN DOESN'T STICK in Material, even though it shows the > "end user message" "*" at the top of material after rating. > Of course i've ckecked default skin afterwards, nothing there So the plugins seem to work as expected. The only question remaining is why the rating value isn't committed to the LMS database for some tracks. Are they dead/moved tracks perhaps (= invalid file url = database problem)? RL will not rate invalid tracks (for good reason). Try this: open 3 browser tabs - one with LMS *player* (-default skin-), one with LMS *settings*, one with LMS *server log*. Then in the LMS -player- tab find a track for which the rating "doesn't stick". Rate it with the default skin, reload the tab and confirm the rating didn't stick. Now, in tab 2 (-settings-) set the log level for Ratings Light to *debug*, switch to tab 1 (default skin player) and try to rate the track again. Then go to tab 3 (server log) and check for relevant log entries. Good luck. For '*bug reports*' (https://github.com/AF-1/), *FAQ* (if available) and more detailed information about my plugins, please see the '*GitHub*' (https://github.com/AF-1/) page or the *first post* in the support thread for a plugin. Please post *bug reports* for my plugins *only* on '*GitHub*' (https://github.com/AF-1/). Thank you. AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
First: I have the feeling, you as the dev deserves good base data, so you are able to differentiate between "noise" of a end user and an issue You've mentioned "deal with rating action" - i have (since a long time) these in the logs: [22-10-11 20:14:55.6204] Slim::Utils::Misc::msg (1325) Warning: [20:14:55.6202] SQLPlayList: Error getting current playlist from DynamicPlayList plugin: Undefined subroutine ::DynamicPlayList::Plugin::getCurrentPlayList called at /config/cache/InstalledPlugins/Plugins/SQLPlayList/Plugin.pm line 377. and these [22-10-11 20:15:37.2508] Slim::Player::Playlist::song (56) The use of Slim::Player::Playlist::song() is deprecated, use Slim::Player::Playlist::track() instead of course i use several automated tag solutions from several sources like discogs, musicbrainz etc. and write to the tag information of the flac file itself because of that, i also use CustomScan from erland, to get MORE out of this tagging. I have these [22-10-12 01:03:55.6060] Plugins::CustomScan::Scanner::fullRescan (710) Starting scanning with Rating Tag what i also have is this [22-10-18 01:09:17.7669] Plugins::CustomScan::Scanner::initTrackScan (1338) Clearing track data for ratingtag So honestly, i do not know, if the customscan plugin is interfering with your plugin on the db side .but, those ratings are done from "John Doe" or "Mr. Smith". After discovering DPL3, i just want to rely on my own tagging with DPL3 and Ratings Light. I'm just not there yet. ...but also i have those messages in the logs "Rating 3.5 is invalid" or such, which is in the logs since years, which i've read about (from Michael Herger?) he said something along the lines: don't care. Perhaps it's discogs stuff which "I DON'T CARE" if the above explanations are "just shut up - user stuff", ignore it Second: your "do this" explanations 1.) RATINGS - use never rated song, rate via material, no playpack, check via default skin Validation: rated in Material 5 Star - Default Skin outcome: LMS 100, and (end user unclear) a 5 star (shown as stars), is this Ratings Light? VERY INTERESTING - I WANT TO STOP HERE AND DISCUSS FIRST!!! another song, also flac, never rated, i've rated with 5 stars in Material, IT EVEN DOESN'T STICK in Material, even though it shows the "end user message" "*" at the top of material after rating. Of course i've ckecked default skin afterwards, nothing there Huuh! THAT! Problem found? mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
I'm having an issue with DPL that has been happening intermittently going all the way back to when I was using Erland's original version. I set up the parameters of DPL and hit play, and the playlist just plays the first 15 songs and then stops. If I start again with the same parameters, it keeps playing beyond the first 15 songs and lasts pretty much forever (big collection). This behavior doesn't happen every time, but it happens often enough that I always have to monitor closely until I get beyond 15 songs, and if it does, I know I can leave it alone to keep playing. It doesn't seem to matter what playlist I use or what parameters I use. I happens with the built-in DPL3 playlists as well as the ones I created with SQL Playlist. Any thoughts about what might cause such behavior? Much appreciated, as usual. nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
thank you for this extensive explanation, will go through it, great, really appreciated mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
mamema wrote: > big issues: > - even though i select a song, which comes up after 1.) but shouldn't > because != 5 Star and i decrease the rating half star or even "unrated" > via right click context menu, THIS DAMN SONG IS COMING BACK EVERY TIME > - even though i rate a song with top 5 star rating with Material skin > buttom right, or context menu, THIS DAMN SONG never appears with 1.) We have: - rating action - display of ratings (in Material) - dynamic playlist You'll have to deal with these in that order. Unless you've confirmed that the rating was properly committed to the LMS database and eliminated this as a possible cause, you won't get any closer to finding a solution. ## *RATINGS* ## # *SETTING* TRACK RATINGS Let's first, once and for all, check if ratings are properly committed to your LMS database: - stop all playback - take a track you've -never- rated before, rate it 5 stars using Material Skin. Then go to the *default LMS skin*, *not* Material and click through to the *song info* view for this track. You should have *2* rating values there: one provided by Ratings Light (5 stars) and another one (further below) displaying the raw LMS database value (100). Does they have the new track rating (5 stars and 100 respectively)? - Then decrease the rating for this very *same* song to *1* star using Material. Then go to the *default LMS skin*, *not* Material and click through to the *song info* view for this track. You should have *2* rating values there: one by Ratings Light (1 star) and another one (further below) displaying the raw LMS database value (20). Does you see the *new* track rating (1 star and 20 respectively)? NOW, CAN YOU CONFIRM THAT THESE RATING WERE PROPERLY WRITTEN TO THE LMS DATABASE, AFTER EACH RATING CHANGE? If not, repeat the whole process but this time use the *LMS default skin[B], not Material to set the track rating (use a different track). # [B]DISPLAY* OF RATINGS First, it may take a short moment before the new rating is displayed in Material or the LMS default skin because the client display caches are emptied and updated on all clients. And the LMS default skin only refreshes every 5(?) seconds or so. Material uses Ratings Light only to commit rating values to the LMS database (unless that's changed and Material uses its own logic for setting ratings now). Material gets rating values directly from LMS. And the UI / display of ratings (except the Ratings Light context menu item) is handled by Material. But AFAIC no problems there. ## *DPL* ## I'm a bit confused here. Where did you find the "choose *max.* rating list"? I don't think there's a built-in dynamic playlist with that name. Maybe post the *complete* name. I only see "Songs - RATED (choose *minimum* rating)" and "Songs - RATED (choose *exact* rating)". Or is it a *custom* dynamic playlist that you've created? If so, did you use -Dynamic Playlist Creator- to create it or did you write the SQLite code yourself? In that case, you'd have to *post the sqlite code here* so I know what we're talking about. mamema wrote: > small issue > - only about 15 songs are listed (with play all /add all from DPL3) even > though i have much more top rated songs. > is this by design, or a limitation, which i have to configure? > 15 is the -default- max. number of *un*played tracks that DPL3 will *add* if you start a dynamic playlist, *not* the total number of tracks matching your parameters. You can change that in the DPL3 settings. See description of that preference in DPL3 settings. The idea of DPL3 is not to add *all* tracks that match your parameters *at once* but to add them in *batches* (batch size determined by the "number of unplayed songs" setting). See GitHub and FAQ for details. What if you had 12000 tracks matching your parameters? With a playlist of that size you'd run into problems sooner or later - performance on less capable players etc. mamema wrote: > > - could be because of rescan? > - i have never DELETED the db cache files (helped earlier back in > time) after switching to DPL3 > - i had used erlands plugins (trackstat and dynamic playlist) and still > use: > - custom browse > - custom scan > - database query > > but NO unsupported plugins > > i have no clear picture of the issue and no clear log errors, what do > you think? > > i'm just unsure if i can disable some of my plugins for testing, or > delete db files physically because of fear to break my environment which > was build over several years.. - A *delete*/wipe rescan usually *solves* problems. It shouldn't create major issues. Have you done a delete/wipe rescan recently? - The db cache files shouldn't matter. They're only used by the plugins who created them. And if you've uninstalled them, there's no harm in keeping them if you wanted to go back to Erland's plugin. Same for preference files. - Unless someone's taken over, I think CustomBrowse and CustomScan are *un*supported. Just to be clear:
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
AF1 wrote: > Since users have different ideas about which rating(s) should be > considered -top,- the (min.) top rating value can be adjusted in the > plugin settings. Same with -Ratings Light-. BTW if you want to > browse/list rated tracks, there's a setting (disabled by default) in the > RL settings (-menus- section) for creating browse menus. If all you want > to do is -play- songs with a specific rating, one of the built-in > dynamic playlists might do the job: -Songs - RATED (choose *minimum* > rating)- or -Songs - RATED (choose *exact* rating)-. > > > That shouldn't happen. And it doesn't on my test system. Once a track > has been given a 1 star rating, it should no longer appear in tracks > that are -subsequently- added or when you restart the dynamic playlist. > DPL3 puts a query to the LMS database to get all tracks rated x stars > and then plays the results. The SQLite statement is pretty simple so > there's little room for errors there. Maybe check if the track was > properly rated as 1 star using the track's context menu afterwards. And > then there might be database inconsistencies (2 entries for 1 track, > maybe mp3 tag related...). Anyway, I can't reproduce that here. Sorry. > If you find conclusive evidence that it's a DPL bug, please post a bug > report on Github. Thank you. yes, no :-) your plugin is great and i've discovered your recommendation already (choose min rating) from above. I've also modified the rating numbers (5 max eg 100) but i've still have some odd situations, perhaps it is caused by my "erland plugin life" since the beginning:-) I'll try to explain, because honestly i'm lost 1.) sql "choose max rating list" from DPL3 is working (partly) 2.) i can rate songs with rating lights enabled via material skin (bottom right stars) and context menu right click so "should" work what i get big issues: - even though i select a song, which comes up after 1.) but shouldn't because != 5 Star and i decrease the rating half star or even "unrated" via right click context menu, THIS DAMN SONG IS COMING BACK EVERY TIME - even though i rate a song with top 5 star rating with Material skin buttom right, or context menu, THIS DAMN SONG never appears with 1.) small issue - only about 15 songs are listed (with play all /add all from DPL3) even though i have much more top rated songs. is this by design, or a limitation, which i have to configure? ...as you are the guy providing such great plugins, to step into the gap which has been there since erland left the party, i'm just asking for hints here. my (end user) assumption. - could be because of rescan? - i have never DELETED the db cache files (helped earlier back in time) after switching to DPL3 - i had used erlands plugins (trackstat and dynamic playlist) and still use: - custom browse - custom scan - database query but NO unsupported plugins i have no clear picture of the issue and no clear log errors, what do you think? i'm just unsure if i can disable some of my plugins for testing, because of fear to break my environment which was build over several years.. what would you do? Thank you for your advice. mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
I h a v e u p d a t e d t h e l i n k s a n d i n f o r m a t i o n i n t h e ' * _ f i r s t _ p o s t _ * ' ( h t t p s : / / f o r u m s . s l i m d e v i c e s . c o m / s h o w t h r e a d . p h p ? 1 1 5 0 7 3 - A n n o u n c e - D y n a m i c - P l a y l i s t s - 3 - ( m o d ) ) . Please post *bug reports* for my plugins *only* on '*GitHub*' (https://github.com/AF-1/). There you can also find the *FAQ* (if available) and more detailed information about each plugin. Thank you. I've updated the information and links in the * first post* of all support threads. AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
mamema wrote: > "Top Rated" playlist in DPLv3, my expectation is "play only 5 star > ratings" Since users have different ideas about which rating(s) should be considered -top,- the (min.) top rating value can be adjusted in the plugin settings. Same with -Ratings Light-. BTW if you want to browse/list rated tracks, there's a setting (disabled by default) in the RL settings (-menus- section) for creating browse menus. If all you want to do is -play- songs with a specific rating, one of the built-in dynamic playlists might do the job: -Songs - RATED (choose *minimum* rating)- or -Songs - RATED (choose *exact* rating)-. mamema wrote: > when i modify a rating from 5 star to 1 star, which is working according > to the ratings log, those songs reappear in the standard build in "top > rated dynamic playlist". > why is that? That shouldn't happen. And it doesn't on my test system. Once a track has been given a 1 star rating, it should no longer appear in tracks that are -subsequently- added or when you restart the dynamic playlist. DPL3 puts a query to the LMS database to get all tracks rated x stars and then plays the results. The SQLite statement is pretty simple so there's little room for errors there. Maybe check if the track was properly rated as 1 star using the track's context menu afterwards. And then there might be database inconsistencies (2 entries for 1 track, maybe mp3 tag related...). Anyway, I can't reproduce that here. Sorry. If you find conclusive evidence that it's a DPL bug, please post a bug report on Github. Thank you. Please post *bug reports* for my plugins *only* on '*GitHub*' (https://github.com/AF-1/). There you can also find the *FAQ* (if available) and more detailed information about each plugin. Thank you. I've updated the information and links in the * first post* of all support threads. AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
sorry to be a "bit late" to the party of DPL3. I am/was a longterm user of erlands great plugins and just have made the decision to jump ship to Ratings Light and DPLv3. Trackstat plugin and prefs are removed. DB was gone through a full rescan. i admit i'm not a the point to understand everything of those (also) great plugins from AF. I just have a basic need: - Rate music via material skin (give five stars) with browser on ipad/pc (works according to Ratings Log file) - Play those rated files via DPL3 (not started with custom SQL yet) the DPL part is some kind of "wacky" for my old brain to understand. "Top Rated" playlist in DPLv3, my expectation is "play only 5 star ratings" when i modify a rating from 5 star to 1 star, which is working according to the ratings log, those songs reappear in the standard build in "top rated dynamic playlist". why is that? mamema's Profile: http://forums.slimdevices.com/member.php?userid=44662 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
AF1 wrote: > Regression? That's a bit annoying, especially considering that adding > dynamic playlists *with* (user-input) parameters to favs *wasn't even > possible* with Erland's DPL. Yes, it's always been possible to add > dynamic playlists *without* user-input parameters to favs, i.e. dynamic > playlists that *don't* ask questions when you start them. And of course, > these favs wouldn't be affected by any rescan because their urls contain > no user-input parameters. And that hasn't changed with DPL3, not one > bit. Adding dynamic playlists *with* (user-input) parameters to favs was > an experimental feature that came later with DPL*3*. So... having a hard > time to see the alleged regression here. > If you want genres, artists or albums to stick across rescans, you name > them in your SQLite statement of your custom dynamic playlist which you > then add to LMS favs. Those favs will always survive rescans (their > *url* contains no parameters) as long as you don't change the file name > or extension. Same as in DPL2. > Maybe it's better if I disable adding dynamic playlists *with* (user > input) parameters to favs by default in the next update to avoid > confusion and support problems. Then it will be like DPL2: you can only > save dynamic playlists *without* user input parameters by default. > I hope that will make it easier. My apologies for the slight. It was not deserved. I believe I was able to save in a favourite folder in Erland's DP playlists customised by genre,year and possibly trackstat rating(it was not in the main favourite folder but rather in a separate favourite folder under the original DP. I still have those old playlists on my system but because I am no longer using MultiLibrary but rather Library views they will not work with DPL3 to my knowledge. My knowledge of how to edit the playlists is limited not by your fine work but my own lack of understanding of SQL language Version: 8.3.0 - 1655802730 @ Tue 21 Jun 2022 11:24:25 AM CEST Operating system: Debian - EN - utf8 Platform Architecture: x86_64-linux Perl Version: 5.30.0 - x86_64-linux-gnu-thread-multi IO::Socket::SSL: 2.067 Database Version: DBD::SQLite 1.58 (sqlite 3.22.0) One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm 4.1 speakers One wireless SB Touch connected by Optical to Sabaj A4 amp and Energy bookshelf speakers Two SB Radios wireless SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
SlimChances wrote: > it seems a bit of a regression from Erlands DP which survived clear > library rescans Regression? That's a bit annoying, especially considering that adding dynamic playlists *with* (user-input) parameters to favs *wasn't even possible* with Erland's DPL. Yes, it's always been possible to add dynamic playlists *without* user-input parameters to favs, i.e. dynamic playlists that *don't* ask questions when you start them. And of course, these favs wouldn't be affected by any rescan because their urls contain no user-input parameters. And that hasn't changed with DPL3, not one bit. Adding dynamic playlists *with* (user-input) parameters to favs was an experimental feature that came later with DPL*3*. So... having a hard time to see the alleged regression here. If you want genres, artists or albums to stick across rescans, you name them in your SQLite statement of your custom dynamic playlist which you then add to LMS favs. Those favs will always survive rescans (their *url* contains no parameters) as long as you don't change the file name or extension. Same as in DPL2. Maybe it's better if I disable adding dynamic playlists *with* (user input) parameters to favs by default in the next update to avoid confusion and support problems. Then it will be like DPL2: you can only save dynamic playlists *without* user input parameters by default. I hope that will make it easier. 'Ratings Light FAQ' (https://github.com/AF-1/lms-ratingslight) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) '*List of all plugins*' (https://github.com/AF-1/) AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Thanks I see the edit in favourites both in Material and Default skins but I do not know how to modify it to find the genres I specified originally. It's not too much bother to recreate a new DPL from the DPL3 selection but it seems a bit of a regression from Erlands DP which survived clear library rescans. I guess most people don't scan that way other than infrequently Version: 8.3.0 - 1655802730 @ Tue 21 Jun 2022 11:24:25 AM CEST Operating system: Debian - EN - utf8 Platform Architecture: x86_64-linux Perl Version: 5.30.0 - x86_64-linux-gnu-thread-multi IO::Socket::SSL: 2.067 Database Version: DBD::SQLite 1.58 (sqlite 3.22.0) One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm 4.1 speakers One wireless SB Touch connected by Optical to Sabaj A4 amp and Energy bookshelf speakers Two SB Radios wireless SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
SlimChances wrote: > I have created a favourite and as the FAQ section explains it will > survive a rescan but a scan/clear library will not work if the DPL > favourite has for example specific genres delimited. While I see the > favourite listed it no longer functions after a rescan/clear library and > I am not sure how I go about editing it as I don't know where the sql > file is. It is not in the DPL-custom-lists folder anywhere. It is an old > habit I guess but I always do a scan/clear library as I have found a > scan will not list my MusicIp files correctly Hi. LMS provides the favorites framework and stores favs in a file called -favorites.opml-. But there's no need to edit them in that file, you can do so in the default skin: click the edit button next to Favorites and then again next to the fav you want to edit. Favorites saved by DPL3 basically follow the same pattern as the URLs you know, just a different protocol at the beginning: -dynamicplaylist://- instead of -http://-, followed by the dynamicplaylistid (part of which is the filename) + parameters, if applicable. Rescanning only invalidates favs if a dynamic playlist contains certain -user-input- parameters, i.e. it asks you for input (e.g. select genres) -when you start- the dynamic playlist. And that applies only to input parameters like artist/contributor IDs, album IDs, genre IDs playlist IDs. The fav url does not contain the name of artists, albums or genres but their database IDs. Otherwise you could end up with a monstrously long url and run into encoding problems. So the easiest and quickest way to restore such a fav is to -delete and readd- it. If your dynamic playlist does -not- contain user-input parameters, check if it is listed in DPL3's menu. Maybe you changed the filename? Or it has the wrong file extension (see the post before yours)? Should be filename*.sql* I hope that was helpful. Good luck. 'Ratings Light FAQ' (https://github.com/AF-1/lms-ratingslight) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) '*List of all plugins*' (https://github.com/AF-1/) AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
I have created a favourite and as the FAQ section explains it will survive a rescan but a scan/delete will not work if the DPL favourite has for example specific genres delimited. While I see the favourite listed it no longer functions after a rescan/delete and I am not sure how I go about editing it as I don't know where the sql file is. It is not in the DPL-custom-lists folder anywhere. It is an old habit I guess but I always do a scan/delete as I have found a scan will not list my MusicIp files correctly Version: 8.3.0 - 1655802730 @ Tue 21 Jun 2022 11:24:25 AM CEST Operating system: Debian - EN - utf8 Platform Architecture: x86_64-linux Perl Version: 5.30.0 - x86_64-linux-gnu-thread-multi IO::Socket::SSL: 2.067 Database Version: DBD::SQLite 1.58 (sqlite 3.22.0) One SB Touch connected by Ethernet - Denon AVR -1912 Receiver, Paradigm 4.1 speakers One wireless SB Touch connected by Optical to Sabaj A4 amp and Energy bookshelf speakers Two SB Radios wireless SlimChances's Profile: http://forums.slimdevices.com/member.php?userid=165 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
AF1 wrote: > *IMPORTANT: DROPPING LEGACY FILE EXTENSION* > > IF YOU HAVE CREATED YOUR OWN -CUSTOM- DYNAMIC PLAYLISTS[/B], PLEASE MAKE > SURE THEIR *FILE NAMES HAVE THE CORRECT EXTENSION: -.SQL- > > The legacy extension [B].xml.sql* will no longer be supported in future > DPL3 versions (3.6.10+). > > Just remove the *.xml* part so that the file extension is only "*.sql*". > That's it. Thanks for your understanding. Just a quick clarification. When I look at custom lists in my setup, they all seemed to be named as follows: *.sql.values.xml Do I remove the sql and also the values? nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
I 've been using the new versions of DPL and Custom skip for months and really enjoying the new functionality. In particular, I've been loving the built-in playlist that allows you pick random songs with multiple selected genres and also select a decade. My only question is whether Custom Skip can be applied to a built-in list. I have a secondary filter that skips any songs I have placed in the playlist called "skip." For my custom playlists, I just apply that filter. Is there a way to also apply it to the built-in playlists? Thanks, as usual, for keeping this alive. nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
chaug wrote: > I thought I'd ask if there is a way of playing those playlists with DPL > too. If not, I'd suggest that these are not shown as static playlists in > DPL. Thanks for reading the FAQ. Static playlists are basically saved (youtube) URLs. Plugins like DPL3 need tracks to be part of the library (with trackid and all) for SQLite filtering/searching. Static playlists work with those plugins if their tracks / track URLs match tracks that are part of the LMS library. Since that's not the case for youtube urls they won't. And playlists with youtube tracks behave like normal saved/static playlists, they just have different URLs. Also, there could be playlists with mixed content (youtube urls and local files). So filtering for youtube playlists and hiding them wouldn't be very reliable if possible at all. So your best bet would be using the LMS shuffle button before starting those youtube playlists. Sorry. *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) AF1's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Great to see this plugin being maintained. Thanks a lot! I use the plugin especially for playing my playlists in random order (I believe it is the only way to play playlists in random order, including the first track). Some of my playlists consist of youtube tracks, though, and while I can select them as static playlists in DPL, they won't play (at least not in random mode) . I read about songs from online services only being integrated when they are part of an album, but since youtube isn't an integrated online music service, I thought I'd ask if there is a way of playing those playlists with DPL too. If not, I'd suggest that these are not shown as static playlists in DPL. *Server*: LMS 8.1.1 on an Ubuntu 18.04 virtual machine *Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms *Remote control apps*: Material Skin (Web UI), but also SqueezePad (iOS), Squeezecontroller (Android) *Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music, Custom Browse, Multi Library chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > No problem. When I find the time I'll do some more testing or maybe > somebody else will... So no ETA but soonish. I saw a Dynamic Playlists plugin update waiting in LMS last night. Very pleased to see it's the fix to list them alphabetically - many thanks! - Synology D218+ running LMS 8.1.1 in Docker container - 1 x Squeezebox Touch, 2 x Squeezebox Radios, 1 x Squeezebox Receiver, Squeeze Player & Squeeze Ctrl apps on Galaxy Tab S5e & Galaxy A40 - Raspberry Pi 4B 8GB (with 7" Touchscreen in case & Flirc USB IR dongle) & Pi 4B 8GB in Flirc case, both running piCorePlayer 8.0.0 & LMS 8.1.1, connecting over Wi-fi to DS218+, or LMS library copy on 2TB USB hard drive plugged into Pi when no Wi-fi available - LMS library of ALAC, ACC/M4A and MP3 files AndyTwizzle's Profile: http://forums.slimdevices.com/member.php?userid=53445 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > No problem. When I find the time I'll do some more testing or maybe > somebody else will... So no ETA but soonish. No problem. And thanks for your hard work on this plugin - my most used and favourite one! - Synology D218+ running LMS 8.1.1 in Docker container - 1 x Squeezebox Touch, 2 x Squeezebox Radios, 1 x Squeezebox Receiver, Squeeze Player & Squeeze Ctrl apps on Galaxy Tab S5e & Galaxy A40 - Raspberry Pi 4B 8GB (with 7" Touchscreen in case & Flirc USB IR dongle) & Pi 4B 8GB in Flirc case, both running piCorePlayer 8.0.0 & LMS 8.1.1, connecting over Wi-fi to DS218+, or LMS library copy on 2TB USB hard drive plugged into Pi when no Wi-fi available - LMS library of ALAC, ACC/M4A and MP3 files AndyTwizzle's Profile: http://forums.slimdevices.com/member.php?userid=53445 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
AndyTwizzle wrote: > I'm affraid I don't know how to manually install a plugin. Am using LMS > 8.1 on a Synology Diskstation in a Docker container, so not sure how > complicated that may be? No problem. When I find the time I'll do some more testing or maybe somebody else will... So no ETA but soonish. *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Hi, and thanks for the prompt reply and action! I'm affraid I don't know how to manually install a plugin. Am using LMS 8.1 on a Synology Diskstation in a Docker container, so not sure how complicated that may be? - Synology D218+ running LMS 8.1.1 in Docker container - 1 x Squeezebox Touch, 2 x Squeezebox Radios, 1 x Squeezebox Receiver, Squeeze Player & Squeeze Ctrl apps on Galaxy Tab S5e & Galaxy A40 - Raspberry Pi 4B 8GB (with 7" Touchscreen in case & Flirc USB IR dongle) & Pi 4B 8GB in Flirc case, both running piCorePlayer 8.0.0 & LMS 8.1.1, connecting over Wi-fi to DS218+, or LMS library copy on 2TB USB hard drive plugged into Pi when no Wi-fi available - LMS library of ALAC, ACC/M4A and MP3 files AndyTwizzle's Profile: http://forums.slimdevices.com/member.php?userid=53445 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
AndyTwizzle wrote: > Not sure if this is the appropriate thread to request changes to Dynamic > Playlists. If not, apologies - and can someone advise me on where/how to > make a change request please? > > In Logitech Media Server's web interface (and also the Squeeze Ctrl > Android app), the list of my Static Playlists and Favourites appears in > a jumbled, seemingly random order - making it hard to quickly locate the > one I'm after. I think the other playlist options > (Artists/Songs/Albums, etc.) also don't appear in alphabetical order. > I've included a couple of screenshots to illustrate. > > Can I request that in the next plugin update, this is changed to > alphabetical please? > > Thanks > > Andy Hi Andy. Thanks for bringing this to my attention. I could have sworn I had some alphabetical sorting (probably in some unreleased version though). It went undetected for so long because I don't use static playlists with DPL3 at all. In general dynamic playlists will always be listed in this order: 1. built-in 2. custom/user-provided 3. provided by other plugins. Within the last 2 groups they should be listed in alphabetical order. *Built-in* dynamic playlists are listed in a '*content-based*' order created by me. For example, I try to group dynamic playlists together that are about ratings, play count or genre/decade selection. This is unlikely to change. Don't forget you can always put your custom -dynamic- playlists in a custom playlist group just by adding the corresponding parameter (see wiki). Static playlists will be ordered alphabetically. I'll update the FAQ. So I've made some changes and uploaded them to the GitHub repo. If you know how to install the latest GitHub version of this plugin (manually) I'd appreciate you taking a look. Thanks. *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Not sure if this is the appropriate thread to request changes to Dynamic Playlists. If not, apologies - and can someone advise me on where/how to make a change request please? In Logitech Media Server's web interface (and also the Squeeze Ctrl Android app), the list of my Static Playlists and Favourites appears in a jumbled, seemingly random order - making it hard to quickly locate the one I'm after. I think the other playlist options (Artists/Songs/Albums, etc.) also don't appear in alphabetical order. I've included a couple of screenshots to illustrate. Can I request that in the next plugin update, this is changed to alphabetical please? Thanks Andy 36461 36462 +---+ |Filename: Dynamic Playlists - Favourites 2021-12-14 170120.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=36462| +---+ - Synology D218+ running LMS 8.1.1 in Docker container - 1 x Squeezebox Touch, 2 x Squeezebox Radios, 1 x Squeezebox Receiver, Squeeze Player & Squeeze Ctrl apps on Galaxy Tab S5e & Galaxy A40 - Raspberry Pi 4B 8GB (with 7" Touchscreen in case & Flirc USB IR dongle) & Pi 4B 8GB in Flirc case, both running piCorePlayer 8.0.0 & LMS 8.1.1, connecting over Wi-fi to DS218+, or LMS library copy on 2TB USB hard drive plugged into Pi when no Wi-fi available - LMS library of ALAC, ACC/M4A and MP3 files AndyTwizzle's Profile: http://forums.slimdevices.com/member.php?userid=53445 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
nyindieguy wrote: > I see that a new update was uploaded today. Can we hear more about what > was changed/fixed First place to check would be the '*GitHub release feed*' (https://github.com/AF-1/lms-dynamicplaylists/releases). 3.4 comes with some new features: - select *multiple genres*: the -Songs- group has some built-in dynamic playlists that already use this parameter. - Save *dynamic playlists -with user input- as LMS favorites*: using the LMS *Default* or *Classic* skin you can now save dynamic playlists that request user input as LMS favorites. - *Preselect artists/albums* for later use: preselect artists/albums from the context menu and use them later with any dynamic playlist that includes the corresponding playlist parameter. The *Song* group includes some examples. *Please check FAQ / wiki for more details.* *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
I see that a new update was uploaded today. Can we hear more about what was changed/fixed, and how it might affect any existing playlists? Thanks. nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
bernt wrote: > Another one. I want tracks from a specific album mixed with tracks from > a specific genre. > > I'm trying to learn SQL but I'm a slow learner, sorry! > > > Code: > > -- PlaylistName:Random from mixer > -- PlaylistGroups: > select tracks.url from tracks > left join dynamicplaylist_history on > tracks.id=dynamicplaylist_history.id and dynamicplaylist_history.client='PlaylistPlayer' > join albums on > tracks.album=albums.id and > albums.title='Absolute Music 88' > > join genre_track on > tracks.id=genre_track.track > join genres on > genres.id=genre_track.genre and > genres.name='Hits' > > > where > tracks.audio=1 > and dynamicplaylist_history.id is null > group by tracks.id > order by random() > limit 10; > > > I've started a '*separate thread dedicated to helping users with their custom dynamic playlists*' (https://forums.slimdevices.com/showthread.php?115501-Dynamic-Playlists-3-get-help-with-your-custom-playlists). *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Another one. I want tracks from a specific album mixed with tracks from a specific genre. I'm trying to learn SQL but I'm a slow learner, sorry! Code: -- PlaylistName:Random from mixer -- PlaylistGroups: select tracks.url from tracks left join dynamicplaylist_history on tracks.id=dynamicplaylist_history.id and dynamicplaylist_history.client='PlaylistPlayer' join albums on tracks.album=albums.id and albums.title='Absolute Music 88' join genre_track on tracks.id=genre_track.track join genres on genres.id=genre_track.genre and genres.name='Hits' where tracks.audio=1 and dynamicplaylist_history.id is null group by tracks.id order by random() limit 10; SB Touch optical to Hegel H90, Speakers Larsen 4.2 Spare SB3 AirPlay Bridge to Audio Pro A10 Squeezelite-x connected to home LMS with ZeroTier One. SB Radio ReadyNAS 202 iPeng bernt's Profile: http://forums.slimdevices.com/member.php?userid=1342 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
w3wilkes wrote: > Here's one I use for Christmas that was generated with SQL Playlists. > > > Code: > > -- PlaylistName:Christmas Random Playlist > -- PlaylistGroups: > select tracks.url from tracks > join genre_track on > tracks.id=genre_track.track > join genres on > genre_track.genre=genres.id > left join dynamicplaylist_history on > tracks.id=dynamicplaylist_history.id and dynamicplaylist_history.client='PlaylistPlayer' > where > audio=1 > and dynamicplaylist_history.id is null > and genres.name in ('Christmas') > group by tracks.id > order by random() > limit 10; > > Thank you! Saving this one. SB Touch optical to Hegel H90, Speakers Larsen 4.2 Spare SB3 AirPlay Bridge to Audio Pro A10 Squeezelite-x connected to home LMS with ZeroTier One. SB Radio ReadyNAS 202 iPeng bernt's Profile: http://forums.slimdevices.com/member.php?userid=1342 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > You want the track urls so you start with the tracks table. If you used > DPL to select the genre (user input parameter) then DPL would look up > the genre ID and therefore all the (built-in) dynamic playlist use the > genre_track table (which only matches genre IDs and track IDs). Since > you want to use the genre name you'll also need the genre table with the > names. > No guarantees - here's my version: > > > Code: > > -- PlaylistName:Jazz-Pop > -- PlaylistGroups:Soft > -- PlaylistCategory:songs > > select distinct tracks.url from tracks > join genre_track on > tracks.id = genre_track.track > join genres on > genre_track.genre = genres.id and genres.name like '%%Jazz%%' > left join dynamicplaylist_history on > dynamicplaylist_history.id=tracks.id and dynamicplaylist_history.client='PlaylistPlayer' > where > tracks.audio = 1 > and tracks.secs >= 'PlaylistTrackMinDuration' > and dynamicplaylist_history.id is null > group by tracks.id > order by random() > limit 'PlaylistLimit'; > > > Thanks! I gave up and installed SQL Playlist. SB Touch optical to Hegel H90, Speakers Larsen 4.2 Spare SB3 AirPlay Bridge to Audio Pro A10 Squeezelite-x connected to home LMS with ZeroTier One. SB Radio ReadyNAS 202 iPeng bernt's Profile: http://forums.slimdevices.com/member.php?userid=1342 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Here's one I use for Christmas that was generated with SQL Playlists. Code: -- PlaylistName:Christmas Random Playlist -- PlaylistGroups: select tracks.url from tracks join genre_track on tracks.id=genre_track.track join genres on genre_track.genre=genres.id left join dynamicplaylist_history on tracks.id=dynamicplaylist_history.id and dynamicplaylist_history.client='PlaylistPlayer' where audio=1 and dynamicplaylist_history.id is null and genres.name in ('Christmas') group by tracks.id order by random() limit 10; Main system - Rock Solid with LMS 8.2.0 on WHS 2011 - 2 Duets and Squeeseslave Cabin system - Rock solid with LMS 8.2.0 on Win10 Pro - 1 RPi 3 Model B/Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave Squeezebox Boom - "At Large" player around both home and cabin Headphones and car - Android phone/Bluetooth w/full library on MicroSD card - PowerAmp music player app (similar to Material Skin) w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
bernt wrote: > Hi! > > After a few hours of trail end error I reliased that I need help. I want > a one click random playlist from a specific genre. > > Here is a wild guess... You want the track urls so you start with the tracks table. If you used DPL to select the genre (user input parameter) then DPL would look up the genre ID and therefore all the (built-in) dynamic playlist use the genre_track table (which only matches genre IDs and track IDs). Since you want to use the genre name you'll also need the genre table with the names. No guarantees - here's my version: Code: -- PlaylistName:Jazz-Pop -- PlaylistGroups:Soft -- PlaylistCategory:songs select distinct tracks.url from tracks join genre_track on tracks.id = genre_track.track join genres on genre_track.genre = genres.id and genres.name like '%%Jazz%%' left join dynamicplaylist_history on dynamicplaylist_history.id=tracks.id and dynamicplaylist_history.client='PlaylistPlayer' where tracks.audio = 1 and tracks.secs >= 'PlaylistTrackMinDuration' and dynamicplaylist_history.id is null group by tracks.id order by random() limit 'PlaylistLimit'; *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Hi! After a few hours of trail end error I reliased that I need help. I want a one click random playlist from a specific genre. Here is a wild guess. Code: -- PlaylistName:Jazz-Pop -- PlaylistGroups:Soft -- PlaylistCategory:songs select genre_track.genre from genre_track join tracks on genre_track.track=tracks.id and genre.value like 'Jazz' join tracks_persistent on tracks_persistent.urlmd5 = tracks.urlmd5 left join dynamicplaylist_history on dynamicplaylist_history.id=tracks.id and dynamicplaylist_history.client='PlaylistPlayer' where audio=1 and tracks.secs >= 'PlaylistTrackMinDuration' and dynamicplaylist_history.id is null and case when 'PlaylistParameter1'=1 then (tracks_persistent.playCount = 0 or tracks_persistent.playCount is null) when 'PlaylistParameter1'=2 then tracks_persistent.playCount > 0 else 1 end order by random() limit 'PlaylistLimit'; SB Touch optical to Hegel H90, Speakers Larsen 4.2 Spare SB3 AirPlay Bridge to Audio Pro A10 Squeezelite-x connected to home LMS with ZeroTier One. SB Radio ReadyNAS 202 iPeng bernt's Profile: http://forums.slimdevices.com/member.php?userid=1342 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Ah okay, makes sense. I was trying to avoid blatting my Dynamic Playlist settings, as I use this for my morning alarm clock! I'll have a go on my next spare weekend. Cheers, Phil ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Philip Meyer wrote: > https://github.com/AF-1/lms-dynamicplaylists/blob/main/public.xml ? No, I meant *manual* install of the latest GitHub version for *testing* purposes (see GitHub page for instructions). It might not be 100% bug-free or stable but it includes all commits. Philip Meyer wrote: > I thought I read that it was necessary to uninstall DynamicPlaylist > plugin, but for testing if I could get my plugin to work with either > Erlands plugin or your updated version, is it safe to both installed? Users don't/shouldn't have more than one instance of DPL installed. For testing purposes, you could try but I don't recommend it. Not only because CLI commands, protocol handlers and such have identical names (to maintain backwards compatibility) but you might run into other unexpected problems and waste time researching/solving them. *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
>I've only had time to take a quick look but I think you'd have to change >the plugin name in your -isDynamicPlaylistActive- function from >-DynamicPlayList- to -DynamicPlaylists3- or check for both versions. >For testing please use the GitHub repo version. > https://github.com/AF-1/lms-dynamicplaylists/blob/main/public.xml ? I thought I read that it was necessary to uninstall DynamicPlaylist plugin, but for testing if I could get my plugin to work with either Erlands plugin or your updated version, is it safe to both installed? ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Philip Meyer wrote: > I was the author of a plugin called DynamicMix that used Dynamic > Playlists to play random music, selecting the next track using MusicIP. > I haven't looked at this new version of Dynamic Playlists yet - is this > likely to work without changes? I've only had time to take a quick look but I think you'd have to change the plugin name in your -isDynamicPlaylistActive- function from -DynamicPlayList- to -DynamicPlaylists3- or check for both versions. For testing please use the GitHub repo version. *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
>I've uploaded my modified version of *Dynamic Playlists* to github. I was the author of a plugin called DynamicMix that used Dynamic Playlists to play random music, selecting the next track using MusicIP. I haven't looked at this new version of Dynamic Playlists yet - is this likely to work without changes? ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > Unless you know how to manually install old GitHub commit versions, no. > > BTW I think the DPL error you mentioned is irrelevant. It just used to > display the currently playing dynamic playlist there. Doesn't seem to > affect any of SQLPlayList's main features: helping you create dynamic > playlists if you don't want to/know how to write SQLite code and making > these dynamic playlists available to DPL3. > CustomSkip is a different matter. Please read the CustomSkip FAQ again. > I've added a paragraph to address this problem. Got it. Thanks for making that change in SQL Playlist. That fixed everything. nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
nyindieguy wrote: > Is there any chance I get get access to the prior versions of your > plugins before the name change? Unless you know how to manually install old GitHub commit versions, no. BTW I think the DPL error you mentioned is irrelevant. It just used to display the currently playing dynamic playlist there. Doesn't seem to affect any of SQLPlayList's main features: helping you create dynamic playlists if you don't want to/know how to write SQLite code and making these dynamic playlists available to DPL3. CustomSkip is a different matter. Please read the CustomSkip FAQ again. I've added a paragraph to address this problem. *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > No, you didn't. What you are witnessing are some effects of the DPL3/CS3 > renaming on the SQLPlayList plugin. The SQLPlayList plugin code expects > the old names - which will obviously never come back. That's why I try > to minimize or avoid ties between plugins. Thank you for letting me > know. I'll revise the FAQ notes on SQLPlayList compatibility in the next > days. > > BTW the dropdown menu only ever existed in SQLPlayList but you probably > called SQLPlayList from DPL with the -edit- button (which just redirects > you to the SQLPlayList plugin). This redirect has probably led some > users to believe that DPL is involved in *creating* dynamic playlists. > But it -never- has been and -never will-, it just -plays- them. > Unless somebody else starts maintaining the SQPlayList plugin and > makes/keeps it compatible with DPL3 & CS3 this dropdown menu is gone. > > The good news is that you can still make DPL use CustomSkip filter sets > by adding a playlist parameter to the SQLite code. Save your playlist in > SQPlayList as -Customized SQL- and on the next screen *before* the > sqlite statement itself, where the playlist parameters are (starting > with --), add the playlist parameter for your customskip filter set as > explained in the '*DPL wiki*' > (https://github.com/AF-1/lms-dynamicplaylists/wiki/DPL-playlist-format#general-parameters) > in the paragraph below -Action/CLI parameters-. > > And, of course, the renaming opened up the possibility of sticking with > the old versions (2.x). If you need CustomSkip2 you'd have to make a > pull request to the LMS repo ('see Erland's post' > (https://forums.slimdevices.com/showthread.php?115073-Announce-Dynamic-Playlists-3-(mod)=1037619=1#post1037619)). Is there any chance I get get access to the prior versions of your plugins before the name change? Everything was working perfectly until I stupidly made the change. nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
nyindieguy wrote: > I just followed the directions to transition to the new (and properly > named) versions of DPL and Custom Skip. I'm having two issues that I > can't seem to fix. > > 1. When I click on SQL Playlist, I get the following error: "ERROR!!! > Cannot find DynamicPlayList plugin, please make sure you have installed > and enabled at least DynamicPlayList 1.3" > > 2. If I look at my custom playlists, either in SQL PLaylist or in DPL 3, > there is no longer the dropdown box for Custom Skip. > > Did I do something wrong? No, you didn't. What you are witnessing are some effects of the DPL3/CS3 renaming on the SQLPlayList plugin. The SQLPlayList plugin code expects the old names - which will obviously never come back. That's why I try to minimize or avoid ties between plugins. Thank you for letting me know. I'll revise the FAQ notes on SQLPlayList compatibility in the next days. BTW the dropdown menu only ever existed in SQLPlayList but you probably called SQLPlayList from DPL with the -edit- button (which just redirects you to the SQLPlayList plugin). This redirect has probably led some users to believe that DPL is involved in *creating* dynamic playlists. But it -never- has been and -never will-, it just -plays- them. Unless somebody else starts maintaining the SQPlayList plugin and makes/keeps it compatible with DPL3 & CS3 this dropdown menu is gone. The good news is that you can still make DPL use CustomSkip filter sets by adding a playlist parameter to the SQLite code. Save your playlist in SQPlayList as -Customized SQL- and on the next screen *before* the sqlite statement itself, where the playlist parameters are (starting with --), add the playlist parameter for your customskip filter set as explained in the '*DPL wiki*' (https://github.com/AF-1/lms-dynamicplaylists/wiki/DPL-playlist-format#general-parameters) in the paragraph below -Action/CLI parameters-. And, of course, the renaming opened up the possibility of sticking with the old versions (2.x). If you need CustomSkip2 you'd have to make a pull request to the LMS repo ('see Erland's post' (https://forums.slimdevices.com/showthread.php?115073-Announce-Dynamic-Playlists-3-(mod)=1037619=1#post1037619)). *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
I just followed the directions to transition to the new (and properly named) versions of DPL and Custom Skip. I'm having two issues that I can't seem to fix. 1. When I click on SQL Playlist, I get the following error: "ERROR!!! Cannot find DynamicPlayList plugin, please make sure you have installed and enabled at least DynamicPlayList 1.3" 2. If I look at my custom playlists, either in SQL PLaylist or in DPL 3, there is no longer the dropdown box for Custom Skip. Did I do something wrong? nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
w3wilkes wrote: > AF, any possibility of allowing us to rename "Not classified" in DPL3 to > "SQLPlaylists" so I can tell my wife where her playlists went? Thanks. -Not classified- in the DPL (home) menu is just a catch-all for all dynamic playlists *without* the --- PlaylistGroups- parameter = all custom dynamic playlists that are not assigned to any playlist group. *You can create custom groups for own playlists*, doesn't matter if you use SQLPlayList to -create- custom playlists or if you write the SQLite code of your dynamic playlists yourself. So if you enter a group name in the "groups" field in SQLPlayList it will add the --- PlaylistGroups- parameter to your SQLite code and your dynamic playlist will be placed in a group folder with that name. More information about playlist parameters in the DPL wiki (link on github page). *Plugin repositories:* 'Ratings Light' (https://github.com/AF-1/lms-ratingslight) 'Visual Statistics' (https://github.com/AF-1/lms-visualstatistics) 'Use Comment Tag Info' (https://github.com/AF-1/lms-usecommenttaginfo) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
AF, any possibility of allowing us to rename "Not classified" in DPL3 to "SQLPlaylists" so I can tell my wife where her playlists went? Thanks. Main system - Rock Solid with LMS 8.2.0 on WHS 2011 - 2 Duets and Squeeseslave Cabin system - Rock solid with LMS 8.2.0 on Win10 Pro - 1 RPi 3 Model B/Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave Squeezebox Boom - "At Large" player around both home and cabin Headphones and car - Android phone/Bluetooth w/full library on MicroSD card - PowerAmp music player app (similar to Material Skin) w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
marco.mosca wrote: > The only issue I see is running SQL Playlist from Favorites menu: these > playlist are working only if launched from the DPL menu. Should work in 3.3.3. -May- require removing playlists from LMS favorites and readding them, as explained in the DPL FAQ. marco.mosca wrote: > Instead of having a drop down list for the genre can you implement a > list of checkbox as in the below picture? This would be great for both > random songs and random albums. In this way is possible to select more > than a genre at the same time. As I said in post#69 I like the idea but this would require some non-trivial code changes. And lots of testing. I don't have the time for that right now. Maybe some time next year. marco.mosca wrote: > Include the Custom Skip as the last choice of the DPL with parameters > (as it was for example in the SQL Playlist). I won't do that. I don't want to reintroduce new ties between plugins, on the contrary. Also, -please really do read the DPL3 FAQ and the CustomSkip3 FAQ- (see signature below). tl;dr: the job of DPL is to *play* dynamic playlists and SQLPlayList's job is and always has been to -assist- users who don't feel comfortable writing SQLite code in *creating* custom dynamic playlists. Whether you create your custom dynamic playlist with the help of SQLPlayList or you write it yourself from scratch... just 2 different ways of *creating* a dynamic playlist that DPL should *play*. So DPL does support setting CustomSkip filters but you just have to tell it to do so in your custom dynamic playlist (no matter if you use SQLPlayList or write the code yourself). Check out the FAQs/wikis for more information. Setting a customskip filter set for a dynamic playlist was always -static.- If you use SQLPlayList it just writes the name of the CustomSkip filter set you want to use into the dynamic playlist definition. It was never a parameter you could/would set when starting a dynamic playlist. marco.mosca wrote: > can you also make Custom Skip V2 available again. I would like to use it > until I can fully embrace DPL and CS V3. I think Erland has explained this very well in this '*post*' (https://forums.slimdevices.com/showthread.php?115073-Announce-Dynamic-Playlists-3-(mod)=1037619=1#post1037619) (on this very page actually). 'Github repos' (https://github.com/AF-1/) 'Dynamic Playlists 3 FAQ' (https://github.com/AF-1/lms-dynamicplaylists#faq) 'Custom Skip 3 FAQ' (https://github.com/AF-1/lms-customskip#faq) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
w3wilkes wrote: > Okay, In an effort to go to this supported version of DPL I uninstalled > DPL2 and installed DPL3. Thanks to RobbH for letting me know where to > find the dynamic playlists I've built with SQLPlaylists in DPL3. > > Doing some testing and it all seems to work. The initial start picks 10 > songs as I've set it. I set for it to add songs after 30 seconds of the > last song and also set for it to keep the last 10 songs played. When it > adds songs I don't see a setting for how many to add each time. Where do > I set that number?? I'd like it to be 10 so that my list would always be > 20 songs long. Go to Settings/Advanced/Dynamic Playlists. At the top of Various Settings, set both "Max. number of unplayed songs" and "Min. number of unplayed songs" to 10. LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic. RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Okay, In an effort to go to this supported version of DPL I uninstalled DPL2 and installed DPL3. Thanks to RobbH for letting me know where to find the dynamic playlists I've built with SQLPlaylists in DPL3. Doing some testing and it all seems to work. The initial start picks 10 songs as I've set it. I set for it to add songs after 30 seconds of the last song and also set for it to keep the last 10 songs played. When it adds songs I don't see a setting for how many to add each time. Where do I set that number?? I'd like it to be 10 so that my list would always be 20 songs long. Main system - Rock Solid with LMS 8.2.0 on WHS 2011 - 2 Duets and Squeeseslave Cabin system - Rock solid with LMS 8.2.0 on Win10 Pro - 1 RPi 3 Model B/Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave Squeezebox Boom - "At Large" player around both home and cabin Headphones and car - Android phone/Bluetooth w/full library on MicroSD card - PowerAmp music player app (similar to Material Skin) w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
w3wilkes wrote: > Afriend, > > Thanks so much for renaming so I can now use DPL 2 to play all my > SQLPlaylists. I guess if DPL3 listed the existing SQLPlaylists I would > be happy to switch. > > Again, thanks for separating your DPL3 from the old DPL. > > Wilkes My existing SQLPlaylists show up under "Not classified" in DPL3. LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic. RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Dear Afriend, can you also make Custom Skip V2 available again. I would like to use it until I can fully embrace DPL and CS V3. Thanks, Marco marco.mosca's Profile: http://forums.slimdevices.com/member.php?userid=72173 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Afriend, Thanks so much for renaming so I can now use DPL 2 to play all my SQLPlaylists. I guess if DPL3 listed the existing SQLPlaylists I would be happy to switch. One thing I had requested from Erland after *buy*ing SQL and Dynamic playlists was to add BPM to the selection criteria, but it never happened. I manually edit some of my SQL playlists to filter on BPM since it's in the track table and I've populated it for all my music. These are great for setting a pace on the treadmill or walking. Again, thanks for separating your DPL3 from the old DPL. Wilkes Main system - Rock Solid with LMS 8.2.0 on WHS 2011 - 2 Duets and Squeeseslave Cabin system - Rock solid with LMS 8.2.0 on Win10 Pro - 1 RPi 3 Model B/Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave Squeezebox Boom - "At Large" player around both home and cabin Headphones and car - Android phone/Bluetooth w/full library on MicroSD card - PowerAmp music player app (similar to Material Skin) w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Dear afriend, I have uninstalled all Erland plugins thanks to your advancements. The only issue I see is related to the ability to put DPL in the Favorites as you can see from the below pictures: 3612936130 Only some of them can be saved. I have also crosschecked the setup page enabling all the playlist in the favorites menu but without success. Moreover, in order to further enhance DPL V3 can I suggest a couple of addition? Instead of having a drop box for the genre can you implement a list of checklist as in the below picture? In this way is possible to select more than a genre at the same time. 36131 Include the Custom Skip as the last choice of the DPL with parameters (as it was for example in the SQL Playlist). Thanks again for your work. Marco +---+ |Filename: Include.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=36131| +---+ marco.mosca's Profile: http://forums.slimdevices.com/member.php?userid=72173 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
erland wrote: > Unsupported plugins only appear after a user have manually installed > them, confirmed that they work and issued a pull-request towards the > unsupported repo: > https://github.com/LMS-Community/lms-plugin-repository/blob/master/unsupported.xml > If people dont know how to make a pull request they can also just tell > mherger or another community developer to do it for them. > > So the reason Custom Skip doesnt appear is that nobody has done this > yet. People using Custom Skip on 8.0 have installed it before they > upgraded to LMS 8.* or manually installed it after they setup LMS 8.* > > The reason for the above process is to ensure plugins which have never > worked on 8.* doesnt appear in the unsupported list. Once the dust settles, it would be helpful to have step by step instructions to transition to the newly named plugins. Right now I still have version 3.2.7 of DPL and 3.0 of CS installed and working, with the original names. I assume these won't update if you post new versions, but will continue to work as is. nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > > BTW when I did some tests on a *clean* LMS 8.2.1 test system CustomSkip > 2.5.83 didn't show up in the list of "unsupported extensions" for me. > It's still listed in the main repo xml file though, just didn't show on > the settings > plugins page under "unsupported extensions". All of the > other plugins did though. Can anybody reproduce this? > Unsupported plugins only appear after a user have manually installed them, confirmed that they work and issued a pull-request towards the unsupported repo: https://github.com/LMS-Community/lms-plugin-repository/blob/master/unsupported.xml If people dont know how to make a pull request they can also just tell mherger or another community developer to do it for them. So the reason Custom Skip doesnt appear is that nobody has done this yet. People using Custom Skip on 8.0 have installed it before they upgraded to LMS 8.* or manually installed it after they setup LMS 8.* The reason for the above process is to ensure plugins which have never worked on 8.* doesnt appear in the unsupported list. Erland Isaksson ('My homepage' (http://erland.isaksson.info)) Developer of 'many plugins/applets' (https://wiki.slimdevices.com/index.php/User_Erland.html) *Starting with LMS 8.0 I no longer support my plugins/applets* ('see here for more information' (https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins=998836=1#post998836) ) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Following up, the only issue I've encountered is that where dynamic playlists from earlier versions of DPL3 had been saved as favorites, the favorites no longer work. I don't think that's surprising. The playlists still work, so it's just a matter of deleting the old favorites and saving new ones. LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic. RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
RobbH wrote: > I've removed your old repo and added the new one. I've uninstalled the > previous version of DPL3 and re-installed from the new repo. I then had > both DPL2 and DPL3 installed, and two Dynamic Playlists entries under My > Music. Uninstalled DPL2 and everything appears to be back to normal, but > it hasn't really been tested yet. > > I also do not see the old Custom Skip, which I have never used, in the > Unsupported Plugins list, or anywhere else. DPL2 also did not appear in > that list at first, but it's now there again. Your Custom Skip shows up > in the right place. Actually I think I phrased that last part about coexisting in a misleading way (edited my post now). It was about making sure that these new versions 3 (with the different name) wouldn't block the listing of the previous versions 2 in the "unsupported extensions" section. Thanks for confirming that for DPL v2. And at least I know the missing CustomSkip2 is not related to CustomSkip v3. So that's something. Thanks. '*github repos*' (https://github.com/AF-1/) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > BTW when I did some tests on a *clean* LMS 8.2.1 test system > CustomSkip 2.5.83 didn't show up in the list of "unsupported extensions" > for me. It's still listed in the main repo xml file though, just didn't > show on the settings > plugins page under "unsupported extensions". All > of the other plugins did though. Can anybody reproduce this? > > For testing purposes I've added the versions with the different internal > name to this repo > https://raw.githubusercontent.com/AF-1/lms-customskip/main/public.xml > I did some preliminary tests but maybe users who know their way around > github (RobbH et al.) could confirm that they still work as they should > and whether the new versions, once installed, peacefully coexist with > the old unsupported versions of DPL and CS in the LMS main repo. > > Take care. Thanks again. I don't think I'm someone who knows his way around Github, but I can follow simple instructions, sometimes correctly. I've removed your old repo and added the new one. I've uninstalled the previous version of DPL3 and re-installed from the new repo. I then had both DPL2 and DPL3 installed, and two Dynamic Playlists entries under My Music. Uninstalled DPL2 and everything appears to be back to normal, but it hasn't really been tested yet. I also do not see the old Custom Skip, which I have never used, in the Unsupported Plugins list, or anywhere else. DPL2 also did not appear in that list at first, but it's now there again. Your Custom Skip shows up in the right place. LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic. RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
erland wrote: > keeps his plugin in the main repo to make it easy to install for people > that wants a supported version and if he wants to make it easy for > people to install my unsupported version changing the plugin name to > DynamicPlayList3 in repo will probably probably allow that Hej. Thank you for your opinion. The voice of reason always has a nice ring to it. Download counts suggest that apparently once DPLv3 is removed from the LMS main repo future versions would only reach a small fraction of all previous DPL v3 users which is kind of sad. Adding external repo urls seems to be a lot less common than I'd hoped. So you're right, it'd probably be better if DPL v3 remained part of the LMS main repo. Therefore I've changed the internal plugin name that LMS uses, both for Dynamic Playlists 3 and Custom Skip 3. But even if I add DPL3 or CS3 to the LMS main repo (again) one thing remains: due to some changes in my life I'll have even less time to spend on LMS plugins. I don't know yet what this will mean for these plugins (and others) but we'll see. That was actually the main reason I'd considered removing DPL3 from the main repo. BTW when I did some tests on a *clean* LMS 8.2.1 test system CustomSkip 2.5.83 didn't show up in the list of "unsupported extensions" for me. It's still listed in the main repo xml file though, just didn't show on the settings > plugins page under "unsupported extensions". All of the other plugins did though. Can anybody reproduce this? For testing purposes I've added the versions with the different internal name to this repo https://raw.githubusercontent.com/AF-1/lms-customskip/main/public.xml I did some preliminary tests but maybe users who know their way around github (RobbH et al.) could confirm that they still work as they should and whether the new versions, once installed, peacefully coexist with the old unsupported versions of DPL and CS in the LMS main repo. Take care. Thanks again. '*github repos*' (https://github.com/AF-1/) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
erland wrote: > Unsupported=Nobody has officially tested the plugin with the LMS version > and nobody have said they are going to fix any existing or future bugs > caused by the plugin itself or current or future LMS version. None of my > plugins are possible to install in LMS 8.0 or later unless you have > checked the Use unsupported extensions checkbox which also state that > you are aware of the risk that the plugins might even make whole LMS > unstable. If you have issues with LMS, one of the first thing you should > do IMHO is to uninstall any unsupported plugins to verify that they > dont cause the problem. > > Deprecated=The plugin/functionality is still supported and bugs will be > fixed and users will be offered support if they have issues. However, > deprecated means that the plugin or functionality is planned to be > removed in the future. LMS has no way to indicate that a functionality > is deprecated as far as I know, so if you want such indication you will > have to monitor the forum and read between the lines. The fact that the > last release of Dynamic Playlist was more than 4 years ago when I told > everyone via forum that I wasnt going to have the time to maintain it > should be an indication. The fact that the last bug correction was 8 > years ago should be an even better indication. > > So I guess you can consider my version of Dynamic Playlist to be > deprecated and unsupported since 2017. > > My personal recommendation, which Ive previously stated in the forum, > is that people that want to keep the functionality in my plugins should > look for a different solution or try to encourage other plugin > developers to implement something similar (like afriend did) > > When someone (like afriend) decides to test, fix bugs and adjust > functionality in an unsupported plugin so you can get an officially > supported version again, thats a really good thing. Some functionality > might break or disappear because it relies on other unsupported plugins > but having a version thats officially tested and supported and might > get new features in the future is still a good thing IMHO. When another > developer offers a new version its natural that the roadmap for the > future goes in another direction. > > > If you use LMS 7.8.*, which is the last LMS version which my Dynamic > Playlist plugin was tested on, you will get my version since afriend > only offers his version on LMS 7.9 and later. Of course, using LMS 7.8 > is no solution because then you are using an LMS version thats no > longer supported and might stop working at any time due to OS upgrades > and other similar things. > > Im sorry about the situation, but this kind of issues is something you > will have to live with when you are using free software which relies on > people spending their spare time to fix bugs or add functionality. The > best way forward is to try to encourage the new developer in all > possible ways, complaining on someone who spend their spare time to > offer things for free is just going to make the situation worse. Dear Erland, Thank you. This is crystal clear. I am actually on LMS 8.1 and your plugins are still working fine. Anyway, I truly understand your position and I have already made some effort to get rid of Multi Library and Custom Browse plugins, however IMHO Custom Skip and SQL Playlist have very useful features that have not yet fully replaced in DPL V3. I will do my best to encourage and support afriend to evolve DPL V3 for the benefit of the community. All my best. Marco marco.mosca's Profile: http://forums.slimdevices.com/member.php?userid=72173 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
marco.mosca wrote: > > First of all I would like to understand the difference between > deprecated and unsupported. > Unsupported=Nobody has officially tested the plugin with the LMS version and nobody have said they are going to fix any existing or future bugs caused by the plugin itself or current or future LMS version. None of my plugins are possible to install in LMS 8.0 or later unless you have checked the Use unsupported extensions checkbox which also state that you are aware of the risk that the plugins might even make whole LMS unstable. If you have issues with LMS, one of the first thing you should do IMHO is to uninstall any unsupported plugins to verify that they dont cause the problem. Deprecated=The plugin/functionality is still supported and bugs will be fixed and users will be offered support if they have issues. However, deprecated means that the plugin or functionality is planned to be removed in the future. LMS has no way to indicate that a functionality is deprecated as far as I know, so if you want such indication you will have to monitor the forum and read between the lines. The fact that the last release of Dynamic Playlist was more than 4 years ago when I told everyone via forum that I wasnt going to have the time to maintain it should be an indication. The fact that the last bug correction was 8 years ago should be an even better indication. So I guess you can consider my version of Dynamic Playlist to be deprecated and unsupported since 2017. My personal recommendation, which Ive previously stated in the forum, is that people that want to keep the functionality in my plugins should look for a different solution or try to encourage other plugin developers to implement something similar (like afriend did) When someone (like afriend) decides to test, fix bugs and adjust functionality in an unsupported plugin so you can get an officially supported version again, thats a really good thing. Some functionality might break or disappear because it relies on other unsupported plugins but having a version thats officially tested and supported and might get new features in the future is still a good thing IMHO. When another developer offers a new version its natural that the roadmap for the future goes in another direction. marco.mosca wrote: > > Some users, including me, have made specific setup based on the above > mentioned plugins and happy to stay stable on those setup. > If you use LMS 7.8.*, which is the last LMS version which my Dynamic Playlist plugin was tested on, you will get my version since afriend only offers his version on LMS 7.9 and later. Of course, using LMS 7.8 is no solution because then you are using an LMS version thats no longer supported and might stop working at any time due to OS upgrades and other similar things. Im sorry about the situation, but this kind of issues is something you will have to live with when you are using free software which relies on people spending their spare time to fix bugs or add functionality. The best way forward is to try to encourage the new developer in all possible ways, complaining on someone who spend their spare time to offer things for free is just going to make the situation worse. Erland Isaksson ('My homepage' (http://erland.isaksson.info)) Developer of 'many plugins/applets' (https://wiki.slimdevices.com/index.php/User_Erland.html) *Starting with LMS 8.0 I no longer support my plugins/applets* ('see here for more information' (https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins=998836=1#post998836) ) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
erland wrote: > > If people wants to know how to manually install an unsupported plugin > they should ask someone else in the community, the new developer should > not have to spend time instructing people how to install someone else > plugin IMHO. > > I think it's worth noting that afriend has provided this instruction, most recently in post 99, which links to his plugin's 'Github page' (https://github.com/AF-1/lms-dynamicplaylists/tree/7283a5f2c591f7ab1c5461fe8dfb3f9c6fb3428c#reverting-to-dynamicplaylist-v2). LMS 8 nightly running on Raspberry Pi OS. Mostly virtual players, occasionally with SB Radio, Boom or Classic. RobbH's Profile: http://forums.slimdevices.com/member.php?userid=67008 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
erland wrote: > I havent read the whole thread, so Ill apologize in advance if Ive > misunderstood something in this situation. This post is not directed > towards you in personal, its directed towards anyone that dont like > that a new developer tries to continue maintenance of an abandoned > plugin. > > Overriding an unsupported plugin should definitely be allowed in my > opinion. If we didnt allow this we would get a plugin inflation every > time a developer stops maintaining a plugin and someone else wants to > take over. People that prefer to use an unsupported version will have to > manually download and install that and they would have to accept a more > complicated installation process IMHO. > > I understand why afriend plans to pull his version from the main repo to > avoid the criticism on the forum but I think this is really unfortunate, > it would be a lot better to keep it in the main repo so people can > easily install the supported version (afriends one) if they are usin > LMS 7.9 or later. Ive never tested or officially supported any of my > plugins on a LMS version later than 7.8, if they work on later LMS > versions its just pure luck and a matter of time until something > breaks. > > Id personally prefer if afriend keeps his plugin in the main repo to > make it easy to install for people that wants a supported version and if > he wants to make it easy for people to install my unsupported version > changing the plugin name to DynamicPlayList3 in repo will probably > probably allow that. Im not sure if he would also have to change the > plugin directory name to DynamicPlayList3 to make it work properly, > which would make it a little bit more work. However, in my personal > opinion he can just keep the name as it is and refer the people that > wants my unsupported version to manual installation (recommended) or > downgrading LMS to 7.8 (not recommended). If people wants to know how to > manually install an unsupported plugin they should ask someone else in > the community, the new developer should not have to spend time > instructing people how to install someone else plugin IMHO. > > Having said all this, I think its sad that people criticize people > (like afriend) that spend time for free to try make functionality > survive that have been abandoned by previous developers (like me). We > should encourage people that try to ensure as much functionality as > possible survives when the original plugin developer has abandoned a > plugin. We should also keep in mind that all plugin developers offers > their spare time for free to do this for us. If we dont do our best to > encourage them in all possible ways we are soon going to end up without > any plugin developers and that will be an early step towards the death > of the LMS community. Dear Erland, Thank you for your contribution. First of all I would like to thank all the developers for what they provide to the community. This is a priceless contribution to all of us. Having said that I have some concern about this topic even if I am new here. First of all I would like to understand the difference between deprecated and unsupported. You are stating that Dynamic Playlist V2 is unsupported while @Afriend is stating that the same library is deprecated. In the world of software development, "deprecated" refers to functions or elements that are _in_the_process_of_being_replaced_ by newer ones. While deprecated items may work in the current version of a programming language, they may not function in future updates. I can survive with unsupported plugins as far as they are not preventing usability. As far as I remember DPL V3 release notes doesn't mention nor any deprecated functions (at least at very beginning) neither warning of possible impacts on other related plugins, so when installed I (and some other user) was expecting backward compatibility. _Unfortunately_V3_prevents_CustomSkip_(for_sure)_and_MultiLibrary_(maybe)_plugins_to_work_properly_. Some users, including me, have made specific setup based on the above mentioned plugins and happy to stay stable on those setup. Now the question is: should I expect Afriend DPL V3 plugin to be a new plugin, based on DPL V2, with its own roadmap, so that I can remain with my current setup, or should I start investigating how to replace DPL V2, MultiLibrary and CustomSkip? The latter is not effortless. Thank you in advance for the clarification. My best wishes. Marco marco.mosca's Profile: http://forums.slimdevices.com/member.php?userid=72173 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
w3wilkes wrote: > You should either remove it now or change the name so those of us that > want v2 can have v2. I don't think overriding another persons pluggin > should be acceptable @mherger. I havent read the whole thread, so Ill apologize in advance if Ive misunderstood something in this situation. This post is not directed towards you in personal, its directed towards anyone that dont like that a new developer tries to continue maintenance of an abandoned plugin. Overriding an unsupported plugin should definitely be allowed in my opinion. If we didnt allow this we would get a plugin inflation every time a developer stops maintaining a plugin and someone else wants to take over. People that prefer to use an unsupported version will have to manually download and install that and they would have to accept a more complicated installation process IMHO. I understand why afriend plans to pull his version from the main repo to avoid the criticism on the forum but I think this is really unfortunate, it would be a lot better to keep it in the main repo so people can easily install the supported version (afriends one) if they are usin LMS 7.9 or later. Ive never tested or officially supported any of my plugins on a LMS version later than 7.8, if they work on later LMS versions its just pure luck and a matter of time until something breaks. Id personally prefer if afriend keeps his plugin in the main repo to make it easy to install for people that wants a supported version and if he wants to make it easy for people to install my unsupported version changing the plugin name to DynamicPlayList3 in repo will probably probably allow that. Im not sure if he would also have to change the plugin directory name to DynamicPlayList3 to make it work properly, which would make it a little bit more work. However, in my personal opinion he can just keep the name as it is and refer the people that wants my unsupported version to manual installation (recommended) or downgrading LMS to 7.8 (not recommended). If people wants to know how to manually install an unsupported plugin they should ask someone else in the community, the new developer should not have to spend time instructing people how to install someone else plugin IMHO. Having said all this, I think its sad that people criticize people (like afriend) that spend time for free to try make functionality survive that have been abandoned by previous developers (like me). We should encourage people that try to ensure as much functionality as possible survives when the original plugin developer has abandoned a plugin. We should also keep in mind that all plugin developers offers their spare time for free to do this for us. If we dont do our best to encourage them in all possible ways we are soon going to end up without any plugin developers and that will be an early step towards the death of the LMS community. Erland Isaksson ('My homepage' (http://erland.isaksson.info)) Developer of 'many plugins/applets' (https://wiki.slimdevices.com/index.php/User_Erland.html) *Starting with LMS 8.0 I no longer support my plugins/applets* ('see here for more information' (https://forums.slimdevices.com/showthread.php?49483-Announce-New-versions-of-erlands-plugins=998836=1#post998836) ) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > If you want to install v*2* from the "plugin library" (= LMS main repo) > you'll have to wait until I remove v3.2.5 from that "plugin library" for > good. You should either remove it now or change the name so those of us that want v2 can have v2. I don't think overriding another persons pluggin should be acceptable @mherger. Main system - Rock Solid with LMS 8.2.0 on WHS 2011 - 2 Duets and Squeeseslave Cabin system - Rock solid with LMS 8.2.0 on Win10 Pro - 1 RPi 3 Model B/Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave Squeezebox Boom - "At Large" player around both home and cabin Headphones and car - Android phone/Bluetooth w/full library on MicroSD card - PowerAmp music player app (similar to Material Skin) w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
marco.mosca wrote: > Can you help with this in order to have the Erland plugin available > again? I am not able to make any manual install and I would like to get > back to my previous setup. If you want to install v*2* from the "plugin library" (= LMS main repo) you'll have to wait until I remove v3.2.5 from that "plugin library" for good. As I said, that will happen as soon as daily downloads of 3.2.5 from the "plugin library" have dropped to an insignificant number. If v*3* users with a version < 3.2.5 don't get the 3.2.5 update (with the info message) they may never know about the repo change and they'd be stuck with 3.2.5 forever. Thank you for your understanding and keeping their best interests in mind. '*github repos*' (https://github.com/AF-1/) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > Maybe '*this post*' > (https://forums.slimdevices.com/showthread.php?115073-Announce-Dynamic-Playlists-3-(mod)=1036674=1#post1036674) > answers some of your questions? As a compromise I've already announced > that I will pull DPL v*3* from the LMS main repo. The last version in > the LMS main repo (v3.2.5) contains a message with information for DPL > v*3* users. So, of course, the goal is to have as many DPL v*3* users > download 3.2.5 so they will know that DPL v*3* is now available from a > different repo. Otherwise, they'd be stuck with 3.2.5. > As soon as new daily downloads of 3.2.5 have dropped to an insignificant > number I will pull DPL v*3* from the LMS main repo for good. As > detailled in the linked post you can wait for that to happen and then > install v*2* the usual way - or '*manually install v2*' > (https://github.com/AF-1/lms-dynamicplaylists/tree/7283a5f2c591f7ab1c5461fe8dfb3f9c6fb3428c#reverting-to-dynamicplaylist-v2) > -now- which should have the added benefit of preventing any future DPL > updates. > BTW maybe this '*FAQ*' > (https://github.com/AF-1/lms-dynamicplaylists#faq) can answer some > questions too, like DPL v*3* compatibility with old plugins. I'm sorry if I repeat myself: After your intervention on V2 the same is not available anymore in the plugin library. Can you help with this in order to have the Erland plugin available again? I am not able to make any manual install and I would like to get back to my previous setup. Thanks, Marco marco.mosca's Profile: http://forums.slimdevices.com/member.php?userid=72173 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
marco.mosca wrote: > Dear Afriend, I have tried getting back to previous Dynamic Playlist, > however I cannot get Erland plugin. This seams not to be part of the > library anymore even if I uninstall your plugin. How can I reestablish > it? > > Thanks. > Marco Maybe '*this post*' (https://forums.slimdevices.com/showthread.php?115073-Announce-Dynamic-Playlists-3-(mod)=1036674=1#post1036674) answers some of your questions? As a compromise I've already announced that I will pull DPL v*3* from the LMS main repo. The last version in the LMS main repo (v3.2.5) contains a message with information for DPL v*3* users. So, of course, the goal is to have as many DPL v*3* users download 3.2.5 so they will know that DPL v*3* is now available from a different repo. Otherwise, they'd be stuck with 3.2.5. As soon as new daily downloads of 3.2.5 have dropped to an insignificant number I will pull DPL v*3* from the LMS main repo for good. As detailled in the linked post you can wait for that to happen and then install v*2* the usual way - or '*manually install v2*' (https://github.com/AF-1/lms-dynamicplaylists/tree/7283a5f2c591f7ab1c5461fe8dfb3f9c6fb3428c#reverting-to-dynamicplaylist-v2) -now- which should have the added benefit of preventing any future DPL updates. BTW maybe this '*FAQ*' (https://github.com/AF-1/lms-dynamicplaylists#faq) can answer some questions too, like DPL v*3* compatibility with old plugins. '*github repos*' (https://github.com/AF-1/) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Dear Afriend, I have tried getting back to previous Dynamic Playlist, however I cannot get Erland plugin. This seams not to be part of the library anymore even if I uninstall your plugin. How can I reestablish it? Thanks. Marco marco.mosca's Profile: http://forums.slimdevices.com/member.php?userid=72173 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
This is really helpful & clears up a lot, thanks very much! afriend wrote: > What br@m said. > TrackStat's *track_statistics* table and the default LMS > *tracks_persistent* table basically contain the some information. So if > you're just retrieving -ratings- or stats like -last played, date added- > or -playcount- I recommend querying *tracks_persistent*. If TrackStat > stops working at some point or you want to uninstall it (seeing that you > seem to have another rating plugin installed) your dynamic playlists > will keep working. > > The website you linked to probably uses DPL v2. With DPLv3 you can use > your custom dynamic playlist definition directly in DPL (without > SQLPlayList), just by putting the file in the *DPL custom playlist > folder* (see DPL settings for location). SQLPlayList is still a good way > to start creating your custom dynamic playlist but please remember that > it can't know '*all DPL v3 playlist parameters*' > (https://github.com/AF-1/lms-dynamicplaylists/wiki/DPL-playlist-format#playlist-parameters) > because its last version dates from before DPL v3. > > P.S. also: in your sql statement (screenshot) you use last*p*layed but > it probably should be last*P*layed. I think it's case-sensitive. 1x Classic / 2x Radio / 2x Receiver / 1x DAC32 / LMS 8.3.0 - 1630708871 on Docker / Ubuntu 18.04 LTS http://www.last.fm/user/rndr rlem's Profile: http://forums.slimdevices.com/member.php?userid=46931 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
bernt wrote: > Hi! > > Is there a way to use DPL so that songs in a Spotify playlist always > plays in random order? > > Regards > Bernt DPL can fetch Spotify tracks that are *part of your LMS library* = that have been added to your LMS library as part of an album. LMS does not import single online tracks or tracks of online playlists as *library* tracks. So if you meant a Spotify list of non-library tracks, then no. Otherwise your custom dynamic playlist would probably look like this: Code: -- PlaylistName:Songs - Spotify library tacks random select distinct tracks.url from tracks left join dynamicplaylist_history on dynamicplaylist_history.id=tracks.id and dynamicplaylist_history.client='PlaylistPlayer' where tracks.content_type = 'spt' and tracks.secs >= 'PlaylistTrackMinDuration' and dynamicplaylist_history.id is null order by random() limit 'PlaylistLimit'; '*github repos*' (https://github.com/AF-1/) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Hi! Is there a way to use DPL so that songs in a Spotify playlist always plays in random order? Regards Bernt SB Touch optical to Hegel H90, Speakers Larsen 4.2 Spare SB3 AirPlay Bridge to Audio Pro A10 Squeezelite-x connected to home LMS with ZeroTier One. SB Radio ReadyNAS 202 iPeng bernt's Profile: http://forums.slimdevices.com/member.php?userid=1342 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
rlem wrote: > Hi all, > > For the record: I'm still very happy with DP3 ;-). > Mainly I'm making (ahem, "hacking together", 'with a little help' > (https://www.cameron.willmot.ca/posts/dynamicplaylist/)) my own custom > Dynamic Playlists that should work -without user interaction-, so just > click and play. > I've got things like "Toprated songs added in the past year, and in > genre X, Y, Z" working perfectly. > > The only thing that's not (really) working is *excluding songs that were > played recently* (say: in the last 3 days). > This SQL with Beatles top rated tracks is playing fine (no errors in the > log): > > ...but the > > > Code: > > and ifnull(track_statistics.lastplayed,0)<(STRFTIME("%s",DATE('NOW','-3 DAY'))) > > > > seems to be ignored, because Carry That Weight is queued, but it > shouldn't have been because it was last played yesterday: > > How do other people do this? > > Thanks, > Randy What br@m said. TrackStat's *track_statistics* table and the default LMS *tracks_persistent* table basically contain the some information. So if you're just retrieving -ratings- or stats like -last played, date added- or -playcount- you can simply query *tracks_persistent*. I don't know -how- you use TrackStat but seeing that you seem to have another rating plugin installed (Ratings Light?) you don't necessarily need TrackStat to set ratings or retrieve ratings/stats. The website you linked to probably uses DPL v2. With DPLv3 you can use your custom dynamic playlist definition directly in DPL (without SQLPlayList), just by putting the file in the DPL custom playlist folder. SQLPlayList is still a good way to start creating your custom dynamic playlist but please remember that it can't know '*all DPL v3 playlist parameters*' (https://github.com/AF-1/lms-dynamicplaylists/wiki/DPL-playlist-format#playlist-parameters) because its last version dates from before DPL v3. '*github repos*' (https://github.com/AF-1/) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Wow, it looks like this works - thanks Br@m! br@m wrote: > There's a table in the database that keeps track of the last time a song > was played, *-tracks_persistent-*. > > I include this code in SQL playlists to leave out tracks played in the > last 4 days: > > > Code: > > > where not exists ( > select* > from tracks_persistent tp > where tp.urlmd5 = tracks.urlmd5 > and datetime( tp.lastPlayed, 'unixepoch' ) < datetime( 'now' ) > and datetime( tp.lastPlayed, 'unixepoch' ) > datetime( 'now' , 'start of day' , '-4 days' ) > ) > > > 1x Classic / 2x Radio / 2x Receiver / 1x DAC32 / LMS 8.3.0 - 1630708871 on Docker / Ubuntu 18.04 LTS http://www.last.fm/user/rndr rlem's Profile: http://forums.slimdevices.com/member.php?userid=46931 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
rlem wrote: > ... > > How do other people do this? > > Thanks, > Randy There's a table in the database that keeps track of the last time a song was played, *-tracks_persistent-*. I include this code in SQL playlists to leave out tracks played in the last 4 days: Code: where not exists ( select* from tracks_persistent tp where tp.urlmd5 = tracks.urlmd5 and datetime( tp.lastPlayed, 'unixepoch' ) < datetime( 'now' ) and datetime( tp.lastPlayed, 'unixepoch' ) > datetime( 'now' , 'start of day' , '-4 days' ) ) br@m's Profile: http://forums.slimdevices.com/member.php?userid=68632 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Hi all, For the record: I'm still very happy with DP3 ;-). Mainly I'm making (ahem, "hacking together", 'with a little help' (https://www.cameron.willmot.ca/posts/dynamicplaylist/)) my own custom Dynamic Playlists that should work -without user interaction-, so just click and play. I've got things like "Toprated songs added in the past year, and in genre X, Y, Z" working perfectly. The only thing that's not (really) working is *excluding songs that were played recently* (say: in the last 3 days). This SQL with Beatles top rated tracks is playing fine (no errors in the log): 36019 ...but the Code: and ifnull(track_statistics.lastplayed,0)<(STRFTIME("%s",DATE('NOW','-3 DAY'))) seems to be ignored, because Carry That Weight is queued, but it shouldn't have been because it was last played yesterday: 36020 How do other people do this? Thanks, Randy +---+ |Filename: 02.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=36020| +---+ 1x Classic / 2x Radio / 2x Receiver / 1x DAC32 / LMS 8.3.0 - 1630708871 on Docker / Ubuntu 18.04 LTS http://www.last.fm/user/rndr rlem's Profile: http://forums.slimdevices.com/member.php?userid=46931 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
w3wilkes wrote: > I don't have the AF repository specified... Why did I get the update to > 3.2.5. How do I go back to Erlands? I do have Erlands repository > specified. There are other users of DPL v3 who (accidentally?) updated to v3 and who don't quite dislike the new version as much. Readding v3.2.5 with latest fixes and (more importantly) the info message to the LMS main repository for a *limited time* was the only reliable way to make them aware that without adding the new github repo url they won't get future updates. In my experience most users don't spend much time in this forum unless they have to. Most likely many of them would have never noticed that they were cut off from future v3 updates. So as unfortunate as it is for users like you that was the way to go. Thank you for your understanding. To revert to Erland's version you could simply wait until I pull 3.2.5 from the main repo for good (in about 1-2 weeks) and then reinstall Erland's version the usual way. Or if you want a quick and permanent fix you could install Erland's version manually (more about this '*here*' (https://github.com/AF-1/lms-dynamicplaylists/tree/7283a5f2c591f7ab1c5461fe8dfb3f9c6fb3428c#reverting-to-dynamicplaylist-v2)). A manual install should prevent any future updates which I gather is what you want. '*github repos*' (https://github.com/AF-1/) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
I don't have the AF repository specified... Why did I get the update to 3.2.5. How do I go back to Erlands? I do have Erlands repository specified. Main system - Rock Solid with LMS 8.2.0 on WHS 2011 - 2 Duets and Squeeseslave Cabin system - Rock solid with LMS 8.2.0 on Win10 Pro - 1 RPi 3 Model B/Hifiberry DAC+ Pro/PiCorePlayer and Squeezeslave Squeezebox Boom - "At Large" player around both home and cabin Headphones and car - Android phone/Bluetooth w/full library on MicroSD card - PowerAmp music player app (similar to Material Skin) w3wilkes's Profile: http://forums.slimdevices.com/member.php?userid=22973 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > Add the --- PlaylistLimitOption:unlimited- before the sqlite statement > and lose the single quotes (limit 10). Then the *max.* limit is either > 2000 tracks ('unlimited') if you don't set a limit in your sqlite > statement or else whatever your limit says. And the number of added > tracks will always be >= the *min.* number of unplayed tracks you set in > your DPL settings. That works perfectly. Thanks. shinedou's Profile: http://forums.slimdevices.com/member.php?userid=72027 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > Ok, one more thing. Using your example try this: > > in the web UI home menu, go to CS and create *2 different filter > _sets_*. > - Leave the *first* filter *set* empty or at least *don't* include a > rule to skip "Revolution #9". > - In the *second* filter *set* do *enable* filtering for "Revolution > #9". > - Then on that very same screen (home menu > CustomSkip) *click on the > _first_ filter -set-* to make it your *primary/default filter set* > (=always on, filtering on all playlists). The name of the active primary > filter set should be displayed at the top: *Active filter set:...* > > Then *in your SQLPlayList playlist* choose the *_second_*(!) filter set > (that should filter "Revolution #9") and save it. > > Testing: > > - add "White Album" to your client playlist (*without DPL, no dynamic > playlist*) and slowly skip forward to "Revolution #9." and see if it's > skipped. It shouldn't be because the primary filter doesn't have a rule > for this and the secondary filter set is not enabled. > > - then start your dynamic playlist that includes the "White Album". Now > "Revolution #9." should be skipped - *as long as DPL is active* - > because DPL/SQLPlayList enabled the secondary filter set when you > started your dynamic playlist. If I doubt verify that DPL is still > active/involved (as described in a previous post). > > So in short: *my testing shows that secondary filtering*, started and > stopped by DPL (as requested by my SQLPlayList dynamic playlist) *does > work as expected*. It makes no difference if you tell SQLPlayList to add > this code to your dynamic playlist definition that starts/stops your > selected (secondary) CS filter set or if you do this manually in a > custom dynamic playlist that use directly in DPL. > > The main difference between DPL v2 and v3 with CustomSkip is that DPLv2 > had some kind of legacy support for calling CS filters *before* adding > tracks to the current playlist to filter tracks whereas the enabled > secondary filter skips tracks at playtime. > Since one of my objectives was to disentangle the dependencies between > DPL and deprecated plugins I've removed this legacy support because #1 > you can filter out tracks in your playlist definition (recommended) and > #2 additionally you have the option to enable a (secondary) CustomSkip > filter set when you start your dynamic playlist. > If anything, the way forward would be to have CustomSkip skip not only > the -current- track at playtime but also check the -next x tracks- in > the client playlist against any (primary and secondary) filter. But > that's another story. > > MY ADVICE: SET THE MAX. NUMBER OF UNPLAYED TRACKS DPL ADDS TO A LOW > NUMBER SO DPL DOESN'T STOP TOO SOON AND DISABLE THE SECONDARY CS FILTER. > > I hope I could help and give a little insight in how this all works. I'm > afraid that's all I can do at this point. Good luck. You are a genius. This method worked and it looks like I'm back in business. Thanks so much for all your help. nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
shinedou wrote: > Hey afriend. Is there a way to control the amount of new added tracks on > a per playlist basis? I understand that *limit 'PlaylistLimit';* refers > to the DPL settings. I also see this can be overridden in a playlist > using *-- PlaylistLimitOption:unlimited* but nothing I have tried allows > me to control this per playlist. I have tried *limit '10';* but it > still just uses the default setting. Any ideas? > > Thanks. Add the --- PlaylistLimitOption:unlimited- before the sqlite statement and lose the single quotes (limit 10). Then the *max.* limit is either 2000 tracks ('unlimited') if you don't set a limit in your sqlite statement or else whatever your limit says. And the number of added tracks will always be >= the *min.* number of unplayed tracks you set in your DPL settings. '*github repos*' (https://github.com/AF-1/) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
Hey afriend. Is there a way to control the amount of new added tracks on a per playlist basis? I understand that *limit 'PlaylistLimit';* refers to the DPL settings. I also see this can be overridden in a playlist using *-- PlaylistLimitOption:unlimited* but nothing I have tried allows me to control this per playlist. I have tried *limit '10';* but it still just uses the default setting. Any ideas? Thanks. shinedou's Profile: http://forums.slimdevices.com/member.php?userid=72027 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
nyindieguy wrote: > Thanks once again for your patient explanation. After more > experimentation, it is clear that the filter only works if it is applied > to all playlists. I know you are done with this and completely respect > that. > > I'm going to put this out there in the hope that someone else decides to > tinker with CustomSkip and fix this one remaining issue. In order to > frame why this an issue (at least for me), I'll offer up an example. If > the setting for CustomSkip is to apply to ALL playlists, it applies to > EVERYTHING, including just playing an entire album. So my example is if > I want to play The Beatles "White Album," i actually do want it to > include "Revolution #9." But I have that song in my Skip list so that it > never plays in a random playlist. So, right now I have to make a choice > between those two outcomes. In the old version, CustomSkip could be set > to only apply to lists played through Dynamic Playlists. > > I know I have the option of going back to the old versions of both > plugins, but I love the new functionality in afriend's updated DPL. > > Wondering out loud if anyone else out there has this issue, and if > someone would be willing to help solve it. > > Thanks for hearing me out. Maybe I misunderstood or you. To use your example try this: in the web UI home menu, go to CS and create *2 different filter _sets_*. - Leave the *first* filter *set* empty or at least *don't* include a rule to skip "Revolution #9". - In the *second* filter *set* do *enable* filtering for "Revolution #9". - Then on that very same screen (home menu > CustomSkip) *click on the _first_ filter -set-* to make it your *primary/default filter set* (=always on, filtering on all playlists). The name of the active primary filter set should be displayed at the top: *Active filter set:...* Then *in your SQLPlayList playlist* choose the *_second[/_B](!) filter set (that should filter "Revolution #9") and save it. Testing: - add "White Album" to your client playlist ([B]without DPL, no dynamic playlist*) and slowly skip forward to "Revolution #9." and see if it's skipped. It shouldn't be because the primary filter doesn't have a rule for this and the secondary filter set is not enabled. - then start your dynamic playlist that includes the "White Album". Now "Revolution #9." should be skipped - as long as DPL is active - because DPL/SQLPlayList enabled the secondary filter set when you started your dynamic playlist. Make sure all settings apply to the same client because -some CS settings like active primary filter set are client-specific-. BTW when I tested this it didn't filter on -all- playlist (despite the pref setting which might be deprecated, not certain it still has any effect). *Distinguishing between -secondary- and -primary- filter seems more important* to me than this pref setting. Works here, no idea why it doesn't for you. Good luck. '*github repos*' (https://github.com/AF-1/) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > I have good & bad news. The good news is that testing showed that the > revised CustomSkip version 2.5.85 works as expected. The bad news is > that I don't know why it doesn't work for you. > I've created a dynamic playlist with SQLPlayList ('-Random playlist > songs - Random songs from a saved playlist-'), then created a filter set > ('-Test-') that skip songs with years equal to or greater than the > selected year. And it works. > > To help you find the cause maybe some information on how CustomSkip > works might be useful: > > In CS you can choose 1 *active* filter (set) for each client (let's call > it *primary* filter). If global skipping is enabled (as it should be) it > will -always- filter unwanted tracks. I do that for tracks < 90 seconds > and tracks with 'never' in comment tag. > > When you choose a CustomSkip filter (set) in -SQLPlayList-, it's a > *secondary* filter. It's enabled when a dynamic playlist is started and > disabled when the dynamic playlist is stopped. > > A dynamic playlist is also stopped when DPL can't find any more tracks > to add (matching your search criteria) meaning it will disable the > secondary filter this very moment (I haven't changed that) because DPL > has stopped and is not involved any longer. Therefore no more secondary > filtering even if the current client playlist still has some remaining > tracks to play. And if those remaining tracks include tracks that should > be filtered by the secondary filter, they won't be because DPL has > disabled the secondary filter before exiting. > > You can verify if a dynamic playlist is active if you check "Show name > of active playlist in main menu" in DPL settings and then enter the DPL > menu from the home menu. If a dynamic playlist is active it will show > its name on top. But it's -not dynamically updated-, you need to reenter > this menu to verify again after a song change. It wasn't designed for > debugging. > > If the criteria for your static saved playlists return too few matches > too soon then secondary filtering will not work great for you I guess. > If you don't want to deal with SQLite and custom dynamic playlists maybe > use constant filtering (primary filter) instead. I've attached a > screenshot of my test setup so you can recreate it. > > BTW please note that I've pulled DPLv3+ from the LMS main repo. If you > want to keep using it please follow the instructions on the github page > (adding repo url). > Good news: you can now easily switch back to DPLv2 and CustomSkip 2.5.83 > if you want to. > I'm really sorry but that's really all I can do now in my limited time. > > 35985 Thanks once again for your patient explanation. After more experimentation, it is clear that the filter only works if it is applied to all playlists. I know you are done with this and completely respect that. I'm going to put this out there in the hope that someone else decides to tinker with CustomSkip and fix this one remaining issue. In order to frame why this an issue (at least for me), I'll offer up an example. If the setting for CustomSkip is to apply to ALL playlists, it applies to EVERYTHING, including just playing an entire album. So my example is if I want to play The Beatles "White Album," i actually do want it to include "Revolution #9." But I have that song in my Skip list so that it never plays in a random playlist. So, right now I have to make a choice between those two outcomes. In the old version, CustomSkip could be set to only apply to lists played through Dynamic Playlists. I know I have the option of going back to the old versions of both plugins, but I love the new functionality in afriend's updated DPL. Wondering out loud if anyone else out there has this issue, and if someone would be willing to help solve it. Thanks for hearing me out. nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
nyindieguy wrote: > Yes, it worked this time. Testing whether it actually works is difficult > since I have to use one of my playlists and wait for it to skip a song > that is in the list to skip. From one test it seems that it is not > working. I played a custom playlist that I created in SQLPLaylist that > randomized songs from a particular year, knowing that at least one song > from that year was on the "skip" list, and let it play until that song > actually came up on the list (hoping it would skip it), but it went > ahead and played. > > Sorry if I'm being a pain in the neck. I would gladly contribute > something to support your efforts. I have good & bad news. The good news is that testing showed that the revised CustomSkip version 2.5.85 works as expected. The bad news is that I don't know why it doesn't work for you. I've created a dynamic playlist with SQLPlayList ('-Random playlist songs - Random songs from a saved playlist-'), then created a filter set ('-Test-') that skip songs with years equal to or greater than the selected year. And it works. To help you find the cause maybe some information on how CustomSkip works might be useful: In CS you can choose 1 *active* filter (set) for each client (let's call it *primary* filter). If global skipping is enabled (as it should be) it will -always- filter unwanted tracks. I do that for tracks < 90 seconds and tracks with 'never' in comment tag. When you choose a CustomSkip filter (set) in -SQLPlayList-, it's a *secondary* filter. It's enabled when a dynamic playlist is started and disabled when the dynamic playlist is stopped. A dynamic playlist is also stopped when DPL can't find any more tracks to add (matching your search criteria) meaning it will disable the secondary filter this very moment (I haven't changed that) because DPL has stopped and is not involved any longer. Therefore no more secondary filtering even if the current client playlist still has some remaining tracks to play. And if those remaining tracks include tracks that should be filtered by the secondary filter, they won't be because DPL has disabled the secondary filter before exiting. You can verify if a dynamic playlist is active if you check "Show name of active playlist in main menu" in DPL settings and then enter the DPL menu from the home menu. If a dynamic playlist is active it will show its name on top. But it's -not dynamically updated-, you need to reenter this menu to verify again after a song change. It wasn't designed for debugging. If the criteria for your static saved playlists return too few matches too soon then secondary filtering will not work great for you I guess. If you don't want to deal with SQLite and custom dynamic playlists maybe use constant filtering (primary filter) instead. I've attached a screenshot of my test setup so you can recreate it. BTW please note that I've pulled DPLv3+ from the LMS main repo. If you want to keep using it please follow the instructions on the github page (adding repo url). Good news: you can now easily switch back to DPLv2 and CustomSkip 2.5.83 if you want to. I'm really sorry but that's really all I can do now in my limited time. 35985 +---+ |Filename: sc1.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=35985| +---+ '*github repos*' (https://github.com/AF-1/) afriend's Profile: http://forums.slimdevices.com/member.php?userid=39306 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] [Announce] Dynamic Playlists 3 (mod)
afriend wrote: > Please try again. Yes, it worked this time. Testing whether it actually works is difficult since I have to use one of my playlists and wait for it to skip a song that is in the list to skip. From one test it seems that it is not working. I played a custom playlist that I created in SQLPLaylist that randomized songs from a particular year, knowing that at least one song from that year was on the "skip" list, and let it play until that song actually came up on the list (hoping it would skip it), but it went ahead and played. Sorry if I'm being a pain in the neck. I would gladly contribute something to support your efforts. nyindieguy's Profile: http://forums.slimdevices.com/member.php?userid=62092 View this thread: http://forums.slimdevices.com/showthread.php?t=115073 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins