Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 02 Oct 2014, 13:19
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
OLD: mpdPup - Simplified MPD Music Server/Jukebox - v0.9.2
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 7 of 31 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 29, 30, 31 Next
Author Message
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Fri 27 Apr 2012, 16:31    Post_subject:  

What OS are you running from the laptop that you want to stream to mpd? It sounds like it might be Linux. Another option for streaming is to have another mpd instance on your laptop which can stream over to the mpdPup machine. Still don't understand what exactly you're trying to do, if it's just to play the odd file off your laptop or if you're try to redirect your whole audio stack.

My main objection to Pulse/Jack is the really complexity they add to the whole audio stack, it's less about the size added to the iso. On other computer audio boards users trying more popular Linux distributions run into endless trouble trying to get MPD to work around them.

Regarding WMA - you might want to try QuodLibet. Apparently it's able to tag asf/wma files in a way that ffmpeg can understand, which will in turn allow mpd to add it to the library. This is based on one of the comments in this page.

I just did some testing and see that you're right that mpd needs to get acquire some metadata in order to add a file to the database - I didn't realize this was the case, something to ping the mpd team on I guess, since theoretically as long as mpd can identify that it's a supported audio format it should be able to add it to the db with a lot of 'unknown' in the standard metadata fields.
Back to top
View user's profile Send_private_message 
Funkmaster

Joined: 16 Apr 2012
Posts: 3

PostPosted: Thu 10 May 2012, 10:05    Post_subject:  

Hi, my laptop is running Ubuntu 10.04 and there's another Ubuntu 10.04 laptop in use around here, and a Mac Air running OS X of unknown version.. And then and now the odd W-s computer for a visit, but that's not important in this case. Yes, what I want to do is redirect the audio stack, preferably from any of these computers, over the network to the box running mpdpup that is connected to the speaker system. So it's really only about not having to run a cable from the laptop to connect it to the speakers, but it would be really neat to let the mpdpup thin client box handle all computer audio output, regardless of the source of it.
Does pulseaudio cause issues with mpdpup because of resource use, or because it manipulates the sound in some way? I had mpd play fine on my laptop with pa, only it didn't support wma..
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Thu 10 May 2012, 11:47    Post_subject:  

Pulse screws up the audio stack in a way that's not audiophile friendly - I've seen numerous discussions on people trying to get various Linux systems (often Ubuntu) working with bit-perfectly with MPD, and Pulse is usually the cause of their problems. I'm not fully versed on what it does, but I think one problem is it re-samples all audio to a single sample rate, it also seems to break MPD's ability to address the sound hardware directly/exclusively using ALSA.

All that said, I don't think Pulse Audio is exactly what you want on mpdPup, as both Pulse and MPD would be competing for access to the sound device. I think the Icecast/Shoutcast route as discussed before is still probably the best choice.

Check out these URLs for how to install Icecast and configure it to work with Pulse.
http://www.adriancoroian.com/technical-stream-audio-on-the-web-with-pulseaudio-in-ubuntu-10-10/
http://www.damonkohler.com/2009/01/streaming-music-to-chumby-with.html
http://tormod.landet.net/2009/06/19/streaming-audio-from-spotify-on-linux-to-squeezebox/

Basically once you have it setup per the above instructions on the mpd machine you just need to type:
mpc clear
mpc add http://<server_ip>:8000/stream.ogg
mpc play

Several clients will let you then save that as a playlist then for easy loading in the future.


Regarding WMA, I'm working on the next build, and I've re-compiled ffmpeg with some different compile time options - not yet sure if that's part of the problem but I'll keep you posted.
Back to top
View user's profile Send_private_message 
pcm7985

Joined: 17 May 2012
Posts: 1

PostPosted: Thu 17 May 2012, 06:48    Post_subject: Client175, Remuco, Share...  

Great work, thanks a lot for this package!!!

I have set up mpdPup on a 500GB USB drive, plugged this and a USB sound card (with TOSlink!) into a small box and am glad to have bit-perfect audio without juggling CDs!

I added client175 as a frontend, which was very easy.

Now I'd like to add some more functions. And here's my problem: I need to install python modules, remuco (to use an old smart phone as remote control. Btw: is there a .pet?), samba-TNG. But I just can't install thru a ssh session, and remote desktop to my Ubuntu machine does not work (don't know why).

What am I missing? Any help is appreciated!
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Thu 17 May 2012, 09:25    Post_subject:  

Hi pcm7985, glad it's working well for you thus far. Regarding your Python question, at the moment Python isn't built into the livecd, the two python apps that are bundled in were created using pyinstaller to avoid the overhead of a full Python install.

That said, I'm working on the next version of this LiveCD, which will probably be available in the next week or two. I'm bundling a full Python install in that version, maintaining pyinstaller based builds had too few benefits and too many drawbacks - so the simplest solution would be to wait.

If you don't want to wait that long, the next easiest thing to do would probably be to simply build Python on the system - you can do this by loading up the devx file in the first post, which will give you a full development environment.

On a related note, I hadn't heard about remuco, I may bundle that into the new build as well, need to dig into it a bit more.
Back to top
View user's profile Send_private_message 
PET-240

Joined: 22 May 2012
Posts: 74

PostPosted: Tue 22 May 2012, 13:48    Post_subject:  

G'day Idolse,

This looks most interesting, been arguing with voyage for a bit, still trying to find a card reader that will work under Linux......or windows apparently.
Couple of questions
You mention about a release coming, is it far away, should I try to get this running on my Alixboard now?
You definately seem to be looking at the noobies like me. Are the wizards removed once installed or they just sit and do nothing during run?
Once going, what can be trimmed off to make this as slim as possible to remove processes?
Have you got the local hdd for music storage up yet, if so, can this drive be seen on the network so files can be transferred to it that way?
Enough from me, thanks for the efforts to do this, really much appreciated!

Cheers,

Drew.
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Tue 22 May 2012, 14:27    Post_subject:  

Hi Pet-240, thanks for checking this out - answers inline. Let me know how things go with the Alix board if you do go forward with it - I haven't tested with that board, but I have with a similar Soekris board - I believe it should work for the most part (with the possible exception of the serial console). Just follow the ssh install instructions from the first post.

PET-240 wrote:
been arguing with voyage for a bit, still trying to find a card reader that will work under Linux......or windows apparently.
Sorry you're having bad luck with card reader - in my experience just about any should work, under Linux or Windows - for mpdPup you want one that works under Windows.


PET-240 wrote:
You mention about a release coming, is it far away, should I try to get this running on my Alixboard now?

I'm actually hoping to get it released in about a week, but best laid plans and all that - getting started now shouldn't be a big deal - upgrading is basically a matter of swapping out a single file on the Compact Flash card, though it will require removing it from the Alix board, which can require a bit of effort depending on the case.


PET-240 wrote:
You definately seem to be looking at the noobies like me. Are the wizards removed once installed or they just sit and do nothing during run?
Once going, what can be trimmed off to make this as slim as possible to remove processes?

Linux noobs are a big target, yes - although frankly I prefer using the wizards myself rather than trawling through the various files that need to be modified after a change is made. The wizards only run automatically on the first boot for the system setup, after that they sit on the disk doing nothing until you need to make a change, and you can start them manually at that point.

In terms of reducing processes or files, there isn't really anything you need to do - it's already set up out of the box to run a bare minimum of processes. The only process that's enabled by default which could arguably be disabled is lighttpd, which currently serves album art for mpd clients which support it. In the next release the wizard will ask you whether you want to turn it off or expand it's capabilities by adding mpd web clients.


PET-240 wrote:
Have you got the local hdd for music storage up yet, if so, can this drive be seen on the network so files can be transferred to it that way?

The local HD is now supported, although there is a bug with NTFS that I'll be sorting out in this next release (no problems with FAT/HFSPLUS). Making the drive visible on the network is not yet possible - that requires a fairly sizable package to be installed/cofigured, as well as more running services, so it hasn't been a high priority, but it is on the TODO list for some future release (not the next one)
Back to top
View user's profile Send_private_message 
PET-240

Joined: 22 May 2012
Posts: 74

PostPosted: Tue 22 May 2012, 15:59    Post_subject:  

G'day Again,

Most of that makes sense, will try and have an argument later with it, re the hdd, can one use a larger CF Card and keep music files on that?
Is there any advantage to doing it this way? Only ask as the Alix has an IDE header onboard and I could run a ssd through a Sata to IDE adaptor. Not being able to update over the network is a pain, though I understand where you are coming from! But I dont want to use USB for anything but the dac. A 32gig cf isn't that expensive anymore.
Any suggestions appreciated!

Thanks,

Drew.
Back to top
View user's profile Send_private_message 
PET-240

Joined: 22 May 2012
Posts: 74

PostPosted: Tue 22 May 2012, 16:02    Post_subject:  

Meant to ask, does this have the web interface GUI as yet?

Had little sleep this side of the pond so memory not so great right now!
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Tue 22 May 2012, 16:11    Post_subject:  

No web interface in the current download - the next release will include php, and the wizards will provide a list of web clients that it can download, install, and configure.
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Tue 22 May 2012, 16:19    Post_subject:  

PET-240 wrote:
re the hdd, can one use a larger CF Card and keep music files on that?
Is there any advantage to doing it this way? Only ask as the Alix has an IDE header onboard and I could run a ssd through a Sata to IDE adaptor. Not being able to update over the network is a pain, though I understand where you are coming from! But I dont want to use USB for anything but the dac. A 32gig cf isn't that expensive anymore.
Any suggestions appreciated!


The wizards don't support the boot drive and music drive on the same piece of hardware/partition - if you're comfortable editing the mpd & client configuration file yourself you could make this work though. It might also be doable with the wizards if you partition the drive on Windows with a small boot partition separate from a data partition - not sure if this will work as I haven't explored that as an option too much.

I fully understand where you're coming from though - agree that sharing a DAC and a USB hard disk on the same bus is not ideal. My answer to that at the moment is to use a separate file server/NAS, but better support for your scenario is something I'll need to put some though into.
Back to top
View user's profile Send_private_message 
PET-240

Joined: 22 May 2012
Posts: 74

PostPosted: Tue 22 May 2012, 16:58    Post_subject:  

Hey if you can think about it I can test it.......

Also, I noticed on one of the voyage hack sites(Japan?) they are using OSS? No idea what this would do and whether it supports 24/192? Can try to send a link soon, can get there off the voyage site. May give some further ideas long term? Though I don't think you have any issues regarding ideas!
I'll set it up nas wise and we can play from there!
How hard you reckon to whack on a apple tv 1st gen?
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Wed 23 May 2012, 02:35    Post_subject:  

I've looked into OSS before, but previous releases have required that the user actually purchase it, so it's not something that can be added into a livecd like this. Looks like they've changed their licensing recently, so I may dig into it more in the future.

Whacking it on an Apple TV would be a no-go, Apple is using ARM, this is compiled for Intel/x86 processors. ARM support is a someday way in the future thought at the moment - once I get a more formalized build system up and running it may be doable, as that's something that the Puppy Linux team is currently working on. Edit - I just saw that the first gen Apple TV is Intel - so it should be possible theoretically, but I've got no idea what it would take.
Back to top
View user's profile Send_private_message 
PET-240

Joined: 22 May 2012
Posts: 74

PostPosted: Wed 23 May 2012, 05:00    Post_subject:  

Heya!

Have another post I thought was here but app not..... Will go find!

Good news bout apple tv, will see what can be done, there is one about with voyage, so if it can, am sure we can figure it out. Poss more you!
Back to top
View user's profile Send_private_message 
PET-240

Joined: 22 May 2012
Posts: 74

PostPosted: Wed 23 May 2012, 05:48    Post_subject:  

Problem.........

Its too easy..........

Bought new CF card reader, formatted to Fat32, loaded unetbootin, did the point at .iso and shoot, lo and behold, it loaded.

Now I wait for the WaveIO the show up to do the first boot etc, will need to ssh to the Alix, and go from there.

Is it any issue to run off the CF Card rather than boot into RAM? What difference does it make? Too slow for the OS or something? Not have the music files as per earlier asked on the CF, Just run the OS from there. Figure frees up the RAM for playing music from........

So now I wait......but not for you!

Bloody Marvellous!

Thanks Isolde!
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 7 of 31 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8, 9, ..., 29, 30, 31 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1010s ][ Queries: 13 (0.0096s) ][ GZIP on ]