Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
Morbeas wrote: I never knew about that /classic switch, awesome tip! I never knew there were supposed to be play buttons next to each track! And I always hated not having an option to play a specific song in the playlist and always just skipped! Is there any way to bring those play buttons to any of the other skins? I've been using the Default interface on the desktop for some time. It has the option for Additional Playlist Buttons in the Interface settings. I couldn't do without them. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
Morbeas wrote: I have that clicked and still don't see those buttons and never have! Any other suggestions? Though I'm using the DefaultCB skin, I wonder if that's the reason. Let me try with the regular version. Edit: Just tried with the regular Default skin and the result was the same. I've tried this on both IE and Chrome. Strange. I use Chrome, and Chromium, on 2 Linux systems and a Windows box, and Default provides those extra icons in the playlist provided you turn them on in the Interface and then hover over the playlist items. DefaultCB doesn't. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
Morbeas wrote: Wait, yes you're right. I forgot to hover my mouse! It works now, thank you. :) PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
mps wrote: I recently upgraded to LMS 7.7.2, and when I do a scan, the Settings Information page of the web interface no longer shows my Custom Scan taking place like it used to (just Discovering files..., Scanning new music files, Discovering playlists, Scanning new playlists, and Pre-caching artwork). I think a LMS scan causes a Custom Scan to take place (I'm not 100% sure because I manually fire off a lot of Custom Scans while hacking on menus). Should I be doing anything differently? Thanks, Mike There was an alpha version of the Custom Scan that was better integrated but it had some problems. With the standard Custom Scan and 7.7.2 or 7.8 the only way I can tell a Custom Scan is running is by looking at the Advanced, Custom Scan page. I have to say I avoid such scanning too often during the day if I can, since they now take around 3 hours. LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Linux Mint Debian controls server using Chromium. Squeezelite on Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: The first one is safe to ignore, it's just a warning because you run a newer version of Perl. The second one indicates that you have a Database Query report named workscount which contains invalid configuration data and won't be available. It shouldn't cause any problems but you can look in the directory which you have configured in Database Query settings page for a file called workscount.* and remove them or correct the syntax in them if you want to get rid of the message. I had foolishly left an old copy of a 'workscount' around, with a working version called something else. Only the working version showed in the browser list and I didn't spot the name difference. Careless Thanks. LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Linux Mint Debian controls server using Chromium. Squeezelite on Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
I'm running 7.8. In an attempt to clear up my server log so as to try and analyse some problems I came across this, every time LMS is started. It's been happening for many moons but I've previously ignored it. Code: Slim::Utils::Misc::msg (1304) Warning: [07:49:13.0371] Use of qw(...) as parentheses is deprecated at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomClockHelper/StyleSettings.pm line 167. Slim::Utils::Misc::msg (1304) Warning: [07:49:13.0683] Use of qw(...) as parentheses is deprecated at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomClockHelper/StyleSettings.pm line 970. And Code: Plugins::DatabaseQuery::ConfigManager::BaseParser::parseContentImplementation (501) Failed to parse configuration (workscount) because: mismatched tag at line 10, column 3, byte 454 at /usr/share/squeezeboxserver/CPAN/XML/Parser.pm line 187 Any thoughts? Are they safe to ignore? LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Linux Mint Debian controls server using Chromium. Squeezelite on Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
epoch1970 wrote: In short, what you want is possible. But I am afraid I do not know the best way of doing it. HTH I installed and run etherwake on my linux debian system to wake my vortexbox appliance from my laptop when not in the same room as my Logitech Touch (which wakes it automatically when it tries to connect). There are several similar tools for Windows (I have used Fusion WOL in the past). Running this obviously requires extra user input, but it's not exactly onerous once you have a command set up ready to run with a single click. I seem to recall that when I used squeezeplay it also sent wake packets (I now use squeezelite which doesn't do so). LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Linux Mint Debian controls server using Chromium. Squeezelite on Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
I have had an intermittent problem for some months now and have failed to track down the cause. I'm posting here on the off-chance that the cause might be related to plugins. What happens is that once in a while when I play a series of tracks, each track pauses briefly around 10 seconds before the end. A reboot of my server fixes the problem, until the next time, which could be in days or weeks. The LMS server log says nothing. The linux log likewise. The LMS scanner log has nothing either (just in case a scan had been triggered in some way). Having failed to find a cause I wondered whether there is anything in any of the additional plugins, such as trackstat, custom browse or custom scan that could be triggered just before the end of each track? Some of my custom browse menus (such as Works by Composer, much as your wiki on the classical topic proposes) can, on first selecting them, cause a heck of a lot of processing and disrupt any track currently playing, but once the data has been loaded into memory they don't cause any further bother, so I don't find this to be a problem. The intermittent and unexpected drop-out just before the end of each track is, however, quite maddening. I know I could turn on some more logging, but I have no idea what - there are so many logs to choose from, and since the problem is unpredictable I don't really want to fill up my system with useless logs. Apart from looking at plugins I have looked at loads of other things, including the format I'm sending the data in (FLAC or PCM), my wired network, the Touch firmware, and so on. Changes to these have made no difference whatsoever. So I'm pretty sure the problem is in the server since a reboot immediately fixes the problem without touching anything else. With apologies for even suggesting there could be an issue with the plugins, but I'm at a loss to know where else to look. LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Linux Mint Debian controls server using Chromium. Squeezelite on Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
The problem occurs however I select tracks, usually just using a menu item on custom browse (as opposed to a dynamic playlist). I have usually selected an album, or a work consisting of several movements, and have settled down to listen to the lot without touching anything at all. I think it's true to say I always have a browser window open, but I can't be 100% sure - it may have happened even without that (ie just using the Touch). I can see that dynamic playlists could, at times, cause delays, but it isn't that. I have never even heard of custom skip, so it won't be that. LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit, up to 192kbps. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Xubuntu controls server using Chromium. Squeezelite on Vortexbox, Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: When the next track starts to play, it will increase the play counts and sets the last time a track was played and optionally call MusicIP if you have the MusicIP Statistics Export enabled in Custom Scan settings page and write to iTunes export file if you have iTunes Statistics Export enabled in Custom Scan settings page. Are you using the iTunes or MusicIP export ? I'm not sure if the TrackStat actions might occur before the previous track has ended due to buffering. Could you temporarily enable debug logging of plugin.trackstat in LMS Settings/Advanced/Logging and post or mail me the server.log after you have played a few tracks ? You could also monitor the server.log and try to see if there are any TrackStat activities in the log before the next track starts to play. Thanks. I've no reason to suspect the plugins, but have run out of other ideas. I've no iTunes or MusicIP. I'll look at the server log with trackstat debug on and see what is happening when. LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit, up to 192kbps. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Xubuntu controls server using Chromium. Squeezelite on Vortexbox, Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
Thanks, but no. I think it must be related to my Vortexbox, possibly the fact that it hibernates and resumes a few times, but I'm pretty clueless, LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit, up to 192kbps. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Xubuntu controls server using Chromium. Squeezelite on Vortexbox, Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
garym wrote: Hmmm, why is the vortexbox hibernating and resuming? Have you set it up that way? My vortexbox is on 24/7 and never hibernates. Yes I have. I'm not sure why anyone would not do so. Leaving it on 24/7 seems enormously wasteful to me. I guess I have a postwar (II) habit drilled in to me that one should not, ever, ever, leave anything on that you don't need to, however small the consumption might be. LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit, up to 192kbps. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Xubuntu controls server using Chromium. Squeezelite on Vortexbox, Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
:-) LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit, up to 192kbps. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Xubuntu controls server using Chromium. Squeezelite on Vortexbox, Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
LazySqueeze wrote: I would like to let shaydon and bpa that this version _is_ working on newer versions of LMS and sox. I must be blind but I do not see an easy way to contact those members. I will delete this if a gentle soul helps me with that :) Cheers! If they don't see your reply here and you want to communicate directly you could send them a message using the 'Private Messages' function (top left). LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit, up to 192kbps. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Xubuntu controls server using Chromium. Squeezelite on Vortexbox, Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
When I boot up LMS 7.8, I typically get a sequence like that below. Is there any reason why the 'Install Custom Scan hooks' step takes some time? I don't have 'Startup refresh' on. Code: [13-12-06 21:02:26.5443] Plugins::CustomScan::Scanner::initDatabase (96) CustomScan: Creating database tables [13-12-06 21:02:26.5459] Plugins::CustomScan::Scanner::executeSQLFile (498) Executing SQL file /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomScan/SQL/SQLite/dbcreate.sql [13-12-06 21:02:26.7615] Plugins::CustomScan::Scanner::initDatabase (439) Creating indexes [13-12-06 21:02:26.7629] Plugins::CustomScan::Scanner::executeSQLFile (498) Executing SQL file /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/CustomScan/SQL/SQLite/dbindex.sql [13-12-06 21:02:26.8162] Plugins::CustomScan::Plugin::installHook (132) Installing Custom Scan hooks [13-12-06 21:03:06.2910] Plugins::SrvrPowerCtrl::Settings::new (209) Server Power Control, version 20120427.163654, is running on sbs version 7.8.0 on unix:RedHat, mac I also sometimes find that if I go to the 'various settings' menu item for configuring Custom scan, LMS completely freezes for a while. I think the following appeared at thee same time (but I only looked a little later). The second time I tried (without restarting LMS) it there was not delay or problem. Code: [13-12-06 21:09:50.9131] Slim::Networking::IO::Select::__ANON__ (147) Error: Select task failed calling Slim::Web::HTTP::processHTTP: illegal file descriptor or filehandle (either no attached file descriptor or illegal value): at /usr/lib/perl5/vendor_perl/Slim/Networking/IO/Select.pm line 150. ; fh=Slim::Web::HTTP::ClientConn=GLOB(0x101d57b0) LMS 7.8 on VortexBox Midi, FLACs 16 or 24 bit, up to 192kbps. Touch on Ethernet (in another room), digital out to a Musical Fidelity M1 CLiC. Old wireless laptop running Xubuntu controls server using Chromium. Squeezelite on Vortexbox, Ubuntu Windows desktops plus the laptop. Meridian Explorer USB DAC to listen directly to Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: You can try to temporarily enable debug level logging on TrackStat, Custom Scan and possibly also SQL Playlist and Custom Browse for the ones of these plugins you have installed. Make sure to check the Save logging settings for use at next application restart option and then restart LMS and look in the log afterwards, this should show what happens after the Install Custom Scan hooks step that takes time. Well nothing at all so far! Code: [13-12-09 14:06:56.2789] Plugins::CustomScan::Scanner::executeSQLFile (530) Executing SQL statement: [create index if not exists musicbrainzUrlIdCSIndex on tracks (musicbrainz_id,url,id);] [13-12-09 14:06:56.2803] Plugins::CustomScan::Plugin::installHook (132) Installing Custom Scan hooks [13-12-09 14:07:47.4986] Plugins::SrvrPowerCtrl::Settings::new (209) Server Power Control, version 20120427.163654, is running on sbs version 7.8.0 on unix:RedHat, mac [13-12-09 14:07:47.6219] Plugins::TrackStat::Plugin::initPlugin (2426) initialising [13-12-09 14:07:47.6242] Plugins::TrackStat::Plugin::installHook (3995) Hook activated. [13-12-09 14:07:47.6269] Plugins::TrackStat::Storage::init (158) Checking if track_statistics database table exists [13-12-09 14:07:47.6512] Plugins::TrackStat::Storage::init (444) Create database indexes [13-12-09 14:07:47.6526] Plugins::TrackStat::Storage::executeSQLFile (1985) Executing SQL file /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/TrackStat/SQL/SQLite/dbindex.sql I had debug on Custom Browse, Custom Scan, TrackStat and SQL Playlist. I then tried Multi Library and Server Power Control debug. It turns out that I had the Multi Library Startup Refresh setting switched on. I can't see why I'd need that so I've turned it off, which cut 40 seconds or so off the startup. I also had some settings related to synchronising players with mysqueezebox.com switched on under Server Power Control. I don't need that either. The only other thing I now note is a load of Code: [13-12-09 15:05:50.4393] Plugins::LicenseManagerPlugin::Plugin::validateLicense (142) Exiting validateLicense [13-12-09 15:05:50.7553] Plugins::LicenseManagerPlugin::Plugin::validateLicense (111) Entering validateLicense [13-12-09 15:05:50.7575] Plugins::LicenseManagerPlugin::Plugin::validateLicense (142) Exiting validateLicense [13-12-09 15:06:22.1065] Plugins::LicenseManagerPlugin::Plugin::validateLicense (111) Entering validateLicense [13-12-09 15:06:22.1078] Plugins::LicenseManagerPlugin::Plugin::validateLicense (142) Exiting validateLicense some of which seemed to have a long delay, but that may well be something else happening on the box. It's now much quicker to start, so thanks for the advice. I am content (for now :) LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
pnw wrote: I am trying to use VLC to capture the PC audio and stream it through LMS to a squeezebox receiver (attached to hifi system) I am running Ubuntu Linux 12.04 which has pulse audio by default and I don't really want to fiddle with this.. Any ideas? I have a similar set-up, and still have pulseaudio installed. To stream sound from websites in real time, and anything else playing on my Xubuntu 12.04 laptop, I set the default audio to be my internal sound system (the alsa_output... device) and run VLC as follows: cvlc pulse://alsa_output.pci-_00_1f.5.analog-stereo.monitor :sout='#transcode{vcodec=none,acodec=mp3,ab=320,channels=2,samplerate=44100}:http{dst=:8081/laptop.mp3}' :no-sout-rtp-sap :no-sout-standard-sap I then set my Squeezebox Touch to listen to http://192.168.1.n:8081/laptop.mp3 (where n is the last digit of the laptop's IP address). This seems to work reliably. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
pnw wrote: edit: To isolate the problem (i.e. LMS or VLC) - can you play the VLC mp3 stream on another system with a Browser or VLC, mplayer or a smartphone etc.. Yes - I can play the stream from another PC on my home network through a browser (to URL http:198.162.0.2:8079/st.mp3) so the stream from VLC seems to be working OK ref thread: sorry - I don't do this sort of thing much. Shall I delete and re-post as new? Have you tried the approach I suggested - not using parec and using the parameters I quoted? LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
pnw wrote: Yes - I was only using parec to test the audio capture I have tried your command line text (removing the space from channels) and modifying the port and dummy filename, but I get the same result. The problem appears to be from the LMS end? Apologies - I should have ensured that I put the command in a Code: box to eliminate extraneous spaces when I copied the command out. Your problem is a puzzle. I struggled with wavin, and settled on this method, using vlc, to overcome those issues. As bpa suggests you may want to start a new thread, and repost the essential elements of the problem. You might want to quote the LMS version (and VLC version) and any other details of the 'receiver'. If there are any messages on the LMS log at the same time you should post them as well. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] LMS does not play http audio stream from VLC media player
pnw wrote: After a good night's sleep, I was thinking about your previous post and decided to try a different test. I ran the VLC stream on my spare PC (on 192.168.0.3 to port 8079/st.mp3), and tuned into it from LMS running on main PC on 192.168.0.2. It played the stream no problem :) So, it appears to be related to your idea about problems running on the same PC. A random thought - since VLC and LMS are on the same PC, you might try using the loopback network address (127.0.0.1) instead of the 192... network address. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=100661 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] LMS does not play http audio stream from VLC media player
pnw wrote: It was the firewall ... ugh - sorry Here's the full working Ubuntu Linux command line I am now using to capture PC pulse audio and stream to local port 8079. cvlc --sout #transcode{acodec=mp3,ab=320,channels=2,samplerate=44100}:std{access=http,mux=raw,dst=:8079/st.mp3} pulse://alsa_output.pci-_00_1b.0.analog-stereo.monitor The local sound device was identified with pacmd list-sources | awk '/name:.+\.monitor/' Thanks for your help And thanks for sharing the solution. Most of us have done similar things (I certainly have). I admit I thought that using the local loopback would circumvent any firewall or network issues, but apparently not. :) LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=100661 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
Apologies for this rather English statement, but I seem to have lost my marbles. I have rarely created playlists ahead of time. I decided to create one, under the Custom Browse menu, for an upcoming visit from an old friend. I created one (called Dick - my friend) and then tried to edit it a few days later. There seems to be no way to move things up or down in the list using the web interface. So I edited it using leafpad (I'm on xubuntu). Nothing changed. I restarted LMS. No change. I rebooted the server. No change. I renamed the file Dick.m3u to Dick2.m3u in the playlist directory, and restarted LMS. All I see is the original. I do not see Dick2 at all. Something, somewhere, in LMS/CB/... is remembering my old list and refuses to see my new list. Am I going mad? LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: How do you use the playlist in Custom Browse ? Do you refer to it from a Custom Browse menu ? Which menu template ? Do you refer to it from a Multi Library library ? Which library template ? If it's a Multi Library library, and you have disable the startup refresh option in multi library, it could be that you need to refresh the libraries manually through the refresh link in the Extras/Multi Library menu in the LMS web interface. I'm using the pre-existing playlist (builtin) menu in the Custom Browse menu. I haven't tinkered with it, so it is using the predefined menu playlists65.cb.values.xml. I have copied a playlist in the playlist folder, but it doesn't appear in the list. I tried hitting 'Refresh' at the bottom of the Playlist list in the web page, to no effect. Just to check, I did a Multi Library refresh, but nothing changed. I also don't see how to edit a playlist except by mucking about with the xml, which is a little prone to error. I have clearly missed something fundamental about how playlists work in LMS, but I've no idea what it is. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
PasTim wrote: I also don't see how to edit a playlist except by mucking about with the text, which is a little prone to error. Quite by chance I found a way to edit a playlist. I fired up a different browser (firefox). I tried to 'move' a track, and it worked. Why? Well, by default the artwork was showing. I have always turned off the artwork, since it is of little interest to me and takes up space, especially on my 10 laptop screen (classical tracks often having rather long names). Having turned it on in my original browser (Chromium) I can now move tracks around. This solution is a bit weird (after all, why should one need artwork to move a track in a playlist?), but that's my editing problem resolved. Now I have to find out why LMS doesn't seem to pick up manually added or edtted playlists in the playlist directory, even though it saves them in the same place. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: If you are talking about changing a playlist in a text editor or through an external program, I assume you perform a scan in LMS afterwards ? External changes to playlists are imported into LMS through the scanning process, so you at least have to run a scan of type Only rescan playlists for the changes to be detected. Thanks very much, I had absolutely no idea that playlists had to be scanned, and find it a little hard to understand why. Never mind, that's the piece of information I was missing. I assume I can abort the custom scan that follows a playlist rescan (once the web page allows me to - it can take a long while to respond), since the underlying flacs haven't changed and I don't want to wait for 3 to 4 hours. I may have to give up on automatic custom scan rescans after LMS scans and do them manually when needed, which is a nuisance, but not too onerous. Whether not being able to edit lists on the web pages without artwork showing is a bug or not I'll leave to others to think about. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: I think there is a risk for inconsistently if you abort it. However, you can probably abort it and then run it again over the night if you want to avoid having an unusable system at the moment. If you plan to do a lot of playlist changes you should probably disable automatic Custom Scan during these changes and enable it afterwards. The alpha version of Custom Scan which is available was supposed to solve these kind of problems but unfortunately it seems like I have a hard time to find the necessary time to complete the work and get it out of alpha state into an official release. That's OK. Thanks for your help. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
For a long time I've had a bit of an issue with some of my custom browse menus and a couple of other actions that seem to bring LMS to a halt for several seconds, such that the music stops. I've been wondering whether there is any solution. I'm running LMS on a 4 cpu Vortexbox appliance. One of my favourite menus is 'Works by Composer', based on Erland's own version. If I run this whilst playing anything, the system is OK for a while whilst it is thinking about the new menu, and then the music stops for several seconds, then restarts where it left off, and the menu quickly comes up. This is true whether listening via my wired Touch, or via the 'local player' plugin and squeezelite. This only happens the first time I run a CB menu after LMS is started. After that it's fine. Some menus are worse than others. Albums by Album Artist (and others not using non-standard tags) is always OK. Another menu that acts strangely in the Advanced, Custom Scan, Various Settings menu item. This can take 30 seconds or more, and again stops any music playing towards the end of the process. If I look at the process loads, the squeezeboxserver process (/usr/bin/perl /usr/libexec/squeezeboxserver /usr/libexec/squeezeboxserver --pidf ...) gets to 100% towards the end of processing such menus, which is when the music stops. Now I don't know much about how all this works, and I don't know if the block is actually at the CPU or disk read level, but I'm wondering whether any of the following are possible or would help: 1) Adjust process priorities in some way (but I note that change priorities in the Advanced, Performance menu has no effect on my linux system - they all run at priority 20) 2) Apply some indexes to the custom tables in sqlite (is that possible, or is that only available in more complex sql system?) 3) Spilt out music processing from menu processing in some way giving different runtime processes - I'm assuming the same perl process runs the menu processing and processing the music for playing 4) Find a way to run all my menus when the system starts up, or on command, so that all the data is loaded into memory (2 GB) and put up with the delay incurred just once, rather than when the mood takes me to use a different menu. If anyone has any suggestions I'd be keen to try them out. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: It looks like I have a database dump from your setup from beginning of 2012 and also a works by composer menu configuration. Do you remember if the problem was the same at that time or if it's something that have started to appear later ? I got my Vortexbox in early 2012, so it should be almost the same setup, albeit with rather more tracks now. I've always had some problems but tried not to let it bother me. I suspect it is getting worse with volume. If you have time to give it a whirl on your system I'd be grateful. Has no one else ever mentioned this type of problem? Am I the only 'classical', 'work', lover? If I did look at creating indexes, how would I go about it? Doesn't a scan drop and recreate some of the tables? I've got a schema I produced somewhere and could have a crack at a few key joins. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: Is there a particular level in the menu hierarchy that's slow ? Like when it lists all Composers ? all Works ? or all work artists ? Or are all menu levels slow ? It is all my top level menus which do things like: Works by Composers WorkArtists by Composer Composers by Orchestra Composers by Conductor Almost all my menus aim to drill down to find Works, and then show or play the tracks. I'd give you a full list but unfortunately after an attempt by me to recreate some indices LMS decided to rescan, and custom scan then kicked in, and I am now totally locked out for the next 3 or more hours. Looking at your script I see fewer indices created than are listed as defined by sqlite3. I assume this means some have been defined that are not used. Is that correct? In the past I recall some systems worked faster with no indices when creating data in bulk, and then creating the indices afterwards. Would that work here? I could easily leave out the musicbrainz ones, since me musicbrainz never understood each other and I have no such data anyway. If I sit down with an icepack and try and work out how the data is used I may be able to work out some indices that suit my way of using things. If you have any thoughts they would be welcome. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
PasTim wrote: It is all my top level menus which do things like: Works by Composers WorkArtists by Composer Composers by Orchestra Composers by Conductor Almost all my menus aim to drill down to find Works, and then show or play the tracks. I'd give you a full list but unfortunately after an attempt by me to recreate some indices LMS decided to rescan, and custom scan then kicked in, and I am now totally locked out for the next 3 or more hours. Looking at your script I see fewer indices created than are listed as defined by sqlite3. I assume this means some have been defined that are not used. Is that correct? In the past I recall some systems worked faster with no indices when creating data in bulk, and then creating the indices afterwards. Would that work here? I could easily leave out the musicbrainz ones, since me musicbrainz never understood each other and I have no such data anyway. If I sit down with an icepack and try and work out how the data is used I may be able to work out some indices that suit my way of using things. If you have any thoughts they would be welcome. I think I should also spend some time revisiting my menus. They tend to produce complete playlists at a high level I never use. So, for instance, my Works by Composer menu seems to get all tracks for all composers, in case I want to play all works for a composer. I never do this, so I need to think about the menu structure and not get all the data until I need it. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
Erland, Thanks for your help. Having dug around a bit, and tried a few things, it seems clear that the issue is getting sufficient indices and data into cache. Whilst my menus could be tidied up, they aren't the main cause of the delay on 1st use after boot. I've seen suggestions of trying to change cache size at startup using server power control, but they don't seem to help. I also tried adding an index or two to persist.db tables, to no great benefit. The one thing that worked was dropping and recreating an index in your dbindex.sql (I don't think it matters much which one - I chose module_attr_valuesort_cstrackidx since a value is needed on all rows, and the sort version is used for sorting as well) . However, this adds around 7 minutes to the startup time. I have therefore re-evaluated how I manage the power saving on my Vortexbox. I will 'suspend' the box after an hour of idle, rather than 'hibernate' (which gave me odd sound problems after a few restarts) or shutdown. Suspend seems to keep the cache, at least for a while. I'll just have to start the box 1st thing in the morning when I'm not using it immediately. I don't know how quickly the cache will 'drain', but will try this for a few days and see how it goes. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
I recently tried a UPnP sever that has a novel (to me anyway) interface. I was wondering if there is any way to do the same with Custom Browse. The menu strategy is as follows. 1) You nominate the tags you are interested in - that's effectively already done using the mixed tags and custom tags defined for use in Custom Scan 2) The menu shows a list of these tag names and you pick one 3) The menu now shows, for the selected item, a list of tags for which there is more than one possible track, suppressing those where there is no track and where there is only one match display that instead of the tag name (eg Chopin instead of Composer) and not allowing selection using that tag 4) Repeat (3) until you decide to play or list all tracks which match a selected item. This allows you to select, say, an Artist, find all Composers for which there's a track with that Artist on it, select a Composer and see if there are there are tracks which also have an Orchestra you are interested in, list all the matching Works or tracks and play one. I hope that explanation is enough to explain how it works and to show the flexibility of the structure. The question is whether this is do-able with Custom Browse. I assume it is technically feasible if one writes the code, but I don't see a way of using the Custom Browse menus to achieve this. Any ideas? LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: As you suspect, dropping and recreating an index will likely load the database into the in-memory cache and this is the reason why it improves the performance. I don't think I can introduce this as standard as having a startup time of several minutes would make the system more or less useless for other people, especially people who use the alarm functionality and wake up the server through wake on lan before the alarm is about to trigger. There could be ways to optimise the menu SQL in your particular configuration, but I need to get some time to look at it in my own environment to know for sure. I agree that delaying startup will probably be unacceptable to many. I think I can adjust my habits to live with tit rather than hiccups when playing later in the day. Please don't spend time on my menus (unless you have time on your hands, which I suspect you don't). I have quite a few and they work fine once run, so I suspect tuning will only make a marginal improvement in comparison with priming the cache. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
I cannot reconfigure MultiLibrary on a new system. I must be getting thick in my old age. I am setting up a new LMS, and was trying to configure my Classical and Standard libraries. I have my old library xml files. For some reason the libraries are both empty (0 entries). Further, when I try to edit the Classical one, it doesn't show me a list of included/excluded genres any more. Has something changed that I'm unaware of? LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
PasTim wrote: I cannot reconfigure MultiLibrary on a new system. I must be getting thick in my old age. I am setting up a new LMS, and was trying to configure my Classical and Standard libraries. I have my old library xml files. For some reason the libraries are both empty (0 entries). Further, when I try to edit the Classical one, it doesn't show me a list of included/excluded genres any more. Has something changed that I'm unaware of? Yes, I am stupid. You have to have scanned the library to get a list of genres from which to pick. In my eagerness to set it all up I had not done so. I then messed up the access rights... No matter, all fixed now, apologies for filling up the thread with such posts. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
PasTim wrote: I agree that delaying startup will probably be unacceptable to many. I think I can adjust my habits to live with tit rather than hiccups when playing later in the day. Please don't spend time on my menus (unless you have time on your hands, which I suspect you don't). I have quite a few and they work fine once run, so I suspect tuning will only make a marginal improvement in comparison with priming the cache. For various reasons I decided to stop using the Vortexbox software and go my own way using xubuntu, mostly headless sitting at the command line login prompt, on the same Vortexbox appliance hardware. To cut a few days work short, I now have a system that is much quicker all round, including menus which even on first use only take a couple of seconds, and custom scan time is roughly halved. I don't know what it was about the old linux setup that was making things slow, whether it was fedora 16, or an accumulation of rubbish, or having to reload all my flacs (hopefully for the last time now they are on a separate mount point), but it always was rather slow. Anyhow, I no longer need to delete and recreate an index at startup to speed up my custom browse menus. LMS 7.8 on VortexBox Midi, FLACs 16-24 bit, 44.1-192kbps. Touch with EDO on Ethernet, coax out to a Musical Fidelity M1 CLiC. Wireless Xubuntu laptop controls server using Chromium. Meridian Explorer USB DAC to listen to LMS via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft! PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
Having moved from one version of linux to another I thought my slow custom browse/scan menus were now sorted. I was too quick to judgement. I have a menu (of several, but this is the worst) that takes around 4 minutes to appear the first time it is run when LMS is started. I have spent a great deal of time tweaking the sql to little effect. On the previous platform I had added a 'drop index' to one of the customscan_track_attributes tables in the dbindex.sql file of customscan. This seemed to work but added ~7 minutes to startup. When I started on the new platform all seemed well. However, it soon slowed down again. What was going on? I have done some experiments and think I have narrowed down a problem area, and got a solution for myself. 1. In all cases I have all custom_scan options for refreshing and rescanning set to 'yes'. I am on the latest LMS 7.8 and latest plugins. 2. I start with a system that is responding quickly. 3. I do a complete clean LMS rescan (including custom scan) 4. The system still seems quick. 5. I reboot. The menus are now slow again 1st time. 6. I try the refresh/optimize button on the custom scan settings screen. The menus are still quick (but I have run some already so that's no surprise). 7. I reboot. The menus are now slow again 1st time. 8. I stop LMS. I use the firefox SQLite Manager to open the persist.db and analyze it, which takes a few minutes (I did have to change the access control on the cache directory and the persist.db file to be able to work on it). 9. I reboot. The menus are now slow again 1st time. 10. I stop LMS. I use the firefox SQLite Manager to open the persist.db (which is currently 537,406,464 bytes long, 524,811 pages) and compact it. This takes a few minutes. The database is now 516,518,912 bytes long (504,413 Pages) 11. I reboot. The menus are now quick, 1-3 seconds for the most complex ones. So it looks as if: A. When a new persist.db is created from scratch (initial installation) it works fine. B. After a complete clean LMS rescan (including customs scan but which which does not seem to delete and recreate persist.db) the system is slow. C. Compacting persist.db solves the problem. Why this solves the problem I do not know, but if I compact the database after a rescan it seems fine.I'll look to creating a command file to do it for me. LMS 7.8 on VortexBox Midi running Xubuntu 13.10, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 12.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: WaveInput for Linux
sbellon wrote: Hi all, three years ago I tried to configure WaveInput for Linux and failed miserably. Having not felt any need to spend more time on this issue, today I thought I might give it another try. What I'm trying to do is to copy all sound (not just from a specific application) to the Squeezebox. I'm running the latest nightlies of the 7.8 branch on a Debian unstable GNU/Linux box. I'm using pulseaudio. I tried as well and gave up, so apologies for not answering your question directly. I now use vlc to stream all sound being played on my PC, regardless of source, to a favourite on LMS. It seems to work with few problems. LMS 7.8 on VortexBox Midi running Xubuntu 13.10, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 12.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49584 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
This is just to confirm that I have now repeated tests on my custom browse / scan menus, and the following linux script (using sqlite3 installed on linux), run after a full scan with lms stopped, resolves all my menu performance issues. Code: sqlite3 /var/lib/squeezeboxserver/cache/persist.db vacuum; The menus now no longer take tens of seconds or minutes to run first time, and never (so far!) cause a hiccup in playing music. These are issues that have bothered me on and off for a couple of years. I'd be interested to know if anyone else has had slow menu problems, whether this fixes them, and if so why the custom scan seems to cause such problems in persist.db. To give some idea, one of my custom scan menus lists all Artists that have tracks in one multi-library (classical). The top level menu therefore looks something like the following (I've tried many variations and they all used to take about 4 minutes to run 1st time): Code: select distinct customscan_track_attributes.extravalue,customscan_track_attributes.value, substr(customscan_track_attributes.value,1,1) from customscan_track_attributes join multilibrary_track on customscan_track_attributes.track=multilibrary_track.track and multilibrary_track.library=2 where customscan_track_attributes.module='mixedtag' and customscan_track_attributes.attr='ARTIST' order by customscan_track_attributes.value asc I didn't believe this either, which is why I've run several tests to repeat the process. :) LMS 7.8 on VortexBox Midi running Xubuntu 13.10, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 12.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
Roland0 wrote: persist.db seems to be very large - my library is larger than yours, and persist.db is 96MB You could try (while LMS is stopped) to - run 'vacuum' (http://www.sqlite.org/lang_vacuum.html) on it and see if it shrinks it - or export your data w/ TrackStat and delete it - LMS will rebuild it at startup also, defragment the disk the DBs are on I've got ~25,000 tracks, and my persist.db is over 550MB. I believe much depends how many different custom/mixed tags are stored there. Scanning on my system takes around 3 hours. Running vacuum on the result shrinks it a little but gives an enormous performance advantage for some menus. Having reported the latter and had no response I can only assume not many people use the custom browse menus as much as I do! LMS 7.8 on VortexBox Midi running Xubuntu 13.10, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 12.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: persist.db can grow quite a bit if Custom Scan plugin is used to scan a lot of tags in a large library. Also, if you have been using TrackStat for a while it will store playback history and this accumulates over time. However, you are correct that running vacuum on it might shrink it significantly and I suspect vacuum can also improve the performance. Erland - if you have any system with a reasonably sized persist.db, running vacuum makes a really big performance improvement. I'd recommend you give it a try. I suspect that re-scanning deletes and creates most of the entries. Why the indexing doesn't seem to make access just as quick on the amended version I don't don't. LMS 7.8 on VortexBox Midi running Xubuntu 13.10, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 12.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
nidzo wrote: Hi Erland, and everybody -first of all, in *CS* the *Various Setting* page doesn't show up, no answer at all. it keeps waiting till connection dies. i have another PC LMS installation (for testing purpose) and there it works. i tried to unistall and install again ... same story. what can i do? When I had very long delays on this (several minutes), performing the following (on my ubuntu system running LMS) fixed it: Code: sqlite3 /var/lib/squeezeboxserver/cache/persist.db vacuum; It takes several minutes to run. To do this I needed to install sqlite3, and then change the permissions on persist.db to allow me to run this. I don't know enough about your NAS to know what the exact method would be. LMS 7.8 on VortexBox Midi running Xubuntu 13.10, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 12.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
nidzo wrote: Hi PasTim on my synology, it turns out that sqlite3 is already installed. so, i will try this solution and i will tell you my experience. but, what is this supposed to do, (more or less) exactly? Thanks Nidzo On my system, every time I do a Custom Scan to rebuild my library, some music selection menus are quite slow, and the custom scan 'various settings' menu can take ages to come up. The sqlite 'vacuum' command takes the custom scan database (persist.db), and completely rebuilds it. This seems to make database lookups much quicker. Why it becomes fragmented I am not sure, but see https://sqlite.org/lang_vacuum.html for a description of the command. I should have also previously said that you can only run the command when LMS is not running. LMS 7.8 on VortexBox Midi running Xubuntu 13.10, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 12.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: To speed up the scanning process, Custom Scan will delete existing data and add new one as it scans the files again, this can probably cause the fragmentation. I would like to add it to the plugin so it is easy to run, but it sounds like it can't be executed while the database is used so it's probably pointless. Agreed. The only way I can see it working under LMS control is if persist.db can be dropped and recreated, which is effectively what vacuum does. LMS 7.8 on VortexBox Midi running Xubuntu 13.10, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 12.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
You mention a Soloists tag. I've not come across this one before. Is there a definitive list of tags that LMS supports as 'standard'? LMS 7.8 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: Hopefully this should be complete, if it isn't we should update it: http://wiki.slimdevices.com/index.php/SlimServerSupportedTags Thanks - I never found that before. It's a good start, and may, for all I know, be definitive and up to date. In some of the custom menus TrackArtist is mentioned. I've never been sure if it is a real tag or a pseudonym for Artist. I believe there may be a ComposerSort, BandSort, and might be a ConductorSort. I have not experimented to find out for sure. LMS 7.8 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: Since 7.9 is a beta and changed every week and sometimes changes due to incompatible changes, I can't guarantee that it will always work. However, I'm still supporting it so if people use 7.9 and one of my plugins doesn't work I'll try to fix any issues as soon as possible. Last time I checked all my plugins worked in 7.9 and nobody has reported any problems. I can confirm that I have just started using 7.9 and have no problems with these plugins so far. LMS 7.8 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
SlimChances wrote: I did a clean install of my OS, LMS and restored my prefs folder from backup. All went well more or less and LMS has all it's plugins working as far as I can tell. The exception seems to be Dynamic Playlists (and SQL Playlists) which have a few playlists that I made up with incorrect parameters. I tried editing the playlist (both in Dynamic Playlists and SQL Playlists) but I can't seem to save the new playlists; I get this error for example Code: Error: Error saving /media/Music/Flac/Playlists/Retroadvanced.sql.xml: Permission denied Many of the files may be owned by squeezeboxserver, with limited access for others. Either change the security on this file - something like Code: sudo chmod 666 /media/Music/Flac/Playlists/Retroadvanced.sql.xml giving r/w access to all, or edit the file using as sudo using whichever editor you fancy. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
Mycenius wrote: Hello again Mynb! Yes they are on the same PC - no couldn't install as a plugin as it wasn't showing - even when I allowed all third party plugins - I downloaded the Windows Installer instead... The plugin is called 'local player'. You may need to add http://triodeplugins.googlecode.com/svn/trunk/repo.xml to the list of 'Additional repositories' at the bottom of the plugin page. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
SlimChances wrote: Code: [14-05-06 22:12:32.0799] Plugins::TrackStat::Backup::File::initRestore (165) Restore from: 2014 05 TrackStat.xml [14-05-06 22:12:32.0806] Plugins::TrackStat::Backup::File::scanFunction (251) Couldn't open backup file: 2014 05 TrackStat.xml I am getting the above in my serrver log. I ran trackstat restore for about 6-7 hours (45,000 tracks but only a few thousand tagged with trackstat) and it didn't complete. Perhaps I gave up too quickly but does the second line indicate that the operation won't complete and if so what should I do. You might also want to check the permissions of all your backup files. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
Mycenius wrote: One last question - is there anyway to disable the soft volume on Squeezelite (or lock it on 100%)? Assuming you are using Local Player, go to Settings, Player. Select your Local Player, and Audio. There are several options here. I haven't tried fixing the volume myself for this device, but I have no reason to suppose it won't work. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
Apologies if this has been gone over before (I suspect it has, several times), but I couldn't find a solution. I have been experimenting to see if I can store all names in natural order (first, middle, last), but keep them sorted on the last name. This works as standard for Artist and AlbumArtist (using ArtistSort and AlbumArtistSort), but not for Composer, Conductor or Band. The latter 3 can be included in the standard Artist list (in My Music settings), but cannot be sorted in the same way as Artists, which is odd, to say the least. I thought I'd try to get Custom Scan to do the job. I already have COMPOSERSORT, CONDUCTORSORT and BANDSORT tags set up (through the joys and complications of regular expressions), so I included them in the Custom Scan tags on the custom tags settings page. I also added COMPOSER=COMPOSERSORT,CONDUCTOR=CONDUCTORSORT,BAND=BANDSORT to the sort fields on the same settings page. In the Mixed Tag settings page I have included COMPOSER, CONDUCTOR BAND. I was hoping, possibly erroneously, that the ValueSort field for COMPOSER (mixedtag) in persist.db would then contain the COMPOSERSORT tag (etc for the others), but this does not seem to be the case. I think it is picking up the sort values from the standard LMS tags, which in these cases is not what I want. I also have custom tags WORK and WORKSORT. Both the customtag and mixedtag entries for WORK have my own WORKSORT set as the valuesort. Have I misunderstood something, or set it up wrong? Is there a difference between setting up a sort value for a custom tag and a standard tag? Would I be better off specifying COMPOSER, CONDUCTOR and BAND as custom tags and omitting them from the mixed tag set-up, and if so are there any other consequences in doing so? LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
PasTim wrote: Apologies if this has been gone over before (I suspect it has, several times), but I couldn't find a solution. I have been experimenting to see if I can store all names in natural order (first, middle, last), but keep them sorted on the last name. This works as standard for Artist and AlbumArtist (using ArtistSort and AlbumArtistSort), but not for Composer, Conductor or Band. The latter 3 can be included in the standard Artist list (in My Music settings), but cannot be sorted in the same way as Artists, which is odd, to say the least. I thought I'd try to get Custom Scan to do the job. I already have COMPOSERSORT, CONDUCTORSORT and BANDSORT tags set up (through the joys and complications of regular expressions), so I included them in the Custom Scan tags on the custom tags settings page. I also added COMPOSER=COMPOSERSORT,CONDUCTOR=CONDUCTORSORT,BAND=BANDSORT to the sort fields on the same settings page. In the Mixed Tag settings page I have included COMPOSER, CONDUCTOR BAND. I was hoping, possibly erroneously, that the ValueSort field for COMPOSER (mixedtag) in persist.db would then contain the COMPOSERSORT tag (etc for the others), but this does not seem to be the case. I think it is picking up the sort values from the standard LMS tags, which in these cases is not what I want. I also have custom tags WORK and WORKSORT. Both the customtag and mixedtag entries for WORK have my own WORKSORT set as the valuesort. Have I misunderstood something, or set it up wrong? Is there a difference between setting up a sort value for a custom tag and a standard tag? Would I be better off specifying COMPOSER, CONDUCTOR and BAND as custom tags and omitting them from the mixed tag set-up, and if so are there any other consequences in doing so? I tried a change last night where I specified COMPOSER, CONDUCTOR and BAND as custom tags and omitted them from the mixed tag set-up. This seems to have done the trick. I had to modify three of my menus (Albums by Composer/Conductor/Band) to be mixed tag menus, but apart from that it has worked fairly smoothly. So at some point I will bite the bullet and change all my artists/composers/conductors etc. to show as 'first middle last-name'. My only problem is getting my tagging software to use regular expressions on multi-value tags. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
erland wrote: The important part should be to make sure they are omitted from the MixedTag configuration. The tags you enter in the Mixed Tag configuration will be copied from the standard LMS table/scanner and due to this they will not contain the correct sort values. Thanks, understood. LMS and your plugins seems happy with this. Before making the rest of the data changes I now have to make sure it doesn't mess up other tools I occasionally use to play my library (mainly foobar2000 and minimserver - the latter is the best UPnP server I've found, by far). LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Using LMS with network connected amplifiers without SB devices
I have spent many hundreds of hours getting all my music, mainly classical, sorted out and playable in various ways using LMS. And then I thought, what if my Touch fails? No other system gives me the flexibility of LMS and associated plugins, such as: - many of my own menus, the way I want them, such as Works by Composer, Albums by Conductor, and so on - random play of sequential sets of tracks (i.e. classical works) - track play statistics - and so on. So how can I replace my Touch? I could try to put a hardware solution together, using a Raspberry Pi, Wandboard or whatever and run the brilliant squeezelite on it . But do I want to worry again about async USB vs coax, vs optical, power supplies, a whole new operating system to learn and manage and so on? No I don't. I have 2 network connected amplifiers ('players', or 'renderers') that accept flac and wav format audio streams over http (this is not unusual with players that claim to be 'DLNA/UPnP compliant', although it may not be universal). Why don't I just send the data over my wired ethernet network direct to them? The LMS DLNA plugin is very limited in capability. What I want to achieve is the full flexibility of LMS and the web GUI control system, without an SB device. Briefly, my solution is to: - use a UpnP DLNA server to declare a playlist consisting of an http adddress and port on my music server (that is the only job the server needs to perform once the player is playing) - run squeezelite on my server, behaving just like any other LMS device, and pipe the output to an http stream in a form my players understand - on my player, select the playlist item broadcast by my DLNA server - use the LMS web page in the normal way (on a laptop/tablet/mobile) to control what I am listening to (the player does not show any information about what is playing). If this is of interest, your server is on on linux, and you don't care about multi-room synchronisation, see my next 2 posts. The solution isn't perfect yet, and it may even be impossible to make it so, but it does work with some limitations, and I'm hoping some other people might be able to think of ways of improving it. Many of you will think I'm mad even trying to do this without hardware, but I'm convinced a solution along these lines should be possible, without no loss in sound quality, whilst retaining the same flexibility and ease of use. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=101721 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Using LMS with network connected amplifiers without SB devices
How to Play LMS without SB Hardware on a Headless Linux system. Note that some familiarity with Linux is required. 1. Install LMS, music etc. as normal. 2. Install DLNA server of your choice, I use the excellent minimserver from http://minimserver.com/ , autostarted at boot time (a choice when installed in /opt/minimserver). Point it at your music library, or an empty library for just this purpose if you wish. Minimserver is very flexible, just not as good as LMS. If your server is headless, install minimwatch on some other PC so you can monitor what minimserver is doing on the server and change parameters if needs be. 3. In the music library scanned by the DLNA server create a folder containing http playlists of the form xyz.m3u, containing: Code: http:/192.168.1.10:808n/abc.flac or if you want wav format: Code: http:/192.168.1.10:808n/abc.wav one per network player (renderer), with an appropriate name (abc) for each renderer, and a different port (8081, 8082 etc) for each player. Rescan your library so the DLNA server knows they exist. The name (abc in the above example) can be anything you want, but should be .flac or .wav to tell the player what format to expect. When, on the player, you select the item from the playlist, you will see abc.flac (or wav), not the xyz.m3u filename. 4. Get a copy of squeezelite somewhere it can be run easily. Ensure flac (for FLAC format) and/or sox (for WAV format) is installed somewhere it can be run (check by typing 'flac' or 'sox' in a terminal). If not natively installed there should be versions in the squeezelite directories (/usr/share/squeezeboxserver/Bin/x86-64-linux on a 64 bit ubuntu system). 5. Create 2 scripts for each player/renderer. One to run squeezelite, one to run that script and send (pipe) the output to a python program which puts it in a flac or wav format and sends it out via http. Each script should be executable. 5a) squeezelite script for version 1.6.2 or better (called squeezelite-streamMF.sh in this case): Code: #!/bin/bash # Run squeezelite. If version below 1.6.2, remove the -d and -f options. /home/crusty/Programs/squeezelite-x86-64 -o - -a $DEPTH -n Play-Stream-MF -m 00:00:00:00:00:01 -r $BITRATE -p 25 -u VLX -s localhost:3483 -f /storage/Scripts/squeezeliteMF.log -d output=info Note the rate (-r) and depth (-a) must match that in the python program, so is set by the caller, and the (-m) MAC and (-n) Name must be different for each player. Set the path for your squeezelite program to wherever it is on your system. If you don't have it, get it from https://code.google.com/p/squeezelite/. The squeezelite debug log will be in squeezeliteMF.log. Errors will be in squeezeliteMF.err (see later). 5b) Script to join and execute the above, in my case called streamMF.sh (note that all my scripts are in /storage/Scripts – put them where you like). Code: #!/bin/bash # Kill off squeezelite, then python program pkill -SIGKILL -f Play-Stream-MF pkill -SIGKILL -f playstreamMF # Note all of the following must be specified even if you don't intend to use one of the options export BITRATE=192000 # Set the bitrate to a valid rate (44100, 48000, 96000, 192000) export DEPTH=24 # Depth to 16,24 or 32 export VBPORT=8082 # The http port to be used export COMPRESSION=4# Flac compression 0 to 8 export HOST=192.168.1.10 # Host IP address export FORMAT=WAV# FLAC or WAV (the default) # Executable program for flacs - can be flac or sox. If using WAVs, set this to sox. # If flac (or sox) is not in your normal path, specify the location fully, eg: # /usr/share/squeezeboxserver/Bin/x86_64-linux/flac # If it is in your normal path, just enter flac or sox export FLACPROG=flac # Executable sox program for WAVs export WAVPROG=sox # Now run squeezelite, piping the stdout into the python program (using the | symbol) # The 1st 2 provides an error log for squeezelite, which should be empty # The 2nd 2 provides a cumulative error and information log for the python program /storage/Scripts/squeezelite-streamMF.sh 2 /storage/Scripts/squeezeliteMF.err | /storage/Scripts/playstreamMF 2 /storage/Scripts/playstreamMF.err This script kills any existing squeezelite for this player, and the associated python program, then restarts them, piping the output from squeezelite to python, and hence flac or sox. Hopefully the use of BITRATE, DEPTH and VBPORT is obvious. The COMPRESSION is the flac parameter 0 to 8 (with no preceding hypen). The HOST is your server (not 'localhost'). FORMAT must be FLAC or WAV. WAV seems more stable, but limits the length of playing time (see 12 below). Set the name (or
Re: [SlimDevices: Plugins] Using LMS with network connected amplifiers without SB devices
The python program referred to in 5(c) above is as follows: Code: #!/usr/bin/python import BaseHTTPServer import SocketServer import subprocess # For running flac, sox or whatever import sys# For writing to stderr import os # For environment variables import errno import socket HOST = os.environ.get('HOST') # The server host. Can also be set to PORT = int(os.environ.get('VBPORT'))# An http port BITRATE = int(os.environ.get('BITRATE')) # Bitrate 44100, 48000, 96000 or 192000 DEPTH = int(os.environ.get('DEPTH')) # A valid depth - 16, 24 or 32 COMPRESSION = os.environ.get('COMPRESSION') # Set to 0 to 8 (least compression to most) for flac FORMAT = os.environ.get('FORMAT') # Format must be FLAC or WAV FLACPROG = os.environ.get('FLACPROG') # FLAC program - flac or sox WAVPROG = os.environ.get('WAVPROG') # WAV program - sox FLACMIMETYPE = 'audio/flac' WAVMIMETYPE = 'audio/x-wav' BUFFER = 65536 class Handler(BaseHTTPServer.BaseHTTPRequestHandler): ## # These next two functions, finish and handle_one_request, are cribbed directly from the /usr/lib/python libraries, # overriding the originals to suppress the broken pipe trace. # If I'm finishing, an I/O error is of no interest. def finish(self,*args,**kw): if not self.wfile.closed: try: self.wfile.flush() self.wfile.close() self.rfile.close() except socket.error: pass return # At the end of the request a broken pipe error is not abnormal def handle_one_request(self): Handle a single HTTP request. You normally don't need to override this method; see the class __doc__ string for information on how to handle specific HTTP commands such as GET and POST. try: self.raw_requestline = self.rfile.readline(65537) if len(self.raw_requestline) 65536: self.requestline = '' self.request_version = '' self.command = '' self.send_error(414) return if not self.raw_requestline: self.close_connection = 1 return if not self.parse_request(): # An error code has been sent, just exit return mname = 'do_' + self.command if not hasattr(self, mname): self.send_error(501, Unsupported method (%r) % self.command) return method = getattr(self, mname) method() self.wfile.flush() #actually send the response if not already done. except socket.timeout, e: #a read or a write timed out. Discard this connection self.log_error(Request timed out: %r, e) self.close_connection = 1 return except socket.error, e: # For a broken pipe error (32), ignore it. #socket error if e[0] != errno.EPIPE: self.log_error(I/O Error: %r, e) self.close_connection = 1 return ## # Function to create and send the headers. def do_HEAD(s): s.send_response(200)# OK if FORMAT == FLAC:# A Flac or WAV audio format MIMETYPE = FLACMIMETYPE else: MIMETYPE = WAVMIMETYPE s.send_header('Content-Type', MIMETYPE) # Wav/flac # We don't, and can't know the length, so sending a Content-Length header won't work. # I've used 'chunked' instead, which seems to work (as does no content lenth and not chunked) s.send_header('Transfer-Encoding', 'chunked') # Chunked s.end_headers() return # Function to get data from stdin (squeezelite) and send it out to the renderer. def do_GET(s): s.do_HEAD() # Send the headers # Use flac or sox to transform raw data to flac or wav, using the environment variables for bitrate and depth (bits) and compression. # All input is raw from stdin, and out to stdout (default for -c). Warnings are errors in flac. No info/error messages from either. # I've left (commented out) an option to use sox for flac instead of the flac program should that be of interest. if FORMAT == FLAC: if FLACPROG == WAVPROG: engine = str(WAVPROG) + ' -V0 -t raw -r ' + str(BITRATE) + ' -b ' + str(DEPTH) + ' -L -e signed -c 2 - -t flac -C ' + str(COMPRESSION) + ' - ' else: engine = str(FLACPROG) + ' - -w --totally-silent --force-raw-format --channels 2 --bps ' + str(DEPTH) + ' --sample-rate ' + str(BITRATE) + ' --endian little --sign signed -F -' + str(COMPRESSION) else: engine = str(WAVPROG) + ' -V0 -t raw -r ' + str(BITRATE) + ' -b ' + str(DEPTH) + ' -L -e signed -c 2 - -t wav - ' pa = subprocess.Popen
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
gahabana wrote: understand now . as i can not get 'local player' plugin to load/start i can not use that. when i start it as a service it works fine but i can not disable local file access without modifying squeezelite source code OR until Erland makes Trackstat compatible with squeezelite. For those who can install 'Local Player' plugin - that is the solution for Trackstat not working properly with squeezelite, agreed ! I'm guessing, but it may be that local player, which is run under user squeezeboxserver, doesn't belong to a necessary user group - maybe 'audio' ?. When you run it yourself you presumably run it as your own user and you may belong to the some other necessary group. You might try: Code: sudo gpasswd -a squeezeboxserver audio or something similar. I added this some time ago, but I do too much mucking around and to be honest I can't now remember why :) LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Using LMS with network connected amplifiers without SB devices
get.amped wrote: That's quite a dissertation! You definitely brought this a long way from your initial inquiries into how it might be possible to accomplish this. Kudos! Thanks. I've been listening a lot on the FLAC version and it seems fine to me. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=101721 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
garym wrote: Hmmm. good question. Just checked on my win7 install of LMS and I have the local player installed (and it works). With the squeezelite selected as active player, when I go to settings under PLAYER tab, it also tells me that I have nothing connected. Which brings me to the question of how do I tell squeezelite to use SMART GAIN, scrobble to last.fm, and the other things I typically set under the player tab? Did you give the player a name (-n xyz) and have it ticked as running in the local player options? I also use the -r option which states that it allows output to be off when squeezelite is started. Mine shows up under advanced settings, player, along with all the options I never (ever) use. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
HumanMedia wrote: After trying for 30mins I gave up and went downstairs to listen to the SBT. As soon as I connected to the server using an existing SBT player, Local Player appeared instantly. Not sure why using another player made it appear, but it has. Haven't tested it yet but it shows up in all the right places. Will report back if the issue returns, and if the fix is repeatable. Did you try the -r option on local player? LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
garym wrote: hmm, when adding -r it causes the squeezelite player to show as not playing on the settings page, and nothing about it works. removing the -r makes it all work again. I've use -r 192000 for many months, with no issues. My complete set of parameters for a Meridian Explorer DAC is: -o hw:CARD=DAC,DEV=0 -r 192000 -n vblocal -m 00:00:00:00:00:99 -u HLE -a 60 -s localhost:3483 LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
garym wrote: thanks for the info. perhaps the difference is that your -r 192000 may relate to the DAC. In my case I have no DAC connected (squeezelite is just using the onboard latpop soundcard). I don't actually use squeezelite for anything...just installed it to see how it works. edit: from here it seems -r relates to maximum sample rate supported. could be wrong. ;-) https://code.google.com/p/squeezelite/ And what that -r blurb says is Sample rates supported, allows output to be off when squeezelite is started;... With the onboard card it should be fine, just use a lower rate (eg 96000 or less). My DAC is often not connected, which is why I use that setting. It's very strange it doesn't show with a device that's always connected. I assume you have the device selected, and it's running? There should be a debug log that might help. Now I think about it, there was one tweak I had to apply to select a device with the drop-down list, which was to add 'audio' to the groups that squeezeboxserver belongs to, allow that user to access the audio subsystem. If that works for you I'll suggest to Triode that he puts that in the instructions. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
garym wrote: Thanks. -r by itself wasn't working (player not running), but -r 96000 works (or not using -r at all works). I can get the options in the dropdown player list without -r or with -r 96000. So I'm not having trouble with that issue. Some other problem then. If it's reported as running in the advanced, local player, settings, it should be showing up as a player under the player settings. As a matter of interest, does it actually play with your built in audio? If not, I suggest you try adding the audio group to the SB user. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
garym wrote: I think we're at cross purposes now. Sorry for any confusion. To be clear, my squeezelite is working perfectly. Plays audio with my laptop builtin audio, shows up as player in LMS player menu, shows up as a player in LMS Settings Player tab, and I can set audio, smartmix, last.fm, etc. just like with any player. All works as expected. It was only adding -r by itself with no max rate that caused it to quit working/running. (and in my original post this morning, it wasn't showing up under player in settings, but that all righted itself after a PC rebootthat issue was likely unrelated). Ah. Well back to HumanMedia's problem then. Maybe some of my suggestions will work for him/her. I'm also guilt of misleading by suggesting a plain -r, since I imagined people would know, or look up the details of, the option rather than just type it in - silly of me. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
SlimChances wrote: Erland I updated the plugins and today updated to the latest version of LMS 7.9. Everything seems to work great now. I appreciate the work you put into these plugins And so say all of us :) LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
NPD wrote: Local Player v1.6.3 does not start automatically. It doesn't appear in the list of players and squeezelite doesn't appear in the list of running processes. I can manually start squeezelite in folder above from terminal with this ./squeezelite-i386 -d all=debug -f /var/log/squeezeboxserver/localplayer.log -n NPD-Office-HP-MediaCenter-LP You say the server and scanner logs show nothing of interest. Is there anything in the localplayer.log? It might just be worth selecting one of the devices in the drop down list on the local player settings page to see if that helps, but if, as you say, the same version runs manually (presumably as your own user) it should run as squeezeboxserver. I can't think of anything that would have this effect. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
audiomuze wrote: I have a similar scenario in that the plugin installs,, but under Local Player settings I get: Start Player With Server is ticked, but in brackets it shows Not Running (squeezelite-x86-64) Trying to start it manually from /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/LocalPlayer/Bin shows: Code: $ ./squeezelite-x86-64 [03:43:09.824028] test_open:124 playback open error: No such file or directory [03:43:09.824067] output_init_common:372 unable to open output device It looks as if you need to specify the output device. Run it manually with option -l to see what is available. On the settings gui you should also be able to see a list of devices. See https://code.google.com/p/squeezelite/ for all the manual running options. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
wortgefecht wrote: Yes: Code: $ groups squeezeboxserver squeezeboxserver : nogroup audio But the log said: Home directory not accessible : Permission denied So I deleted the user from the audio group and readded it, restarted LMS and now it works ... weird. I freely admit I don't understand what's going on with the permissions for squeezeboxserver. I had all sorts of problems with local player and LMS at first, only resolved by adding the squeezeboxserver to the audio and to my own user group, and creating a home directory for squeezeboxserver. My suspicion is that I had to create a home directory because I needed to add my own user group to squeezeboxerver so it could access all my music (owned by me as a user so that other programs can access it as well). The home directory seems not to be needed if the only group is 'nogroup'. I initially had to add audio to get a full list of devices in the local player GUI, but I suspect this may not be necessary. If someone out there understands how all these things inter-relate and would summarise it, that would help some who are getting stuck. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
DJanGo wrote: Hi, this is a real offtopic question, cause its a basic feature - even Winblows is handling file/folder permissions - so it doesnt belong to this big unreadable Thread. Well it isn't off topic if the reason several people cannot get local player to run is some form of permissions problem. To folder /home/ is similar to the c:\user under Win 7/8 or %USERPROFILE% under all Winblows Systems. Only the User and the localadmin had rights to this - same under tux that user mostly known as root can do that. Under blows a localadmin can change the ownership of these Folders - same under tux - again - its a basic feature. What is 'tux'? and creating a home directory for squeezeboxserver. Thats no good - cause a User that acts as Service doesnt need a home and should have any home. But the log said: Home directory not accessible : Permission denied which log and when? The log referred to is either the server log or the local player log, when local player fails to run. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Local Player plugin and Squeezelite for Linux/Windows/OSX
DJanGo wrote: Well thats not really helpfull to answer with a this or that - its clear that you didnt mean the log from the Black Pearl (The Ship from Jack Sparrow) It may surprise you to know that I don't know what the Black Pearl is, nor what The Ship from Jack Sparrow is. It doesn't matter, and I do not want to know, but we have to try to use language most people will understand don't we ? :) A new thread may be helpful, so thanks. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=97766 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Howto install/Setup Local-Player-plugin under Linux (debian/ubunto etc.)
DJanGo wrote: * The User that starts LMS must be in the group audio to use audiohardware. Code: sudo groups squeezeboxserver |grep audio || sudo useradd -G audio squeezeboxserver Can I just ask whether this has been proven? I used to recommend it to people, but I'm not 100% sure it is necessary. If it was, wouldn't Triode found this when testing and stated this himself? LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=102189 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Howto install/Setup Local-Player-plugin under Linux (debian/ubunto etc.)
DJanGo wrote: Thanks (this time no ironic taste) for proven the fact that this Thread is necessary otherwise you have read Triodes #1 in the main Announce Thread. I did read it over a year ago. Strangely enough I don't remember everything I've read. A failing I know. My excuse is age and missing bits of brain, but I will give myself 5 lashes just in case it helps me, and to satisfy the dismaying number of people I know who seem to remember almost everything :) LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=102189 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
If you are intending to produce a new release at some point, there's a trivial matter - I get this in the log every time LMS starts up: Code: [14-10-12 08:16:00.3750] Slim::Utils::Misc::msg (1343) Warning: [08:16:00.3739] defined(@array) is deprecated at /var/lib/squeezeboxserver/cache/InstalledPlugins/Plugins/SrvrPowerCtrl/Util.pm line 69. [14-10-12 08:16:00.3765] Slim::Utils::Misc::msg (1343) Warning: [08:16:00.3755] (Maybe you should just omit the defined()?) LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
nidzo wrote: more than that. after a new install of LMS everything from erland has disappeared Forgive me if this is obvious, but do you have access to some other 3rd party plugins? LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
nidzo wrote: i have to say no. at least, i can see a Herger plugin, but there are manymany missing. i cant' understand... there is another problem, probably connected. when i re-installed LMS, it asked (as usual) the squeezebox.com credentials. it turned out that it's impossible to connect. ok, i asked for a new password, i can connect on the web page, but still LMS doesn't connect to sqeezebox.com. I guess you need to sort out your login first. Once that is straight you need to investigate the options on the plugins page. You may need to enable something to see all the third party ones (it's some time since I last had to do this). Another possibility is permissions problems to the LMS plugin data in cache and/or prefs (on linux in /var/lib/squeezeboxserver.) LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
nidzo wrote: the point is that i can login, but in the webinterface www.mysqueezebox.com, so the credentials are correct.. but in cannot use them in the settings page of logitech media server. Well I guess there's something seriously wrong with your installation. I don't suppose starting again, completely uninstalling and purging, deleting all prefs etc, and then moving to the latest 7.8 release appeals? It's what I would do. I see you are on a fairly old release. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
I thought I'd try your latest version as in #2085 to see what's new. It's all be fine except two things. I think I must have run the setup script wrong (as a user, with sudo), since sudoers got corrupted and I couldn't use sudo at all. Fortunately a search came to the rescue and using 'pkexec visudo' I was able to fix it. It turned out that all the new entries had the 'squeezeboxserver' text missing at the start, so I fixed that. I have then spent a day going quietly nuts over the wakeup scripts. There are currently 3:- spc-wakeup.sh, spc-wakeup.alt.sh, and spc-wakeup_alt.sh. I tried each one but have problems with all as far as I can tell. I'm on ubuntu 14.04 64 bit if that makes any difference. If I set up the wakeup script in the settings, apply and restart LMS, all is well and I get a message like: Code: [14-11-02 16:56:46.5343] spc-wakeup.sh (3536) Current wake alarm is set for 1414974000 (Mon Nov 3 00:20:00 GMT 2014). However, if I then reboot I get messages like: Code: [14-11-02 17:22:08.3002] spc-wakeup.sh (1909) No wake alarm set. [14-11-02 17:23:38.1465] spc-wakeup.sh (2024) No wake alarm set. I have made the recommended change (from http://www.mythtv.org/wiki/ACPI_Wakeup#Disable_hwclock_updates) to /etc/init/hwclock-save.conf to save /sys/class/rtc/rtc0/wakealarm and restore it after setting the time. When I look at /sys/class/rtc/rtc0/wakealarm and /proc/driver/rtc after restarting but before rebooting all is in sync. After a reboot /proc/driver/rtc is still OK, but /sys/class/rtc/rtc0/wakealarm is empty. If I then manually run the spc-wakeup.sh script I get 'No wake alarm set' again. If I run the spc-wakeup.alt.sh script it seems to set it OK the first time, but it still gets lost after a reboot. What am I doing wrong? My hwclock-save.conf file contains: Code: description save system clock to hardware clock start on runlevel [06] task script . /etc/default/rcS [ $UTC = yes ] tz=--utc || tz=--localtime [ $BADYEAR = yes ] badyear=--badyear ACPITIME=`cat /sys/class/rtc/rtc0/wakealarm` exec hwclock --rtc=/dev/rtc0 --systohc $tz --noadjfile $badyear echo $ACPITIME /sys/class/rtc/rtc0/wakealarm end script LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
Erland, I was wondering whether there's anything that could be changed in LMS 7.9 to assist in running custom scan in parallel with the normal scan. See http://forums.slimdevices.com/showthread.php?101248-What-should-be-included-in-7-9p=794961viewfull=1#post794961 LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
I decided to clear 'prefs' and re-install the new version. All seems well now with wake alarms, even without the edit to hwclock-save.conf. One of those mysteries of life that I'll make a note of but otherwise leave well alone (whilst it still works) :) LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
mps wrote: I have created a Dynamic Playlist (using SQL Playlists) that returns all of the tracks in a work so I can play an entire symphony, etc.. This works fine for the first few works but then I run into a truncation problem. Suppose I have a 4 movement symphony that is returned as track 9 of the dynamic playlist. Since the dynamic playlist seems to only remember the first 10 tracks returned by the SQL playlist, it plays the first two movements correctly, but then requeries for subsequent songs, missing the last two movements of the symphony. I'm sorry if this is confusing, I forgot to grab a screenshot when it happened. Hopefully the explanation makes sense... Thanks, Mike DO you use custom scan, and do your 'works' include a 'work' tag? If so, something like the following should do the job (it does for me). Code: -- PlaylistName:Random Classical Works -- PlaylistGroups:Random -- PlaylistOption Unlimited:1 create temporary table sqlplaylist_random_work as select customscan_track_attributes.extravalue as work, tracks.album as album from customscan_track_attributes join tracks on customscan_track_attributes.track = tracks.id left join dynamicplaylist_history on tracks.id=dynamicplaylist_history.id and dynamicplaylist_history.client='PlaylistPlayer' where customscan_track_attributes.module='mixedtag' and customscan_track_attributes.attr='WORK' and dynamicplaylist_history.id is null and audio=1 group by customscan_track_attributes.extravalue, tracks.album order by random() limit 10; select tracks.url from tracks join customscan_track_attributes on tracks.id = customscan_track_attributes.track join sqlplaylist_random_work on tracks.album = sqlplaylist_random_work.album where sqlplaylist_random_work.work = customscan_track_attributes.extravalue and customscan_track_attributes.module='mixedtag' and customscan_track_attributes.attr='WORK' and audio=1 group by tracks.id order by tracks.album,tracks.disc,tracks.tracknum; drop table sqlplaylist_random_work; LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
mps wrote: Hi PasTim, That's essentially what I did, but how do you deal with the problem of dynamic playlists truncating the list? Thanks, Mike I don't get truncation with this SQL. I don't see why you should. What this SQL does is select 10 Works and lists them in a table. It then plays all the tracks in each Work, however many there are. When near the end of the playlist it selects another 10 Works (not tracks). That's why there are two separate steps. If done in one SQL statement you will get truncation. It may be that I have misunderstood your problem, but with this SQL (and variations on it) I have sat for many hours playing tens of random 'works' (some of which have 50 or more tracks) with no problem. It's one of the tools I use the most. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
mps wrote: Thanks for the response, PasTim. Maybe I am missing something obvious. I use the following SQL, which works fine from Test/Save Play in the SQL playlist menu. Code: -- PlaylistName:Random Played Works -- PlaylistGroups: DROP TABLE IF EXISTS albumworks; CREATE TEMPORARY TABLE IF NOT EXISTS albumworks AS SELECT tracks.album AS album, customscan_track_attributes.value as work, Ifnull(track_statistics.playcount, 0) as playcount FROM tracks JOIN multilibrary_track LEFT JOIN track_statistics JOIN customscan_track_attributes ON tracks.id = customscan_track_attributes.track AND tracks.url = track_statistics.url AND customscan_track_attributes.module = 'customtag' AND customscan_track_attributes.attr = 'WORK' AND tracks.id=multilibrary_track.track AND multilibrary_track.library=2 GROUP BY tracks.album, customscan_track_attributes.value ORDER BY random(); SELECT tracks.url FROM (SELECT rowid AS albumworks_id, album as albumworks_album, work, playcount from albumworks WHERE playcount 0 limit 10) JOIN tracks JOIN customscan_track_attributes ON tracks.id = customscan_track_attributes.track AND customscan_track_attributes.module = 'customtag' AND customscan_track_attributes.attr = 'WORK' AND customscan_track_attributes.value = work AND tracks.album = albumworks_album ORDER BY albumworks_id, tracks.tracknum; However, when I run it as a dynamic playlist (easily accessed from iPeng, etc.), it only plays the first 10 tracks and then gets one track at a time, disregarding any work in progress. 16691 Does that make sense? What should I do differently? I would move the 'limit 10' from the 2nd SQL statement to the end of the first after the ORDER BY Random() - see my example. Where it is now it is limiting the tracks to 10 instead of the Works. LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: New versions of erlands plugins
mps wrote: Thanks! That's very helpful. I also moved the WHERE playcount 0 into the first query because I was only getting 4 or 5 tracks, but I'm hopeful everything will work now. Thanks again, Mike Is it working OK now? LMS 7.9 on VortexBox Midi running Xubuntu 14.04, FLACs 16-24 bit, 44.1-192kbps. Wired Touch + EDO, coax to Musical Fidelity M1 CLiC. Alternatively squeezelite to a bit of home-cooked code and thence to M1 CLiC using a UPNP stream. Wireless Xubuntu 14.04 laptop controls LMS via Chromium. Meridian Explorer USB DAC to listen via Squeezelite on Vortexbox other PCs as required. Spare Touch in loft. PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=49483 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Custom Scan speed
I'm running 7.5.3 on a PC (XP). Doing the scans for Custom Scan with around 10,000 tracks on an internal SATA II drive is taking 2-3 hours. I have the Mixed Tag and Custom Tag scans (with 2 new tags being loaded) The main SB scan takes only 5-6 minutes. Is there any way I can speed up the Custom Scan? -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85180 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Browse, Classical Albums
See http://wiki.slimdevices.com/index.php/Setup_browse_menu_for_classical_music and http://wiki.slimdevices.com/index.php/Setup_dynamic_menu_to_browse_music_by_tags You may not need to go this far. I started ripping CDs from scratch for the SB, so adding new tags (Work and Movement) wasn't a major problem. -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85195 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Scan speed
erland;608008 Wrote: Sounds strange, SqueezeboxServer and MySQL processes should use more CPU during scanning. Exactly how have you configured the Custom Scan settings ? Are you using an internal harddisk or an USB or network drive ? I have an internal 1tb SATA 2 drive. Looking at the Win XP performance stats it is transiently processing about 70 transfers per second, with 2-3% CPU, then nothing much for a couple of seconds, then repeating the cycle. It's as if it is on a timer or waiting for some event somewhere. The scans are set up as follows: Custom Tag is set to read 'WORK,MOVEMENT' from the FLACs. It's 'enabled' and 'included in automatic scans and scan all'. Mixed Tag is also 'enabled' and 'included in automatic scans and scan all', with scanning order '60' (I confess I don't understand what the latter does). Each tag is then set up pretty much 1 to 1, so: ARTIST to Artist ARTIST,ALBUMARTIST to Album Artists ARTIST,TRACKARTIST to Track Artists the rest are 1 to 1 then including custom tags and mapping as follows: ALBUM(Album:Albums),ARTIST(Artist:Artists),GENRE(Genre:Genres),YEAR(Year:Years),CONDUCTOR(Conductor:Conductors),COMPOSER(Composer:Composers),BAND(Band:Bands),TRACKARTIST(Track Artist:Track Artists),ALBUMARTIST(Album Artist:Album Artists) Under the 'various settings', no title format, and all other selections ticked. I hope that's enough to help. Let me know if you need more. I do appreciate your work - it's almost essential for classical music. I have made a small contribution. I'd quite like to know how you worked out how to construct the plugins. Is there a guide somewhere? I'm reasonably SQL literate, and have some familiarity with XML, but have no idea how you have linked everything up with SB. -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85180 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Scan speed
MillmoorRon;607997 Wrote: I've got more than 60k tracks and it takes about 12 hours to do a CustomScan (CustomTag only, 2 new tags) after the 2 hours it takes for a (full) Squeezecenter rescan. This is the only thing that is slower since I switched from Win to Ubuntu - no idea why though. Hard disc activity is fairly continuous during the scan. I'm still ripping my collection. A slow process. It's mostly classical and I have to manipulate almost every tag on every track to get it all to where I want to be. This means I'm doing scans regularly to get up to date with what I've done thus far. Your 12 hour custom scan sounds about the same as mine scaled up for the 2-3 hours it takes for (now) about 12,000 tracks. However, my straight SB full scan seems to be much quicker than yours. Maybe a difference in raw CPU/Disc power? (not that my PC is any great shakes). This makes me suspicious that something odd is happening in custom scans to make it use resources inefficiently (and periodically). -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85180 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Scan speed
erland;608133 Wrote: I would consider that if 7.6 didn't already have a solution for it, but since 7.6 will improve this a lot I don't want to spend time making the current solution more advanced. I'm glad to see my nose for spotting potential sources of software problems hasn't entirely dissipated since I retired from the IT business. Good news about 7.6. I'm very happy that an improvement is in the pipeline. Should I try the 7.6 beta or is that a bit risky? As a matter of interest, how much do you have to tweak the plugins for each major release? If you move on to other interests, what is the chance your very valuable plug-ins will still work in the future? -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85180 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Scan speed
MillmoorRon;608230 Wrote: Mine's an AMD Athlon 64 X2 4800+ with 2 GB DDR2 RAM with music on internal SATAII Drive. Hardly a supercomputer but more than good enough for a dedicated Squeezecenter I would have thought! Mine's a lot older and slower than that, but more than adequate for most things. It sounds as if SB 7.6 is what we need. I don't know when this is due for official release, not whether a new version of the plugin will be needed. -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85180 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom Scan speed
erland;608294 Wrote: A They will always continue to work on the current Squeezebox Server version, the question is when I no longer have the interest to spend my spare time for free to upgrade them to work with a new Squeezebox Server version. When this happens you might be forced to not upgrade if you like to keep using my plugins. The future will tell when this happens, as long as I maintain them by myself it's just a matter of time. My best guess is that 7.6.x is pretty safe, 7.7 and later a bit more risky and 8.0 will probably mean the end for many of my plugins. Hopefully we will have an alternative solution by the time my plugins no longer works. I'm personally not even sure Logitech is going to invest the development time needed to reach something worth to be called 8.0, but that's just speculation. Many thanks for your constructive response. I'll bear it in mind for the future. Thanks also for your continued work on the plugins. The ones I have installed (Custom Browse, Custom Scan and Multi Library) make a really big difference to the usability of SB for classical music. -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85180 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Import ratings from a tag
I have a load of flacs with a 'rating' tag. I have multi-library, custom browse, custom scan, trackstat and the database query plug-ins installed. I have included tag 'rating' in custom scan, and with the database query I can see custom scan found it on the tracks that have it, and presumably has included it in the SB database. However, having done this I can find no way of viewing or using this tag. Trackstat seems to use its own rating scheme rather than the imported one. I've looked on the wiki but failed to find help. There's mention of the Music Information Screen but as far as I can tell that only works on some devices. I have a Touch. It must be there somewhere. Can someone point me at instructions on this? I'm quite keen to retain ratings in the music files themselves rather than, or in addition to, a separate SB database (it gives an measure of future-proofing). I'm still fairly new to SB and the plug-ins, so please forgive me if I'm being a bit dim. -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85537 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Import ratings from a tag
erland;609746 Wrote: Try configure it in the RatingTag scanning module in Custom Scan, this will import it into TrackStat and Squeezebox Server standard database tables. Thanks. I should have said I'd already done that. Whilst I have now found a way to include the custom scan rating in the web interface title (using the CUSTOMSCAN_RATINGTAG_RATING keyword), I don't seem to be able to change the title on the touch. Do you know if that is that a limitation of the touch? I think I've figured out that the custom scanned rating is not included in or related to any trackstat ratings. Is that correct, or is there an explanation somewhere on the wiki that I have missed? Is there a sensible range I should use on custom scanned ratings (eg 1-5, 1-10, 1-99?? I did try the 'rating' menu under custom browse, but that returned the error below. I'm not quite sure, but it seems it doesn't recognise {rating}. Home / Custom Browse / Ratings / Artists No matching songs, albums or artists were found Refresh(Custom Browse 2.10.3296) Error: Running: select contributors.id,contributors.name,substr(contributors.namesort,1,1) from contributors,tracks,contributor_track,track_statistics where tracks.audio=1 and tracks.id=contributor_track.track and contributor_track.contributor=contributors.id and contributor_track.role in (1,5) and tracks.url=track_statistics.url and ifnull(track_statistics.rating,0)={rating}-10 and ifnull(track_statistics.rating,0){rating}+10 group by contributors.id order by contributors.namesort asc got error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}-10 and ifnull(track_statistics.rating,0){rating}+10 group by contributor' at line 8Running: select ,case when =0 then 'Unrated' else concat(floor((+10)/20),' stars') end got error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'case when =0 then 'Unrated' else concat(floor((+10)/20),' stars') end' at line 1 -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85537 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Import ratings from a tag
erland;609902 Wrote: In the Custom Scan Rating Tag scanning module settings, what have you set the following fields to: - Max rating value - Write ratings to Squeezebox Server The Max rating value should be set to the value you use for a maximum rating in your rating tag, for example 100. The Write ratings to Squeezebox Server needs to be checked if it should write the ratings to the TrackStat and Squeezebox Server standard tables. Also, make sure you actually run the Rating Tag scanning module because I think it's turned of by default. You can run it manually through the Custom Scan settings page or you can check the Include in automatic scans and Scan All checkbox if you want it to run automatically after a Squeezebox Server rescan. Just note that when it's executed it will overwrite any previously existing ratings in Squeezebox Server, for example those changed/set with the TrackStat plugin. Which Squeezebox Server version are you using ? Does TrackStat work correctly ? Can you navigate its menus in the web interface without errors ? Does other Custom Browse menus work correctly ? Which operating system is Squeezebox Server running on ? Did you install Custom Browse plugin by checking the checkbox in the Plugins tab or did you download and unzip it manually ? If you are using Squeezebox Server 7.6 nightly build, that could cause the problems because I've currently only tested it on 7.5 and earlier releases. I have set 'write ratings', and the max rating is 100. I have ensured the scan was run. I only have a few tracks with ratings tags (I'm waiting to ensure I get it working before assigning all the ratings I have on the CD sleeves to the tracks). I'll assign a few more and re-run the full scan (about 4 hours for the custom scan). I loaded all plugins via the plugin menu. I have separately downloaded the plugin zip files as a backup, but haven't installed them that way. I'm running SB 7.5.3 on Windows XP SP3. The Trackstat menus I've tried don't give errors. All my other custom browse menus are OK (I'm using the classical 'work', 'movement', 'composer' etc menus). However, I tried some others and 'Years' gives an error on tracks with no years ('unknown') as below. Note that I have not assigned or created any separate 'sort' fields (such as titlesort) myself. I have already ensured that every track/song has a disc tag entered set to 1 or more. No matching songs, albums or artists were found Refresh(Custom Browse 2.10.3296) Error: Running: select albums.id,albums.title,substr(albums.titlesort,1,1) from albums,tracks where albums.id=tracks.album and tracks.year={year} group by albums.id order by albums.titlesort,albums.disc asc got error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '} group by albums.id order by albums.titlesort,albums.disc asc' at line 4 -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85537 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Import ratings from a tag
An update. I increased ratings on my tags to be in the tens (rather than 10 as they were) and set more. I then did a complete rescan (SB all custom scan). The Ratings menu now works, and trackstat included tracks I rated in my tags. I don't know why having only a few ratings, and 10, should have broken the SQL, but they did. Years still fails for 'unknown' years, but I'm not too bothered. I do have albums and songs without years (since I don't know some and have failed to discover them). Is it correct that I can't get the ratings onto the Touch screen? There seem to be no title facilities I can find in SB server Player Settings. Thanks for your help, and I apologise if I have wasted any of your time. -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85537 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Import ratings from a tag
erland;610049 Wrote: You can't get them onto the standard Now Playing screen and you can't get them into the browse menus. However, you will see the ratings if clicking + (more) button on the remote on a track or holding a while on a track so the context menus opens. In the context menu there is a Rating menu item. If you want them on a Now Player screen saver, you will have to design your own style in Custom Clock applet, in Custom Clock you should be able to use the title formats described in the Display of ratings chapter on the TrackStat wiki page: http://wiki.slimdevices.com/index.php/TrackStat_plugin I think you might need to configure the title formats you use also in the Custom Clock Helper plugin. Thanks very much indeed. I can now see the information you mention, and I'll give your screensaver suggestion a go. There's so much to learn about this device. I'm truly astonished by how flexible it is, and by how much people like yourself have done to enhance it. -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85537 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] Custom browse menus and headers
: http://www.google.com/search?q=',contributors.name) from contributors where contributors.name is not null and contributors.id=Lewis%252C%2520P group by contributors.id got error: Unknown column 'Lewis' in 'where clause'Running: select contributors.id,concat('Amazon: http://www.amazon.com/s/ref=nb_ss_m/104-6535125-4336744?url=search-alias%3Dmusic-artistfield-keywords=',contributors.name) from contributors where contributors.name is not null and contributors.id=Lewis%252C%2520P group by contributors.id got error: Unknown column 'Lewis' in 'where clause'Running: select contributors.id,concat('allmusic: http://www.allmusic.com/cg/amg.dll?p=amgopt1=1sql=',contributors.name) from contributors where contributors.name is not null and contributors.id=Lewis%252C%2520P group by contributors.id got error: Unknown column 'Lewis' in 'where clause'Running: select contributors.id,concat('Wikipedia: http://www.wikipedia.org/wiki/',contributors.name) from contributors where contributors.name is not null and contributors.id=Lewis%252C%2520P group by contributors.id got error: Unknown column 'Lewis' in 'where clause' -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85673 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom browse menus and headers
Magic. You are, of course, spot on. It now works exactly as I wanted. Thanks very much. If you have time to tell me why it caused this I'd be grateful. I need to find my way round the internals a bit more to understand how it hangs together. For instance, there's a mass of header menu items (eg artistheader/genre), but I can't figure out what gets used where (and why). Is there a guide somewhere on the wiki? To anyone reading who doesn't understand why I wanted this extra tag, consider a multi-Movement Work of which you have several performances, on CDs that have performances by different people. I want to keep 'Album Artist' for its genuine meaning (the Artist or Artists, if any, that apply to the whole CD or set of CDs in a multi-disc set). I want to keep 'Artist' (Track Artist) for it's true meaning for that Movement, particularly in works that have different artists in different movements (eg a Choral work or Opera). So I want something that identifies who is the key Artist (or Artists) for the Work (set of Movements/tracks) as a whole. The standard 'works by composer' menu goes straight from works to movements, which may be by several people, and it isn't easy to pick the set of movements for the performance you want. You could go via a different menu (eg. composers by artists) but by the time you are where you are (having forgotten you had 3 Bach B Minor Masses with 20+ Movements in each version) that's a pain. WorkArtist fixes this. Thanks again. -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85673 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Custom browse menus and headers
OK - Thanks. -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85673 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
[SlimDevices: Plugins] A minor feature of the Album Info
I have a number of Albums with '' in the name. Knowing a little about IT I might have guessed this might have been foolish, but With Custom Browse (ClassicCB), I select a set of tracks into the playlist. Both the playlist on the right and the list of songs (on the left) show the full Album title correctly for each track, including the ''. However: - if I click on the Album title in one of the list of songs on the left, the full Album title is shown at the top of the frame. - if I click on the Album title in one of the playlist items on the right, the Album title at the top of the left hand frame is truncated just before the '' Since '' is a special character I suspect something has been left out when parsing the Album title in this specific instance. -- PasTim PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642 View this thread: http://forums.slimdevices.com/showthread.php?t=85715 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins