Stan Pulsar wrote: > Hi there, > > thanks again for this most useful app. > > Small (hopefully !) request : > any chance you could provide us with a variable for the current track > -ID- , to be used in tray menu links? (ie the 'id' column from the > 'tracks' table in library.db) > > I'm building myself a small search/organise/tag app that I'd like to be > able to launch while listening to music. I have an URL to do this, but > this obviously won't be reliable passing the track title. > > Hope this is feasible without too much work.
You may have asked this before, so thank you for your persistence. At the time, I attempted to do this, but I could not figure out how to get the current track Id from the LMS using CLI and I gave up (temporarily). I just gave it another look and I figured it out. I can get the current track path with "path ?" and then using that to get the id from the songinfo command "songinfo 0 1 url:<path>". I would return a value only if the track is not remote. If the current track is a remote stream, %ID% would return an empty string. How does that sound? R Greg Dawson Squeezelite-X ------------------------------------------------------------------------ rgdawson's Profile: http://forums.slimdevices.com/member.php?userid=65236 View this thread: http://forums.slimdevices.com/showthread.php?t=108550 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
