Tiny Core Base > Raspberry Pi
shairport, minidlna, mpd or mopidy for TC6?
aprilmayjune:
--- Quote from: sbp on March 27, 2015, 05:43:56 AM ---
--- Quote from: boat-bum on March 27, 2015, 02:43:25 AM ---Concerning Shairport-sync, wouldn't it be better if we could use Shairport on the Squeezeboxserver as an LMS plugin or a server source rather than re-invent the wheel to do all the same communication?
--- End quote ---
I fully agree.
This seems like a much better way. By doing so the LMS would take care of the sync and you would be able to play through LMS to all connected devices. Also the trouble with dual use of the sound card will be avoided as all will be played through LMS (and squeezelite in the case of piCorePlayer).
There is a recipe here, the only trouble seem to be related to the fact that the plug-in needs to be build for each architecture where the LMS is running:
http://forums.slimdevices.com/showthread.php?100379-Announce-ShairTunes-Plugin
Regards
Steen
--- End quote ---
I've been slowly moving all my little computers to LMS and squeezelite from Mopidy/MPD, but everyone I know still uses airplay (including me!) so I've been trying integrate both sync systems. I've more or less got squeezelite and shairport-sync nailed down on my one Pi and two bay trail linux boxes. Shairport-sync and shairport have an option that sends commands when you start (-B) and when you stop (-E) airplaying. So that's what I do. After my device is chosen, once I click play, shairport sends a command to turn off the squeezelite player, then the music will airplay. When I'm done, i.e. a few moments after clicking pause, shairport sends a command that turns the squeezelite player back on. Works pretty well.
I just ordered myself a raspberry pi a+ and thought I'd try picoreplayer, but I couldnt figure out where to even begin to get shairport-sync installed until I found this post. I thought I'd try the shairtunes plugin option for LMS mentioned above despite not liking the idea that airplay wouldn't work if LMS was off. But after going through the mentioned thread, I saw that no one has figured out how to get shairtunes plugin to play on more than one device at a time! In other words, no syncing at all! Unless I completely read the thread incorrectly...
So anyways, I think it would still be helpful to have shairport-sync that runs on tinycore just to get that airplay syncing functionality that LMS still is unable to provide.
Greg Erskine:
--- Quote from: aprilmayjune on April 14, 2015, 01:27:09 AM ---I've been slowly moving all my little computers to LMS and squeezelite from Mopidy/MPD, but everyone I know still uses airplay (including me!) so I've been trying integrate both sync systems. I've more or less got squeezelite and shairport-sync nailed down on my one Pi and two bay trail linux boxes. Shairport-sync and shairport have an option that sends commands when you start (-B) and when you stop (-E) airplaying. So that's what I do. After my device is chosen, once I click play, shairport sends a command to turn off the squeezelite player, then the music will airplay. When I'm done, i.e. a few moments after clicking pause, shairport sends a command that turns the squeezelite player back on. Works pretty well.
I just ordered myself a raspberry pi a+ and thought I'd try picoreplayer, but I couldnt figure out where to even begin to get shairport-sync installed until I found this post. I thought I'd try the shairtunes plugin option for LMS mentioned above despite not liking the idea that airplay wouldn't work if LMS was off. But after going through the mentioned thread, I saw that no one has figured out how to get shairtunes plugin to play on more than one device at a time! In other words, no syncing at all! Unless I completely read the thread incorrectly...
So anyways, I think it would still be helpful to have shairport-sync that runs on tinycore just to get that airplay syncing functionality that LMS still is unable to provide.
--- End quote ---
hi aprilmayjune ,
I have been playing with shairport.tcz on piCorePlayer and it seems to work well. I don't like your idea of having shairport a priority over squeezelite though. ;D
Note that shairport.tcz has a lot of dependencies.
Rather than have a specific shairport install procedure, we are currently looking at a piCore extension installatiosn via the web interface.
I would recommend you initially use piCorePlayer1.18b on your RPi A+. Getting the wireless to work on piCorePlayer1.19 is problematic. The fix is done, just not available yet.
regards
Greg
aprilmayjune:
--- Quote from: Greg Erskine on April 14, 2015, 04:12:41 AM ---hi aprilmayjune ,
I have been playing with shairport.tcz on piCorePlayer and it seems to work well. I don't like your idea of having shairport a priority over squeezelite though. ;D
Note that shairport.tcz has a lot of dependencies.
Rather than have a specific shairport install procedure, we are currently looking at a piCore extension installatiosn via the web interface.
I would recommend you initially use piCorePlayer1.18b on your RPi A+. Getting the wireless to work on piCorePlayer1.19 is problematic. The fix is done, just not available yet.
regards
Greg
--- End quote ---
Greg,
Haha, I prefer using squeezelite over shairport-sync also, but tell that to a significant other when all she wants to do is play music quickly from her iphone. Airplay passes the girlfriend/wife test. iPeng and web ui is still a hard sell.
Squeezelite, for some reason, hogs the sound card even when not in use. That's the main reason I need to turn it off.
If you were to add the shairport install as a picore extension via webface, i think the shairport-sync fork (if available as tcz) would be a better choice basically because the original shairport is no longer being maintained. As James Laird says, he doesn't even use it himself anymore. Not to mention, it has that really great syncing feature. Regular shairport does tend to drift after a while. Picoreplayer would be the ultimate streamer then!
Is wireless an issue with just the A+ and picoreplayer 1.19 or picoreplayer 1.19 in general? I tested it on my Raspberry PI B and the wireless seemed to work ok.
Thank you!
aprilmayjune:
Installed shairport.tcz on my A+ and I'm having some strange problems. After a while, the Airport player will disappear from ios and itunes selector. On my other pi, it usually just means that shairport crashed, but on the A+ shairport it is still running! Another strange thing too is that the airplay device will appear disconnected from itunes (orange airplay icon instead of blue) while the music is still playing through the A+! When I uncheck the device, it disappears from the list. Then the final strange thing is the device will randomly reappear.
lykkedk:
Hi here.
I am playing with this shairport plugin for my squeezelite player.
I see, that when i use the .asound solution, for sharing both LMS server stream, and airplay, the CPU usage goes higher.
Look below:
Around 48% CPU usage with "default/.asoundrc"
/home/tc/squeezelite/squeezelite-armv6hf -z -a 80 4 -n PlayBox -m xxxxxxx 5E -s 192.168.1.1xx
Around 8% COU usage with "hw:CARD=D20"
/home/tc/squeezelite/squeezelite-armv6hf -z -a 80 4 -o hw:CARD=D20 -n PlayBox -m xxxxxxx 5E -s 192.168.1.1xx
Well, i was thinking that if it was possible to identificate, wheather some media connect to shairport, then i can kill squeezelite with my D20 CARD, and start it with default(.asoundrc) CARD. -This way, CPU will only be high when shairport is actually used.
Any hints :o Rgds; Jesper.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version