Hellsblade wrote: > g me from running this executable (will work on that) > > Luckily i already have an installed nmap on my mac, so the command works > out of the box from there. > Have to work on the output though; > :Title:08:00:27:6c:e1:a2 title Heat Miser :Artists: 08:00:27:6c:e1:a2 > artist Massive Attack :Album: 08:00:27:6c:e1:a2 album Spirits Of Nature > 2 > Should be; > Title: Heat Miser Artists: Massive Attack Album: Spirits Of Nature 2 > > And the most important; because it's not part of the streaming process > itself, it needs a process that runs on title change so the file is > updated. > Maybe some radio broadcaster programs can do that, but that's a bit too > much for a hobby project. > Could maybe make a powershell script for that. > LUA is not my kind of language, but it keeps me busy :rolleyes:
1. It is proof of concept - to show access to LMS CLI and generate a text file with currently playing artist, album and title. 2. If you want notification on changes you use the CLI command "listen 1" - then unsolicited changes will be sent. The script then has to change into a loop whose action looks at strings received, waits for a "newmetadata" message, then does inquiry (look at LMS WebGUI /Help/Technical Information/Command Line Interface) 3. Lua - the scripts won't have to do complicated stuff and there are plenty of resources. I don't know Lua either - I just cobbled it together. KISS principle. http://lua-users.org/wiki/StringRecipes http://lua-users.org/wiki/SampleCode To get used to CLI, I'd advise play around using the "telnet" command - just make sure your commands end with CTRL/J - CLI will only respond t0 lines which end with CTRL/J and not "Return". ------------------------------------------------------------------------ bpa's Profile: http://forums.slimdevices.com/member.php?userid=1806 View this thread: http://forums.slimdevices.com/showthread.php?t=115989 _______________________________________________ Squeezecenter mailing list Squeezecenter@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/squeezecenter