Re: [slim] Control Your Display using LCDd and the LMS CLI
fvzeppelin wrote: > > To make the question more concrete: Subscribing works, requesting > doesn't (using exactly the same methods). Is there any qualitative > difference? My solution: When I put the request message together with a connect message in 1 http post, and add Code: 'advice':{timeout=0} to the connect message, it works :mad: Who knew this?? ;) fvzeppelin's Profile: http://forums.slimdevices.com/member.php?userid=65388 View this thread: http://forums.slimdevices.com/showthread.php?t=116018 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control Your Display using LCDd and the LMS CLI
mherger wrote: > > Feel free to use it, share feedback, ... > > The only feedback I'd have would be: make your life easier by using the > > json/rpc interface rather than the CLI... It doesn't require a > persistent telnet style connection, but http. And the responses are well > > structured JSON you can easily parse. Ok, after digging into the details for a while I would like to try the cometd way, as it supports subscriptions and long-polling. I can handshake, connect, subscribe, request - all of this with successful replies. BUT: I never get a response with the actual content that I requested :mad: Example: I make a POST request like: Code: [{"channel": "/slim/request", "clientId": "a522cace", "data": { "request": [ "", [ "serverstatus", 0, 255, "prefs:ignoredarticles,browseagelimit,noGenreFilter,PLUGIN_TRACKSTAT,audiodir", "playerprefs:playtrackalbum,digitalVolumeControl" ] ], "response": "/a522cace/slim/request" }, "id": 2 }] The response is: Code: {'clientId': 'a522cace', 'id': 2, 'channel': '/slim/request', 'successful': True } After that silence. What do I need to do to make the server send the requested content? fvzeppelin's Profile: http://forums.slimdevices.com/member.php?userid=65388 View this thread: http://forums.slimdevices.com/showthread.php?t=116018 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Control Your Display using LCDd and the LMS CLI
mherger wrote: > > Feel free to use it, share feedback, ... > > The only feedback I'd have would be: make your life easier by using the > > json/rpc interface rather than the CLI... It doesn't require a > persistent telnet style connection, but http. And the responses are well > > structured JSON you can easily parse. Thanks for the hint! It's even got a Python3 controller implementation :D https://github.com/samtherussell/squeezebox-controller fvzeppelin's Profile: http://forums.slimdevices.com/member.php?userid=65388 View this thread: http://forums.slimdevices.com/showthread.php?t=116018 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
[slim] Control Your Display using LCDd and the LMS CLI
Hi, I ported the great work of 'jscrane' (https://github.com/jscrane/lcd_lms) to Python3: https://github.com/fvzeppelin/lcd_lms With Python's inbuilt unicode support, it supports language specific stuff like German Umlauts etc. Additionally, I have linked a detailed build/installation guide also for lcdproc and libugpio on piCorePlayer in the readme. I wasn't really sure if it was worth to share it, here. But all other scripts/solutions I have seen so far had their problems: Either missing unicode support, or not-so-perfectly working display drivers (like causing glitches on VFDs), ... :mad: At least for my setup with piCorePlayer and an HD44780-based VFD, it is the only solution which works nicely as expected :cool: And with LCDd in the back, the script can be easily extended according to your needs (different screens, using keys, ...). Feel free to use it, share feedback, ... Cheers :D fvzeppelin's Profile: http://forums.slimdevices.com/member.php?userid=65388 View this thread: http://forums.slimdevices.com/showthread.php?t=116018 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Play audio CDs from Jivelite
Greg Erskine wrote: > hi fvzeppelin, > > Seems like a really cool project. :D > > Am I understanding correctly, when playing a CD, you are not using the > SB/LMS environment at all. :confused: > > regards > Greg Hi Greg, thanks :D Yes, I am only using Jivelite to control VLC. I think you can use the LMS CD player plugin, if your drive is connected to the machine which is hosting the LMS. But this is not the case for me. Regards Frank fvzeppelin's Profile: http://forums.slimdevices.com/member.php?userid=65388 View this thread: http://forums.slimdevices.com/showthread.php?t=107290 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Play audio CDs from Jivelite
First post updated fvzeppelin's Profile: http://forums.slimdevices.com/member.php?userid=65388 View this thread: http://forums.slimdevices.com/showthread.php?t=107290 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss