bpa wrote: > A couple of years ago, I worked up a prototype of a Slimproto in JS and > using HTML5 AudioWorkers (??) . > Main problem is that for client to work with LMS it needs a full duplex > TCP connection - I tried with WebSockets but LMS AnyEvent is too old. > There are also problems with AudioWorkers. > > To have a Slimproto solution, you need to have a full duplex connection > with LMS. - not HTTP. > >
Sounds interesting that you got this far. I think it may need a proxy service rather than be a plugin - I mean maybe websockets could be added to LMS - but I don't want to learn that much Perl. I was playing around with websockets and have a small server that proxies the TCP connection from LMS to the web via a websocket I've only used it to play with sending RPC commands back and forth it seems to work bpa wrote: > > Be careful. LMS is tolerated by streaming services with plugins because > it does not offer a way to save streamed audio offline. Saving audio > may infringe rights and so incur litigation. (e.g. you play & save music > on your player from Youtube) > https://www.digitalmusicnews.com/2020/10/26/youtube-downloader-github-takedown/ I don't think the Music companies are very keen on CDs at this point - they would much rather we pay for every listen. However - my app doesn't stream at all and so doesn't work with streaming services - all I'm proposing doing is caching a copy of music you already own on your mobile for later playback - not in a format that would be easily copied to another device. Right now it is using the existing functionality of LMS to download the files which exists in other themes - in fact those download the files as files - what I'm doing is less of an issue as I just play them and the only place they are currently stored is browser cache. Even it is is possible to stream over websockets - I don't think it would make sense to store this data as it would not be tracks and just a continuous stream - wouldn't it ? oh - and youtube downloader is back https://thenextweb.com/dd/2020/11/17/github-restores-youtube-dl-three-weeks-after-ban/ :) ------------------------------------------------------------------------ SeanBurlington's Profile: http://forums.slimdevices.com/member.php?userid=70806 View this thread: http://forums.slimdevices.com/showthread.php?t=113262 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
