Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
dawansv wrote: > Glad you posted this because I was experiencing the same problem after > reinstalling my server and indeed my Playlist directory was not > writable. I am sure that I had the same problem last time but that was 4 > years ago so I forgot! > > I also noticed that when doing a search using the Yahoo Search! > function, accentuated characters don't carry over. I listen to French > classical radio, and when doing a search on titles with accentued > characters é è à etc they don't carry over in Yahoo search box. What I > don't understand is that your code seems fine and the characters are > properly encoded in the querystring because when I simply replace the > url with google's it works fine. So for now I just switch it to Google > Search in Web.pm > > > Code: > > 'Google Search' => 'https://www.google.com/search?q=SOME_PHRASE' > > Thanks for writing. Looks like it's not UTF-8 encoding the characters, which causes problems with Yahoo and most of the other actions, too. :-( I should fix that, and maybe be nice and add Google (and maybe DuckDuckGo, too). owner of the stuff at https://tuxreborn.netlify.app/ (which used to reside at www.tux.org/~peterw/) Note: The best way to reach me is email or PM, as I don't spend much time on the forums. *Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
peterw wrote: > This will be key, and has burned me before when migrating to a new > server and copying files over. LMS needs write access to the playlist > directory for PlayLog to log data. > > IIRC there were only two directories which LMS was expected to have > writer privileges for: the playlist directory and the cache directory. I > chose the playlist directory because I thought many users might from > time to time delete their cache directories but would be unlikely to > empty their playlist directories. Glad you posted this because I was experiencing the same problem after reinstalling my server and indeed my Playlist directory was not writable. I am sure that I had the same problem last time but that was 4 years ago so I forgot! I also noticed that when doing a search using the Yahoo Search! function, accentuated characters don't carry over. I listen to French classical radio, and when doing a search on titles with accentued characters é è à etc they don't carry over in Yahoo search box. What I don't understand is that your code seems fine and the characters are properly encoded in the querystring because when I simply replace the url with google's it works fine. So for now I just switch it to Google Search in Web.pm Code: 'Google Search' => 'https://www.google.com/search?q=SOME_PHRASE' dawansv's Profile: http://forums.slimdevices.com/member.php?userid=22248 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Paul Webster wrote: > I just had a quick look at the code and it seems to rely on the server > having the Playlist directory being configured. > Do you have one configured and is it present and writeable by LMS? This will be key, and has burned me before when migrating to a new server and copying files over. LMS needs write access to the playlist directory for PlayLog to log data. IIRC there were only two directories which LMS was expected to have writer privileges for: the playlist directory and the cache directory. I chose the playlist directory because I thought many users might from time to time delete their cache directories but would be unlikely to empty their playlist directories. owner of the stuff at https://tuxreborn.netlify.com/ (which used to reside at www.tux.org/~peterw/) Note: The best way to reach me is email or PM, as I don't spend much time on the forums. *Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
I just had a quick look at the code and it seems to rely on the server having the Playlist directory being configured. Do you have one configured and is it present and writeable by LMS? Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
I have no experience of this plugin and do not have it installed so this is just speculation on my part. Perhaps it does not have write access to wherever it is configured to place the PlayLog log data. Folder or file permissions issue maybe. Paul Webster http://dabdig.blogspot.com Author Radio France (FIP etc) plugin Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
peterw wrote: > Please check the server log after restarting LMS to see if it contains > any hints. Thanks, Peter, for pointing me to the logs. I should have thought of that, but I'm not used to this kind of debugging. I found the log file at /var/log/squeezeboxserver/server.log and I'm seeing loads of these: Code: [19-11-16 12:26:22.5467] Plugins::PlayLog::Plugin::logSongInfo (439) unable to create song log as UTF-8, creating with unspecified $ [19-11-16 12:26:22.5474] Plugins::PlayLog::Plugin::logSongInfo (441) unable to create song log But what does it mean? peterw wrote: > Over here I'm running version 2.1.46 on LMS 7.9.2 - 1557815622. That's > a fairly new release of PlayLog (May of this year) so you might check > that, too, and consider adding my "tux reborn" repo to your settings to > stay up-to-date. But I expect it should work OK, respect your old > settings, and be able to use the data it previously logged. > Yes, it is using (or at least displaying) the data I previously logged. But it is not logging any new data. I guess the log entries above say why. I am also running the latest version of playlog (v2.1.46) but on a somewhat older build than you: LMS Version: 7.9.2 - 1545026161 @ Mon Dec 17 07:16:24 CET 2018. *Server*: LMS 7.9.2 on an Ubuntu 18.04 home server *Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms *Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller (Android) *Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music, Custom Browse, Spotty, Multi Library chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
chaug wrote: > This plugin has been working fine for me over the years but in August > 2018 it stopped logging. Since this was the time when I switched to a > new machine and upgraded to LMS version 7.9.2 (I think before I was on > 7.3 or 7.5), so I suspect that the reason for it no longer working is > connected to that. But is it that I made a mistake when migrating or > does the plugin simply not work with 7.9.2? Can anyone confirm? Please check the server log after restarting LMS to see if it contains any hints. Over here I'm running version 2.1.46 on LMS 7.9.2 - 1557815622. That's a fairly new release of PlayLog (May of this year) so you might check that, too, and consider adding my "tux reborn" repo to your settings to stay up-to-date. But I expect it should work OK, respect your old settings, and be able to use the data it previously logged. Most recent changes, from my repo data: 2.1.46: fix bug detected with logging Don't Stop The Music; 2.1.45: fix URL truncation in list, update search URLs; 2.1.42: address deprecation warnings in newer Perl versions; -Peter owner of the stuff at https://tuxreborn.netlify.com/ (which used to reside at www.tux.org/~peterw/) Note: The best way to reach me is email or PM, as I don't spend much time on the forums. *Free plugins:* AllQuiet Auto Dim/AutoDisplay BlankSaver ContextMenu DenonSerial FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
This plugin has been working fine for me over the years but in August 2018 it stopped logging. Since this was the time when I switched to a new machine and upgraded to LMS version 7.9.2 (I think before I was on 7.3 or 7.5), so I suspect that the reason for it no longer working is connected to that. But is it that I made a mistake when migrating or does the plugin simply not work with 7.9.2? Can anyone confirm? *Server*: LMS 7.9.2 on an Ubuntu 18.04 home server *Players*: Radio, Touch, Duet (Receiver & Controller), 2 Booms *Remote control apps*: iPeng (iOS), SqueezePad (iOS), Squeezecontroller (Android) *Important plugins*: Trackstat, Spicefly Sugarcube, Lazy Search Music, Custom Browse, Spotty, Multi Library chaug's Profile: http://forums.slimdevices.com/member.php?userid=47641 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
nik8;431140 Wrote: I had exactly the same problem and traced it down to bad chars in the comment field of some of my tracks: commentThe celebrated snip COMM ÿà %amp;apos;()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz Â¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÃÃÃà ÃÃÃÃÃÃÃÃÃÃÃÃÃÃáâãäåæçèéêñòóôõö÷øùúÿà ÿà $4á%ñamp;apos;()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz Â¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÃÃÃà ÃÃÃÃÃÃÃÃÃÃÃÃÃÃâãäåæçèéêòóôõö÷øùúÿÃ/comment If I removed these values it works fine. Peter, is there any way of filtering this out during log writing? Am I right to assume it's a UTF encoding issue? Or just plain bad chars in the file tags? thanks N Just chiming in here - I had the exact same problem and the source was some WGBH classical podcast tracks with characters in the comments that didn't pass valid-XML muster (xmllint sussed them out pretty easily). If I find time to noodle with an xmllint clean-up cron job or something, I'll post back. Peter - if you can put fixing this on your to-do list for a future version it would be nice. -Matt -- MJP MJP's Profile: http://forums.slimdevices.com/member.php?userid=30501 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
MJP;458930 Wrote: Just chiming in here - I had the exact same problem and the source was some WGBH classical podcast tracks with characters in the comments that didn't pass valid-XML muster (xmllint sussed them out pretty easily). If I find time to noodle with an xmllint clean-up cron job or something, I'll post back. Thanks. Matt, what platform are you on? I'll definitely try to check this out soon, as clearly it's a bigger problem than the deprecation warnings most of my plugins trigger in 7.4. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
peterw;458984 Wrote: Thanks. Matt, what platform are you on? I'll definitely try to check this out soon, as clearly it's a bigger problem than the deprecation warnings most of my plugins trigger in 7.4. Hi Peter - I'm running SC Version: 7.3.3 - 27044 / PlayLog 2.1.36 on CentOS 5.3. PlayLog 2.1.33 was installed when I first noticed the problem. Let me know if you want to know versions of other packages. -Matt -- MJP MJP's Profile: http://forums.slimdevices.com/member.php?userid=30501 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
alphagamma;424687 Wrote: Thanks for the new version, this is the error I get: [09-05-19 15:10:42.6101] Slim::Networking::IO::Select::select (271) Error: Select task failed: not well-formed (invalid token) at line 874, column 10, byte 29355 at /usr/share/squeezecenter/CPAN/XML/Parser.pm line 187 I had exactly the same problem and traced it down to bad chars in the comment field of some of my tracks: commentThe celebrated snip COMM ÿà %amp;apos;()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz Â¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÃÃÃà ÃÃÃÃÃÃÃÃÃÃÃÃÃÃáâãäåæçèéêñòóôõö÷øùúÿà ÿà $4á%ñamp;apos;()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz Â¢£¤¥¦§¨©ª²³´µ¶·¸¹ºÃÃÃà ÃÃÃÃÃÃÃÃÃÃÃÃÃÃâãäåæçèéêòóôõö÷øùúÿÃ/comment If I removed these values it works fine. Peter, is there any way of filtering this out during log writing? Am I right to assume it's a UTF encoding issue? Or just plain bad chars in the file tags? thanks N -- nik8 nik8's Profile: http://forums.slimdevices.com/member.php?userid=9946 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
You probably already know this but it's not working with the new 7.4 as of last night as far as I know. I'm assuming since the new database but not sure. Just tried it right now and nothing from the web interface on XP and firefox. I can read the log file in notepad but not in the browser. It's logged current songs but not sure why I can't read it in the web interface. I tried opening it in explorer but said it had a top level error which I have no idea what that means. Anyway some feedback for you. :) -- Nonreality -IF THE RULE YOU FOLLOWED BROUGHT YOU TO THIS, OF WHAT USE IS THE RULE.- HTTP://www.last.fm/user/nonreality Nonreality's Profile: http://forums.slimdevices.com/member.php?userid=15723 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Nonreality;425352 Wrote: You probably already know this but it's not working with the new 7.4 as of last night as far as I know. I'm assuming since the new database but not sure. Just tried it right now and nothing from the web interface on XP and firefox. I can read the log file in notepad but not in the browser. It's logged current songs but not sure why I can't read it in the web interface. I tried opening it in explorer but said it had a top level error which I have no idea what that means. Anyway some feedback for you. :) I haven't tried a recent (sqlite) 7.4 build yet. Opening the file yields results I'd expect -- the .xml files aren't really valid XML. They have lots of song elements, but to be valid XML their should be a containing element. The web UI wraps the song elements inside a songdata element for the Download XML link. Are you running SqueezeCenter on Windows? I imagine this could be a Byte Order Mark bug -- I've seen Windows dislike UTF-8 files that don't contain a BOM marker, but I wouldn't expect most CPAN code to care. Any interesting messages in the server log when you try to access the web interface for PlayLog? -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Seems to be fixed, I just deleted the .xml file and let it create a new one. -- alphagamma alphagamma's Profile: http://forums.slimdevices.com/member.php?userid=19210 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
alphagamma;425010 Wrote: Seems to be fixed, I just deleted the .xml file and let it create a new one. Good, that's encouraging. Now a good test would be to play something whose metadata includes non-Euro characters. If there's still an encoding problem, you might see it with simple names like Peña, but there's a chance that might work OK due to your OS using something like ISO-8859-1 8-bit encoding. You're more likely to find any remaining encoding problems with Kanji, Arabic, Korean, Sanskrit, whatever you can find that's nothing like simple US ASCII letters. :-) -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Thanks for the new version, this is the error I get: [09-05-19 15:10:42.6101] Slim::Networking::IO::Select::select (271) Error: Select task failed: not well-formed (invalid token) at line 874, column 10, byte 29355 at /usr/share/squeezecenter/CPAN/XML/Parser.pm line 187 -- alphagamma alphagamma's Profile: http://forums.slimdevices.com/member.php?userid=19210 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
peterw;422004 Wrote: Ugh. You'll see that sort of behavior when a plugin has code that crashes when attempting to handle a web request. Normally SqueezeCenter will log a helpful error message in the server log when that happens. Would you mind trying again and letting me know what turns up in the log? Do you have a folder in your playlists folder named PlayLogSongLogs? Does it contain files with names like 200905.xml? Yes. But the server.log shows nothing. -- alphagamma alphagamma's Profile: http://forums.slimdevices.com/member.php?userid=19210 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
alphagamma;423276 Wrote: Yes. But the server.log shows nothing. Ok, time for more fiddling. Thanks for the update I'll post when I have a new build for you to test. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
alphagamma;420903 Wrote: Hmm it seems now I have new problem: I'm unable to open Log of songs played, keeps waiting, no idea for what. Ugh. You'll see that sort of behavior when a plugin has code that crashes when attempting to handle a web request. Normally SqueezeCenter will log a helpful error message in the server log when that happens. Would you mind trying again and letting me know what turns up in the log? Do you have a folder in your playlists folder named PlayLogSongLogs? Does it contain files with names like 200905.xml? -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Hmm it seems now I have new problem: I'm unable to open Log of songs played, keeps waiting, no idea for what. -- alphagamma alphagamma's Profile: http://forums.slimdevices.com/member.php?userid=19210 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
alphagamma;419652 Wrote: Ah I see there is a problem in your if structure, I changed it to: ... Now it works :) Ah, that's great to hear. Thanks for diving finding my goof. I've got a new version in my testing repo/dir now, but I won't push it to the stable repo/dir until I'm able to test it on my main system here. Have you tried selecting a few songs and saving to custom log files? The Web.pm code also tried explicit UTF-8, but I think my fallback logic there should be OK, e.g. Code: if ( open(F, :encoding(UTF-8), $file) || open(F, $file) ) { Thanks! -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
peterw;419563 Wrote: Could you try version 2.1.34? If you're running 7.3, use this URL for Extension Downloader: http://www.tux.org/~peterw/slim/slim7/repodata-test.xml If you want or need to install manually, go here: http://www.tux.org/~peterw/slim/slim7/TESTING/PlayLog/ This new version falls back to file open() calls that don't explicitly set UTF-8 as the encoding mode. I hope that will resolve the problem, but don't have any way to test it myself. -Peter Thanks! will try it out now. -- alphagamma alphagamma's Profile: http://forums.slimdevices.com/member.php?userid=19210 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Could you try version 2.1.34? If you're running 7.3, use this URL for Extension Downloader: http://www.tux.org/~peterw/slim/slim7/repodata-test.xml If you want or need to install manually, go here: http://www.tux.org/~peterw/slim/slim7/TESTING/PlayLog/ This new version falls back to file open() calls that don't explicitly set UTF-8 as the encoding mode. I hope that will resolve the problem, but don't have any way to test it myself. -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
I have the same problem: [09-04-28 02:42:50.2144] Plugins::PlayLog::Plugin::logSongInfo (419) unable to create song log [09-04-28 02:49:12.0139] Plugins::PlayLog::Plugin::logSongInfo (419) unable to create song log [09-04-28 02:54:09.3978] Plugins::PlayLog::Plugin::logSongInfo (419) unable to create song log [09-04-28 03:00:07.5247] Plugins::PlayLog::Plugin::logSongInfo (419) unable to create song log [09-04-28 03:06:51.7040] Plugins::PlayLog::Plugin::logSongInfo (419) unable to create song log [09-04-28 03:11:52.8445] Plugins::PlayLog::Plugin::logSongInfo (419) unable to create song log [09-04-28 03:16:47.2744] Plugins::PlayLog::Plugin::logSongInfo (419) unable to create song log [09-04-28 03:21:05.9741] Plugins::PlayLog::Plugin::logSongInfo (419) unable to create song log [09-04-28 03:28:48.7797] Plugins::PlayLog::Plugin::logSongInfo (419) unable to create song log [09-04-28 03:33:56.7688] Plugins::PlayLog::Plugin::logSongInfo (419) unable to create song log -- alphagamma alphagamma's Profile: http://forums.slimdevices.com/member.php?userid=19210 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
eponymous;382567 Wrote: I am able to save playlists and I can see the PlayLogSongLogs directory in my playlists directory. The permissions for the PlayLogSongLogs were originally different from the playlist folder itself. I modified the permissions as you suggested, but the error persisted. I then deleted the PlayLogSongLogs directory and re-created it in the same way I'd originally created the playlists folder (over AFP), but the problem remains; I'm still getting the same error message in the log file. Try deleting the PlayLogSongLogs folder and letting PlayLog recreate it. If that doesn't work, I'll have to release a new build with more verbose debugging around this error. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Hello, I am running SqueezeCenter 7.3.1 on a ReadyNAS Duo. I've installed PlayLog v0.7a32. I've got CURRENT SONG LOGGING set to All Tracks, but the log of songs played just says Nothing to show. Checking the SqueezeCenter log, I see numerous messages like the following: [09-01-10 15:02:49.1517] Plugins::PlayLog::Plugin::logSongInfo (420) unable to create song log Any suggestions? Thanks. -- eponymous eponymous's Profile: http://forums.slimdevices.com/member.php?userid=22891 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
eponymous;382466 Wrote: I am running SqueezeCenter 7.3.1 on a ReadyNAS Duo. I've installed PlayLog v0.7a32. I've got CURRENT SONG LOGGING set to All Tracks, but the log of songs played just says Nothing to show. Checking the SqueezeCenter log, I see numerous messages like the following: [09-01-10 15:02:49.1517] Plugins::PlayLog::Plugin::logSongInfo (420) unable to create song log Are you able to save playlists? In your playlist directory, do you see a directory named PlayLogSongLogs? Can you get the permissions on that file, and see how they compare to the playlist directory? It sounds like you probably have the PlayLogSongLogs directory (or you'd see unable to create logging directory messages), but it probably doesn't have the right permissions for PlayLog to create text files inside there (it tries to create files with names like 200901.xml). You may need to SSH to the ReadyNAS device and manually fix the permissions, preferably making them match the playlists directory, but a Code: chmod -R a+rwX PlayLogSongLogs (after using 'cd' to get to the playlist dir) should certainly fix the problem. Unless it's something really ugly like ReadyNAS' Perl not liking PlayLog specifying that UTF-8 encoding should be used for the XML contents... Let me know! -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KidsPlay KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Thanks for the quick response! I am able to save playlists and I can see the PlayLogSongLogs directory in my playlists directory. The permissions for the PlayLogSongLogs were originally different from the playlist folder itself. I modified the permissions as you suggested, but the error persisted. I then deleted the PlayLogSongLogs directory and re-created it in the same way I'd originally created the playlists folder (over AFP), but the problem remains; I'm still getting the same error message in the log file. Any more suggestions? -- eponymous eponymous's Profile: http://forums.slimdevices.com/member.php?userid=22891 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
I'm assuming that SC 7.3 is not supported, but I'm posting a repeating error that I'm getting in the server log to see if there is a way to avoid it. Slim::Control::Request::notify (2068) Error: Failed notify: Can't locate object method rate via package Slim::Player::Squeezebox2 at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Plugin.pm line 539. Thanks -- tamanaco tamanaco's Profile: http://forums.slimdevices.com/member.php?userid=4620 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
tamanaco;344306 Wrote: I'm assuming that SC 7.3 is not supported, but I'm posting a repeating error that I'm getting in the server log to see if there is a way to avoid it. I'm afraid you're right and there's no easy way to avoid that error -- SC 7.3 includes Alan's new-streaming improvements that make some API changes that plugins like PlayLog need to account for. I hope to release a version of PlayLog that detects what version of SC7 it's running in and works in 7.0 through 7.3.x, but I don't have a timeframe for that. SyncOptions is the only plugin I've even started looking at in 7.3. Along with PlayLog, I expect SaverSwitcher will need similar code changes for 7.3. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver ContextMenu FuzzyTime KitchenTimer PlayLog PowerCenter/BottleRocket SaverSwitcher SettingsManager SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Hi Peter - I've just found this on my lunch-time trawl through the forums, looks good; I'll try it over the weekend. And whilst I'm on a big thank you for SyncOptions and StatusFirst plug-ins - despite running an SB3 for months now I've never put more than LazySearch on it, and now I'm hooked (and I swore I would just use the thing to play music on, not fiddle with...) ...and I've just found SaverSwitcher on your page, too! What a busy weekend I'm in for!! -- moley6knipe 2 x SqueezeBox 3 | 1 x SqueezeCenter 7 | 1 x Win XP Pro SP2 | 1 x Happy listener :-) moley6knipe's Profile: http://forums.slimdevices.com/member.php?userid=10014 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
sellars;291808 Wrote: I really like it! Some suggestions to make it even cooler: - have the user choose which search engine should be used. My personal preference is google over yahoo - add rateyourmusic.com - (this is my main source for covers) Cheers!! Thanks for the kind words. Yes, it would be nice to let users (en|dis)able search options, and add some of their own. Absent that, I'm trying to keep the list from getting too long. I chose Yahoo in part because I feel like I use Google too much! Currently, editing the list and adding more requires editing Plugins/PlayLog/Web.pm, and modifying the %actionLinks hashtable. You'd want to add something like 'Google web' = 'http://www.google.com/search?q=SOME_PHRASE', 'rateyourmusic (artist)' = 'http://rateyourmusic.com/search?searchterm=SOME_PHRASEamp;searchtype=a', 'rateyourmusic (release)' = 'http://rateyourmusic.com/search?searchterm=SOME_PHRASEamp;searchtype=l', and restart SqueezeCenter. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Hi Peter, I just saw that plugin, installed it and it works fine (SqueezeCenter Version: 7.0.1 - 17897 - Windows XP - EN - cp1252). I really like it! Some suggestions to make it even cooler: - have the user choose which search engine should be used. My personal preference is google over yahoo - add rateyourmusic.com - (this is my main source for covers) Cheers!! -- sellars sellars's Profile: http://forums.slimdevices.com/member.php?userid=525 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
I renamed a couple PlayLog preferences in 7a17 but forgot to add conversion code, so anyone who used 7a16 or earlier should use the Web or player/IR UI to set your logging mode again. Sorry! -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
So far so good... Peter, is it possible to have an option or by default have the Paylog page open in a separated browser Window/Tab? I feel that using Playlog and managing my Library and Player using the browser are completely different activities which I want to do concurrently in the same browser instance. (It is very convenient to flip from Tab to Tab) I Force Paylog and the Server Setting into a separate Tabs in the same browser instance by pressing Ctrl before I click their links. But... most times I forget to press Ctrl. The Server Settings opens a separate browser instance by default, but with Payload the Home Page and Player Window are completely replaced. What do you think? Great work, btw -- tamanaco tamanaco's Profile: http://forums.slimdevices.com/member.php?userid=4620 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
I tried the latest build of the plugin (16) but no luck. it still lists nothing. My system is osx 10.4.10 with squeezecenter 7.0.1 in my cache folder is a slimserver folder (not squeezecenter-don't know if that's a problem) and inside there is the playlog folder but it's empty so there's no xml file at all. any ideas? -- exile exile's Profile: http://forums.slimdevices.com/member.php?userid=4579 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
studley;285934 Wrote: I like your idea for == and ** selection. I look forward to trying it out. I just uploaded 7a16, which adds filtering. Only one = or *; two looked too odd. Please let me know what you think. -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
peterw;286715 Wrote: Yes, it does. I tried a few skins, and the only one that was really bad was Fishbone, as Fishbone expects a dark background and the PlayLog code explicitly sets light background colors. With Fishbone, you end up with bad combinations like white and yellow text on white and very light colored backgrounds -- somewhere between painful and impossible to read. But PlayLog is fine in the Default skin. It's also now fine in Internet Explorer 6 -- early versions used some CSS that didn't work so well in IE6 (or Default). But the last few take a different approach that works well even in IE6. -Peter Peter using Paylog 7a14 on SC7.01 04-02-08 build I could not get Paylog to display any log info about the songs I had played in my SB3 using the Default skin. See Pic.(SB3 setting - All Tracks: Enabled) When I switched to the Classic skin I was able to display all the information and links as advertized. I had installed a couple previous versions of Payload and never got it to work on the default skin. Also the sample screens I have seen have been using the Classic skin. That's why I assumed the Plugin was not designed to work in the Default skin. Today, for some reason, whenever I click on Paylog I don't get anything using either the Classic or Default skins. I get the following error in the server log. I also rebooted and installed today's 7.01 build with the same result. Any suggestions? [08:19:21.3727] Slim::Networking::Select::select (245) Error: Select task failed: Can't use string ( g g g ) as a HASH ref while strict refs in use at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 316. Also, I noticed that the Paylog icon under Extras is the same icon used by the OPML Playlist. Is this right? Thanks +---+ |Filename: Paylog1.jpg | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=4765| +---+ -- tamanaco tamanaco's Profile: http://forums.slimdevices.com/member.php?userid=4620 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
i have the same problem as tamanaco. i haven't checked out the log yet but my playlog looks identical to tamanaco's snapshot. my system is osx 10.4.10 squeezecenter 7.0.1 latest build of playlog (4.2.08) -- exile exile's Profile: http://forums.slimdevices.com/member.php?userid=4579 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
exile tamanaco -- sorry for the trouble, and thanks for the feedback. I think the no data problem might be a result of having an empty XML log file -- certainly there are some spots in Web.pm where I could have done more error handling. Can you check your SqueezeCenter Cache directory for a PlayLogSongLogs directory, and check that for MM.xml files? PlayLog by default will try the MM.xml file for the most recent month, and if that file exists but has no song elements, you might end up at that error condition (though on my Linux system it handles a file with no song elements fine). I've posted an untested new release, 7a14b, that adds more error handling and should resolve that HASH reference error. Displaying in Classic but not Default skin -- what browser are you using? IIRC, Default expects XHTML tags, and I wouldn't be surprised if my HTML template has some content-less tags that don't have proper / close tags. Perhaps you're using a browser that's more strict about XHTML tagging than I've tested with. Release 7a14c fixes a couple of these improperly closed tags, but there may be other problems. Like 7a14b, it's untested. The menu icon is probably fine. I didn't try to specify the icon, so I expect that SqueezeCenter defaults to using the same icon as the OPML playlist. -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Peter, I'm running SC7.01 server on a PC with Windows XP and using IE7 as a browser from a PC running Vista. Tried both 7a14b and 7a14c, but they did not load. I got the following messages in the server log. [13:32:06.4378] Slim::bootstrap::tryModuleLoad (266) Warning: Module [Plugins::PlayLog::Plugin] failed to load: syntax error at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 318, near ) { Global symbol @songs requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 322. Global symbol $songcount requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 335. Global symbol $client requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 347. Global symbol $musicdir requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 347. Global symbol %faveHash requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 347. Global symbol $songJSDefs requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 352. Global symbol $songJSDefs requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 358. Global symbol $songJSDefs requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 365. Global symbol $params requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 374. Global symbol $songJSDefs requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 378. Global symbol $params requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 379. Global symbol $params requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 380. Global symbol $songJSDefs requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 380. Global symbol $params requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 381. Global symbol $songcount requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 381. Global symbol $params requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 382. Global symbol $params requires explicit package name at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 383. syntax error at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 384, near } C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm has too many errors. Compilation failed in require at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Plugin.pm line 8. BEGIN failed--compilation aborted at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Plugin.pm line 8. Compilation failed in require at (eval 1194) line 2. BEGIN failed--compilation aborted at (eval 1194) line 2. -- tamanaco tamanaco's Profile: http://forums.slimdevices.com/member.php?userid=4620 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Peter, I just read this thread and tried PlayLog myself. I am seeing the same thing and am still running 7a13. It looks like I was running 7a9 last when it WAS working (in the default skin). I have to run and don't have time to explore but perhaps you may find an answer in the changes leading up to 7a13. I will experiment more and look at the logs later when I have some free time. Hope this helps, David -- studley The Guide is definitive. Reality is often inaccurate. Know my music... know me. http://www.last.fm/user/dstudley http://www.pandora.com/people/studley3 studley's Profile: http://forums.slimdevices.com/member.php?userid=6441 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
studley;287073 Wrote: Peter, I just read this thread and tried PlayLog myself. I am seeing the same thing and am still running 7a13. It looks like I was running 7a9 last when it WAS working (in the default skin). I have to run and don't have time to explore but perhaps you may find an answer in the changes leading up to 7a13. I will experiment more and look at the logs later when I have some free time. Hope this helps, David I think David has something here. The last time I actually saw Paylog stuff in the Default skin was when I tried 7a9 or 7a10. I just installed 7a14e-untested. I removed the .xml files in the PlaylogSongLog folder and played a few songs from the SB3. I then tried to access the data using the Default skin, but got the same blank screen I posted earlier. I then switched to the Classic skin and also found the Paylog page with no content. I then reloaded the the page and the songs that was playing and subsequent songs appeared in the Paylog page. There was no history of the two or three previous songs I had played. I reversed to the Default skin and nothing... the same blank screen. If I restart the server and I don't remove the .xml file from the PlayLogSongLog I get the following message in the server log when I try to access Paylog from either skin. [15:21:02.9403] Slim::Networking::Select::select (245) Error: Select task failed: Can't use string ( - 468 bytes -- ) as a HASH ref while strict refs in use at C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Web.pm line 318. -- tamanaco tamanaco's Profile: http://forums.slimdevices.com/member.php?userid=4620 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
What a day! OK, please try 7a15, which addresses a few things: - IE7 problems: with certain conditions (no files, empty files, etc.), some Javascript variables were not initialized properly. This should be fixed. The display is also smarter in no-file and no-song conditions, hiding things like Download XML and [Select all] when they make no sense. - layout problems with the Default skin: CSS changes I made to appease IE6 weren't so great with Default -- especially for the Search and Add/Play popups. Now the web UI treats Default specially, so this should be fixed, too. - running in newer versions than 7.0. The install.xml file should now allow this to run in 7.1, for those of you running bleeding edge SC7 code. It's still no good in Fishbone, but frankly I think I may ignore that unless/until I hear that some Fishbone user is trying out PlayLog. :-) -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Ok... installed 7a15 and it appears to be working in the Default skin. No errors in the server log. Will test it a bit more tomorrow. -- tamanaco tamanaco's Profile: http://forums.slimdevices.com/member.php?userid=4620 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
tamanaco;287223 Wrote: Ok... installed 7a15 and it appears to be working in the Default skin. No errors in the server log. Will test it a bit more tomorrow. Working again for me, too. Thanks! -- studley The Guide is definitive. Reality is often inaccurate. Know my music... know me. http://www.last.fm/user/dstudley http://www.pandora.com/people/studley3 studley's Profile: http://forums.slimdevices.com/member.php?userid=6441 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Does this plugin work in the Default Skin? Thanks -- tamanaco tamanaco's Profile: http://forums.slimdevices.com/member.php?userid=4620 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
tamanaco;286462 Wrote: Does this plugin work in the Default Skin? Yes, it does. I tried a few skins, and the only one that was really bad was Fishbone, as Fishbone expects a dark background and the PlayLog code explicitly sets light background colors. With Fishbone, you end up with bad combinations like white and yellow text on white and very light colored backgrounds -- somewhere between painful and impossible to read. But PlayLog is fine in the Default skin. It's also now fine in Internet Explorer 6 -- early versions used some CSS that didn't work so well in IE6 (or Default). But the last few take a different approach that works well even in IE6. -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
I've finally put up an informational page, and made an online demo of the Web UI for PlayLog: http://www.tux.org/~peterw/slim/PlayLog.html The Select all/Unselect all feature isn't actually in 7a12 yet, but it should be there soon... -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
This is such a nice addition Peter! A couple of wish list items for your consideration. 1) Could you add a search of allmusic.com? 2) When players are synced you get duplicate entries of everything logged. Could you either have settings for individual players or have the log show (filter) for a single player? Thanks, David -- studley The Guide is definitive. Reality is often inaccurate. Know my music... know me. http://www.last.fm/user/dstudley http://www.pandora.com/people/studley3 studley's Profile: http://forums.slimdevices.com/member.php?userid=6441 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
studley;285916 Wrote: This is such a nice addition Peter! A couple of wish list items for your consideration. 1) Could you add a search of allmusic.com? 2) When players are synced you get duplicate entries of everything logged. Could you either have settings for individual players or have the log show (filter) for a single player? Thanks! 1) How does this mockup look? http://www.tux.org/~peterw/slim/playlog-demo/songlist2.html The allmusic search works best with only one box checked, as allmusic makes you tell it whether to search by Artist, Song, or Album. They also have buggy URL decoding, so I had to add code to strip the double-quotes that PlayLog normally uses to surround each phrase. :-/ 2) Filtering is definitely something I want to add. I've been thinking I'd add a simple == link next to each item to filter to only entries with that value in that column, and the == would change to something like ** for the link to remove that filter. Making per-player prefs would be easy, but I'm hesitant to do that b/c having to sync the per-player settings on my different players is a pet peeve of mine. :-) -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
peterw;285927 Wrote: Thanks! 1) How does this mockup look? http://www.tux.org/~peterw/slim/playlog-demo/songlist2.html The allmusic search works best with only one box checked, as allmusic makes you tell it whether to search by Artist, Song, or Album. They also have buggy URL decoding, so I had to add code to strip the double-quotes that PlayLog normally uses to surround each phrase. :-/ The mockup looks (and works) great. I have a love/hate relationship with AMG, but they are usually my first go-to when I want to explore and 'play' with my music. Their search is terrible. Their site is slow and littered with ads. Their acquisition by Macrovision has me pessimistic about the situation improving. But, I enjoy their reviews and am fascinated by their characteristic data. peterw;285927 Wrote: 2) Filtering is definitely something I want to add. I've been thinking I'd add a simple == link next to each item to filter to only entries with that value in that column, and the == would change to something like ** for the link to remove that filter. Making per-player prefs would be easy, but I'm hesitant to do that b/c having to sync the per-player settings on my different players is a pet peeve of mine. :-) -Peter This is not a big deal for me (it's only some duplicated lines), but I can see the additional benefits with filtering, so that's the way I would choose to go. The per-player settings would be a waste (especially considering it isn't 'your thing') unless there were other compelling benefits. I like your idea for == and ** selection. I look forward to trying it out. Thanks again, David -- studley The Guide is definitive. Reality is often inaccurate. Know my music... know me. http://www.last.fm/user/dstudley http://www.pandora.com/people/studley3 studley's Profile: http://forums.slimdevices.com/member.php?userid=6441 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
peterw;278226 Wrote: Features I'd like to add later include: - the option to click on a URL and use a pop-up window to choose a player on which to play that URL 7a10 adds this (gives play and add options), as well as better display of URLs in the web UI and better handling of URLs that are known favorites, and identifying Internet Radio stations by their metainfo instead of ugly URLs. -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
peterw;278226 Wrote: Features I'd like to add later include: - the ability to copy or move entries to new PlayLog files (think copy info about songs Sean would like to my music for Sean file) 7a10, just posted, adds copy and move options -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Working great now, Peter. Thanks for the help. Cheers, David -- studley studley's Profile: http://forums.slimdevices.com/member.php?userid=6441 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Thanks Peter. I downloaded 7a9. No need to delete the Xml log. Paul -- gpp gpp's Profile: http://forums.slimdevices.com/member.php?userid=14653 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
There seems to be a problem with accented characters. PlayLog has a problem with the following XML block: song album24 Preludes and Fugues CD 1 (Disc 1)/album artistMûza Rubackyté/artist date2008/03/16 14:54:41/date duration2:25/duration guid1205675681-2470215/guid path/data/muziek/Cd/Klassiek/Shostakovich/Mûza Rubackyté plays Dimitri Shostakovich - 24 Preleudes and Fugues - 2cd/24 Preludes and Fugues CD 1/01-Prelude.flac/path playerId00:04:20:06:3b:b8/playerId playerNameSB3_Kamer/playerName time1205675681/time titlePrelude/title /song !-- 492 bytes -- The server log has this entry: [08-03-16 19:04:57.6521] Slim::Networking::Select::select (245) Error: Select task failed: not well-formed (invalid token) at line 979, column 10, byte 42775 at /usr/share/squeezecenter/CPAN/XML/Parser.pm line 187 Line 979 is the line with the date tag. -- gpp gpp's Profile: http://forums.slimdevices.com/member.php?userid=14653 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
gpp;280439 Wrote: There seems to be a problem with accented characters. Thanks. Björk to the rescue! version 7a8 now explicitly sets UTF-8 mode for the log files. I expect you *might* need to delete your existing XML log file, but hopefully not. -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
studley;279608 Wrote: I'm still encountering a problem with no entries in the log. I'm using 7a5 on 7.01. Please check out the following error message and let me know if I can provide further information. [08-03-14 10:34:18.2901] Plugins::SyncOptions::Logging::msg (91) timers: newSong: 00:04:20:06:b5:28/Closet playing Radio Paradise - DJ-mixed modern classic rock, world, electronica more - info: radioparadise.com http://scfire-chi0l-2.stream.aol.com/stream/1048Chrissie Hynde - I Shall Be Released URL [08-03-14 10:34:18.3143] Plugins::PlayLog::Plugin::logfileDir (287) unable to create logging directory [08-03-14 10:34:18.3148] Plugins::PlayLog::Plugin::logSongInfo (265) unable to create song log Thanks, David Peter, Thanks for your prompt responsiveness. I'm sorry to keep coming back to you on this but I am still unable to log anything. As a start, I'm wondering what that logging directory is that it's trying to create. It looks like an 'r', but it isn't. Could you please take another look? Thanks AGAIN, David. -- studley studley's Profile: http://forums.slimdevices.com/member.php?userid=6441 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
studley;279959 Wrote: Peter, Thanks for your prompt responsiveness. I'm sorry to keep coming back to you on this but I am still unable to log anything. As a start, I'm wondering what that logging directory is that it's trying to create. It looks like an 'r', but it isn't. Could you please take another look? Thanks AGAIN, David. Ok, now you've done it! I finally booted into Windows to test the code. I was trying too hard -- the Win32 code wasn't needed, and in fact seemed to cause problems. 7a7 fixes that, runs on Windows (SC 7.0 gold on Windows XP), and fixes another bug where the web page would choke if there was exactly one song in the selected log file. Sorry about the continued bugs, and please do keep the problem reports, suggestions, etc. coming. -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
I'm still encountering a problem with no entries in the log. I'm using 7a5 on 7.01. Please check out the following error message and let me know if I can provide further information. [08-03-14 10:34:18.2901] Plugins::SyncOptions::Logging::msg (91) timers: newSong: 00:04:20:06:b5:28/Closet playing Radio Paradise - DJ-mixed modern classic rock, world, electronica more - info: radioparadise.com http://scfire-chi0l-2.stream.aol.com/stream/1048Chrissie Hynde - I Shall Be Released URL [08-03-14 10:34:18.3143] Plugins::PlayLog::Plugin::logfileDir (287) unable to create logging directory [08-03-14 10:34:18.3148] Plugins::PlayLog::Plugin::logSongInfo (265) unable to create song log Thanks, David -- studley studley's Profile: http://forums.slimdevices.com/member.php?userid=6441 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Sorry, David. I see the problem now. I was trying to call Perl Win32 methods without importing the Win32 class. Version 7a6, untested, should fix that. Also 7a4 and earlier had a bug in the player UI code, so you should double-check your PlayLog behavior setting. Thanks sorry for the trouble. -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Downloading 7a6 gives me an error: Forbidden You don't have permission to access /~peterw/slim/slim7/PlayLog/PlayLog-7a6.zip on this server. -- gpp gpp's Profile: http://forums.slimdevices.com/member.php?userid=14653 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Fixed, thanks. -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Thanks. This looks promising. -- gpp gpp's Profile: http://forums.slimdevices.com/member.php?userid=14653 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
I just started trying to use PlayLog and am getting two error messages in the log and not getting anything logged: 1) [08-03-13 12:25:51.2878] Slim::Display::Display::string (808) Error: missing string MANUAL_ADJECTIVE [08-03-13 12:25:51.2887] Slim::Display::Display::string (808) Backtrace: frame 0: Slim::Utils::Log::logBacktrace (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Display/Display.pm line 808) frame 1: Slim::Display::Display::string (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Player/Player.pm line 153) frame 2: Slim::Player::Player::string (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Buttons/Input/Choice.pm line 413) frame 3: Slim::Buttons::Input::Choice::formatString (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Buttons/Input/Choice.pm line 449) frame 4: Slim::Buttons::Input::Choice::lines (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Display/Display.pm line 472) frame 5: (eval) (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Display/Display.pm line 472) frame 6: Slim::Display::Display::curLines (C:/Program Files/SqueezeCenter/server/Slim/Display/Squeezebox2.pm line 348) frame 7: Slim::Display::Squeezebox2::pushDown (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Player/Player.pm line 117) frame 8: Slim::Player::Player::pushDown (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Buttons/Input/Choice.pm line 376) frame 9: Slim::Buttons::Input::Choice::changePos (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Buttons/Input/Choice.pm line 197) frame 10: Slim::Buttons::Input::Choice::__ANON__ (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Hardware/IR.pm line 1006) frame 11: Slim::Hardware::IR::executeButton (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Control/Commands.pm line 157) frame 12: Slim::Control::Commands::buttonCommand (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Control/Request.pm line 1746) frame 13: (eval) (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Control/Request.pm line 1746) frame 14: Slim::Control::Request::execute (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Control/Request.pm line 815) frame 15: Slim::Control::Request::executeRequest (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Player/Client.pm line 563) frame 16: Slim::Player::Client::execute (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Hardware/IR.pm line 1027) frame 17: Slim::Hardware::IR::processCode (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Hardware/IR.pm line 726) frame 18: Slim::Hardware::IR::processIR (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Control/Commands.pm line 318) frame 19: Slim::Control::Commands::irCommand (C:/Program Files/SqueezeCenter/server/Plugins/PlayLog/Plugin.pm line 199) frame 20: Plugins::PlayLog::Plugin::PlayLog_irCommand (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Control/Request.pm line 1746) frame 21: (eval) (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Control/Request.pm line 1746) frame 22: Slim::Control::Request::execute (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Control/Request.pm line 815) frame 23: Slim::Control::Request::executeRequest (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Player/Client.pm line 563) frame 24: Slim::Player::Client::execute (/C:\Program Files\SqueezeCenter\server\squeezecenter.exeSlim/Hardware/IR.pm line 117) frame 25: Slim::Hardware::IR::idle (slimserver.pl line 479) frame 26: main::idle (slimserver.pl line 43) frame 27: PerlSvc::Startup (perlsvc line 851) frame 28: PerlSvc::_startup (slimserver.pl line 0) frame 29: (eval) (slimserver.pl line 0) [08-03-13 12:25:59.3901] Slim::Display::Display::string (808) Error: missing string MANUAL_ADJECTIVE [08-03-13 12:25:59.3910] Slim::Display::Display::string (808) Backtrace: MANUAL_ADJECTIVE shows up as a menu option on my SB3 2) [08-03-13 12:28:30.7666] Plugins::PlayLog::Plugin::logfileDir (287) unable to create logging directory [08-03-13 12:28:31.1855] Plugins::PlayLog::Plugin::logfileDir (287) unable to create logging directory And this is why nothing is being logged. Running 7.01 on an XP. Please let me know if I can provide further info. Cheers, David -- studley The Guide is definitive. Reality is often inaccurate. Know my music... know me. http://www.last.fm/user/dstudley http://www.pandora.com/people/studley3 studley's Profile: http://forums.slimdevices.com/member.php?userid=6441 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Thanks, studley. Sorry about that -- MANUAL_ADJECTIVE is defined in another one of my plugin's strings files. You might give the untested 7a3 version a go -- I've at least fixed that string bug (sadly, I had defined a PLAYLOG_MANUAL_ADJECTIVE string token, I just forgot to update the Perl code...) Thanks, Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
- letting users choose between different monthly log files (I need to do this before April arrives!) - the ability to delete specific entries from the web UI 7a4, just posted, adds these features. -Peter -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
erland;278455 Wrote: - How are the log stored ? Is it stored in the database or as a separate file ? - The web interface you are talking about is that only the SqueezeCenter web interface or is it something that could be published on an external web server ? The logs are XML files in a new directory (PlayLogSongLogs) inside the SC7 cache directory (the only place I thought I could assume my plugin would have write privileges). There's no formal DTD, but the document should be generally well-formed. It contains more data than the web page displays (time in time() format, a guid for a given song, other metadata). Once I really start looking at performance issues (logging is fast, but display of a 1000+ line log can take a few seconds, which is not good in a single-threaded app like SC7), I may want to move to using MySQL. Here's a sample entry for a local MP3 -- though PlayLog looks for additional metadata and logs it if available: Code: song albumRamones Mania/album artistRamones/artist commentComment from the ID3 tag/comment date2008/03/08 09:28:18/date duration2:29/duration guid1204986498-149804/guid path/path/to/ramones_mania/01_i_wanna_be_sedated.mp3/path playerIdaa:bb:cc:dd:ee:ff/playerId playerNameLocal/playerName time1204986498/time titleI Wanna Be Sedated/title /song Here's an Internet Radio (MP3 stream) sample: Code: song artistBr549/artist date2008/03/12 08:19:22/date displayedTitleBr549 - Seven Nights To Rock/displayedTitle guid1205324362-7712344/guid pathhttp://207.200.96.230:8014//path playerIdaa:bb:cc:dd:ee:ff/playerId playerNameLocal/playerName time1205324362/time titleSeven Nights To Rock/title /song The tabular HTML interface is built on SC7/TT APIs. You could probably save the HTML and republish it, esp. if you made a SC7 skin with simple pageheader/pagefooter templates (I'd also be happy to add SGML comments to facilitate this). The plugin also offers a SC7 URL for downloading the raw XML -- the XML file itself is a collection of song entities, and the Download XML link in the PlayLog web UI wraps those with a simple container element to appease XML::Simple and other parsers. I thought there would be interest in an export designed for spreadsheet programs, too, though I hadn't thought much about whether to include all XML data or just what's displayed on the web page. If you're interested (I was thinking of TrackStat), there is a public API for other plugins. Currently it's limited to asking PlayLog to record a normal entry for the song currently playing on a specific player, which only really makes sense if PlayLog is in Manual mode, or Internet Radio mode if the user's rating a local song (i.e., if PlayLog wasn't already logging as soon as each sog started) -- though certainly PlayLog could rewind in the XML log and re-write an entry, that's just a little more work. But my thought was that a user who wanted to rate a song favorably might want to record that fact for PlayLog. I've thought about the PlayLog API allowing calling plugins to do things like pass hashtable entries for adding additional tags, e.g. passing { 'trackstatRating' = 4 } might add trackstatRating4/trackstatRating to the XML file. Perhaps a more complex hashtable like { 'tagname' = 'trackstatRating', 'value' = '4', 'showInHTMLTable' = 1, 'htmlColumnSortable' = 1 , 'htmlColumnDefault = '', 'stringName' = 'TRACKSTAT_RATING' } would do that and tell PlayLog to do that and to display the TrackStat rating in the web page, allow the user to sort the HTML table by TrackStat rating, specfify to use a blank string for songs with no rating, and speficy the token to use with string() to internationalize the HTML table (and spreadsheet export). -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
Erland, thanks for the clarification. It'll probably be a couple weeks before I could look at using the database. Features I'd like to add later include: ... - sorting the table by columns (I thought I'd found something, but it didn't work in IE6; the pop-up search box is also not as nice as it should be because I coded down to IE6 standards) I just posted a new version that adds the abililty to sort the table, even in IE6. The search box is much better now in clients other than IE6 (due to an IE6 CSS limitation), and kinda stinks in the Default skin in IE6 (where you have to manually scroll up to the top of the page to see the search box). -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PlayLog PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
[SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
I've just uploaded a new plugin. No fancy info page yet. :-/ http://www.tux.org/~peterw/slim/slim7/PlayLog/ This plugin will log (automatically or only on request) info about the tracks you play. It adds a link to the SqueezeCenter home page for a web page listing the artist, title, album, date/time, player name, and URL for those tracks. Each artist, title, and album is hyperlinked to a box that lets you easily search online -- search for CDs or DRM-free MP3s at Amazon, search Google Products, Yahoo! Web, Wikipedia, or your local music collection. I find it most useful for Internet Radio, to keep track of what I heard and make it easier to buy CDs for artists I discover. The configuration is only accessible with the old Squeezebox Classic/Transporter player remote control interface -- no Squeezebox Controller UI yet. In manual mode, you can make the plugin log info about the current track by pressing Now Playing and then pressing the Right Arrow button within a few seconds. Don't want to log info, try Now Playing + Left + Right + Right to get the same effect without logging. And you can always use the player UI to set the logging mode to Disabled. Features I'd like to add later include: - letting users choose between different monthly log files (I need to do this before April arrives!) - sorting the table by columns (I thought I'd found something, but it didn't work in IE6; the pop-up search box is also not as nice as it should be because I coded down to IE6 standards) - filtering by columns (think Show only songs by this artist) - the ability to delete specific entries from the web UI - the ability to copy or move entries to new PlayLog files (think copy info about songs Sean would like to my music for Sean file) - the option to show only a certain number of tracks on one web page - the option to click on a URL and use a pop-up window to choose a player on which to play that URL - a Squeezebox Controller UI - remember the last 10 or so songs even in manual mode so you could log info about a track after the fact if not automatically logging the info already Below is a screenshot illustrating the search dialogue. -Peter +---+ |Filename: snapshot1.jpg| |Download: http://forums.slimdevices.com/attachment.php?attachmentid=4572| +---+ -- peterw http://www.tux.org/~peterw/ free plugins: http://www.tux.org/~peterw/#slim AllQuiet BlankSaver FuzzyTime PowerCenter/BottleRocket SaverSwitcher SleepFade StatusFirst SyncOptions VolumeLock peterw's Profile: http://forums.slimdevices.com/member.php?userid=2107 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: PlayLog -- log track info, easy web searches
- How are the log stored ? Is it stored in the database or as a separate file ? - The web interface you are talking about is that only the SqueezeCenter web interface or is it something that could be published on an external web server ? -- erland Erland Isaksson 'My homepage' (http://erland.homeip.net) 'My download page' (http://erland.homeip.net/download) (Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse, Custom Scan, Custom Skip, Multi Library and Database Query plugins' (http://wiki.erland.homeip.net/index.php/Category:SlimServer)) erland's Profile: http://forums.slimdevices.com/member.php?userid=3124 View this thread: http://forums.slimdevices.com/showthread.php?t=44582 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/lists/listinfo/plugins