Re: [slim] Autoplay on device discovery?
philippe_44 wrote: > I've added a while ago a 'hidden' (not available in the GUI) function > that autoplays what's "pending" in LMS for that player when it is turned > on/discovered. You have to set the parameter to 1 in the > castbridge.xml config file. It sends a "play" command to LMS through the > CLI interface Fantastic. I'll give that a go. TurnipMan's Profile: http://forums.slimdevices.com/member.php?userid=9739 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
TurnipMan wrote: > That didn't work. I suppose with the SB Classic etc when you "Power Off" > with a remote they don't really go off in thae same way as cutting the > power on the ChromeCast Audio. > Time to try the CLI stuff, never looked at that before. > > Tom I've added a while ago a 'hidden' (not available in the GUI) function that autoplay what "pending" in LMS for that player when it is turned on/discovered. You have to set the parameter to 1 in the castbridge.xml config file. It sends a "play" command to LMS through the CLI interface LMS 7.7.5 - 5xRadio, 3xBoom, 4xDuet, 1xTouch, 1 SB2. Sonos 2xPLAY:1, PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne, JRiver 21, Chromecast Audio, Chromecast v1, Pi B2, Pi B+, 2xPi A+, Odroid-C1, Cubie2 philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
Thanks. I'll try it in the morning. TurnipMan's Profile: http://forums.slimdevices.com/member.php?userid=9739 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
TurnipMan wrote: > It's on a Rpi2 with Max2Play so it's linux. :o than you should start with something like that (unless another user has a better idea..) - check if max2play has netcat installed eg writing nc [return] in your shell - get the macadress from the Chromcast device - add these lines to a file and name that "autoplay.sh" Code: #! /bin/sh ###vars: ## change that to the mac adress from the Chromcast Device playerID="50:40:30:20:10" #the stream/playlist my_playlist="/playlist_path/playlist.m3u" server=127.0.0.1 port=9090 connected=$(printf "$playerID connected ?\nexit\n" |nc $server $port|cut -d ' ' -f 3) if [ ! $connected = 1 ] then exit 1 fi playerstatus=$(printf "$playerID power ?\nexit\n" |nc $server $port|cut -d ' ' -f 3) if [ ! $playerstatus = 1 ] then echo "powering player on" printf "$playerID power 1\nexit\n"|nc $server $port else echo "player is on" fi playermode=$(printf "$playerID mode ?\nexit\n" |nc $server $port|cut -d ' ' -f 3) if [ ! $playermode = play ] then echo "nothing to play" echo "try to play players playlist" printf "$playerID play\nexit\n"|nc $server $port sleep 2 playermode=$(printf "$playerID mode ?\nexit\n"|nc $server $port|cut -d ' ' -f 3) if [ ! $playermode = play ] then echo "no playlist loaded we play $my_playlist now" printf "$playerID playlist play $my_playlist\nexit\n"|nc $server $port fi else echo "playing" fi exit 0 place that file somewhere under /opt or /usr/local/bin and make it executeable by chmod +x /path/filename use sudo crontab -e and add something like: Code: */15 * * * * /path/filename.sh to start that script each 15 mins. I know its kind off ugly and not perfect cause it runs all 15 minutes and i dont know whats happen, when the device is powered on but paused cause you want to make a phonecall and so on. So it "NOT" really what you looking for it doesnt handle a "device connected and just powered on" - it just a device is connected and it should play my playlist/stream. Gruss Jan DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
It's on a Rpi2 with Max2Play so it's linux. TurnipMan's Profile: http://forums.slimdevices.com/member.php?userid=9739 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
TurnipMan wrote: > That didn't work. I suppose with the SB Classic etc when you "Power Off" > with a remote they don't really go off in thae same way as cutting the > power on the ChromeCast Audio. > Time to try the CLI stuff, never looked at that before. > > Tom whats the os that poweres your lms ? Gruss Jan DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
TurnipMan wrote: > Brilliant I'll have a go at that. That didn't work. I suppose with the SB Classic etc when you "Power Off" with a remote they don't really go off in thae same way as cutting the power on the ChromeCast Audio. Time to try the CLI stuff, never looked at that before. Tom TurnipMan's Profile: http://forums.slimdevices.com/member.php?userid=9739 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
DJanGo wrote: > btw after some thinking ... > > if its always the same stream you may can simple use the audiosettings > from this player (located under settings)... > and set that to: Brilliant I'll have a go at that. TurnipMan's Profile: http://forums.slimdevices.com/member.php?userid=9739 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
TurnipMan wrote: > Is there any way to make the player start a particular stream when the > device is available? > Tom btw after some thinking ... if its always the same stream you may can simple use the audiosettings from this player (located under settings)... > Power On Resume > and set that to: > Stop at Power Off/ Restart playlist at Power on Gruss Jan DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
TurnipMan wrote: > Sounds good. Any chance of some detailed illumination? Pretty please! > Tom I didnt know, if my solution is working for you, cause its written for a rasberry pi. Please take a look at the cli commands in the help section of your lms Server. You can use something like: Code: player count ? or Code: player connected ? I am not sure how and what the subscribe feature does, may thats a better starting point for you. Gruss Jan DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
DJanGo wrote: > Hi, > > i did (mostly) the same but my player "starts" the stream instead of the > lms Server after discovering. > or better: the player told the server to start the stream. > > I took this way because its less overhead for the server. > > its a simple if then bash script that uses the lms cli over netcat. Sounds good. Any chance of some detailed illumination? Pretty please! Tom TurnipMan's Profile: http://forums.slimdevices.com/member.php?userid=9739 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Autoplay on device discovery?
Hi, i did (mostly) the same but my player "starts" the stream instead of the lms Server after discovering. or better: the player told the server to start the stream. I took this way because its less overhead for the server. Gruss Jan DJanGo's Profile: http://forums.slimdevices.com/member.php?userid=1516 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
[slim] Autoplay on device discovery?
Hello, I've made myself a portable SB my combining a Chromecast Audio which I power with one of those high capacity phone charger batteries and a battery powered speaker. As the CC does consume power even when not being used it drains the battery over time so I plug it in as I need it. The Chromecast Bridge plugin http://forums.slimdevices.com/showthread.php?104614-Announce-CastBridge-integrate-Chromecast-players-with-LMS-(squeeze2cast) (Thanks Philippe) only takes about 30 secs to discover it. Is there any way to make the player start a particular stream when the device is available? Tom TurnipMan's Profile: http://forums.slimdevices.com/member.php?userid=9739 View this thread: http://forums.slimdevices.com/showthread.php?t=105263 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Walk with me
And if you use iPeng 9 you don't need a plugin at all and can use it with MySB as well :) Well, my kids don't have iThingies. But they can handle a context menu :-P -- Michael ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Walk with me
And if you use iPeng 9 you don't need a plugin at all and can use it with MySB as well :) But WalkWithMe is a good and pretty simple plugin, no reason not to use it. That said: the functionality is so simple I'm not sure I would care about deprecation. --- learn more about iPeng, the iPhone and iPad remote for the Squeezebox and Logitech UE Smart Radio as well as iPeng Party, the free Party-App, at penguinlovesmusic.com *New: iPeng 9, the Universal App for iPhone, iPad and Apple Watch* pippin's Profile: http://forums.slimdevices.com/member.php?userid=13777 View this thread: http://forums.slimdevices.com/showthread.php?t=103738 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Walk with me
An deprecated alternative is "other player" but it sno longer mantalet by anyone i think ? It fetches or sends the now playing playlist between players Main hifi: Touch + CIA PS +MeridianG68J MeridianHD621 MeridianG98DH 2 x MeridianDSP5200 MeridianDSP5200HC 2 xMeridianDSP3100 +Rel Stadium 3 sub. Bedroom/Office: Boom Kitchen: Touch + powered Fostex PM0.4 Misc use: Radio (with battery) iPad1 with iPengHD & SqueezePad (spares Touch, SB3, reciever ,controller ) server HP proliant micro server N36L with ClearOS Linux http://people.xiph.org/~xiphmont/demo/neil-young.html Mnyb's Profile: http://forums.slimdevices.com/member.php?userid=4143 View this thread: http://forums.slimdevices.com/showthread.php?t=103738 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss
Re: [slim] Walk with me
wonderful fructose's Profile: http://forums.slimdevices.com/member.php?userid=65487 View this thread: http://forums.slimdevices.com/showthread.php?t=103738 ___ discuss mailing list discuss@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/discuss