You are not logged in.

#1 2010-04-20 04:59:43

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

I want to listen to my music away from home

There are so many different music/media streaming options that I don't know where to start or which would be best for what I want.  I guess I'll start with what I want.

I want to be able to listen to my music collection, which is on my desktop at home, from anywhere away from home.  I would like to be able to listen to all the songs shufled, and also be able to select a specific song I want to hear and make playlists.  It would also be ideal if I could do all this from my android phone as well.

I've tried and failed to setup subsonic and jinzora.  I started with those after some reading because they both looked and sounded good and they both have android apps.

I've also used gmote, which works great but it doesn't have the playback options I want and it only works with android.  I can't acess the gmote-server from a computer.


Any suggestions?  If subsonic or jinzora is my best bet, I think I need some help because I've been messing with them both all night and have had no luck getting either to work even on my machine that I'm trying to run it on.

Offline

#2 2010-04-20 06:44:41

gishten
Member
Registered: 2009-01-09
Posts: 39

Re: I want to listen to my music away from home

What you need is Ampache. Instead of writing things already, better, written I'll give you a couple of links.

http://ampache.org/
http://en.wikipedia.org/wiki/Ampache
http://wiki.archlinux.org/index.php/Ampache

There seems to be an android client to, somewhere. http://ampache.org/blog/2009/05/11/amdr … he-market/


Believe in the Ideal, not the Idol.

Offline

#3 2010-04-20 13:49:32

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

gishten wrote:

What you need is Ampache. Instead of writing things already, better, written I'll give you a couple of links.

http://ampache.org/
http://en.wikipedia.org/wiki/Ampache
http://wiki.archlinux.org/index.php/Ampache

There seems to be an android client to, somewhere. http://ampache.org/blog/2009/05/11/amdr … he-market/

That looks very good.  I've never setup a webserver in arch before.  I looked at the LAMP page in the wiki and I think I could handle it, but could I use a lighter weight solution with Ampache?  I think LAMP would be overkill if Ampache is the only thing I will be using with it.

Offline

#4 2010-04-20 14:25:58

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: I want to listen to my music away from home

mpd+icecast, works great, easy to setup.
http://wiki.archlinux.org/index.php/Str … st_and_MPD

Offline

#5 2010-04-20 14:56:44

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

bangkok_manouel wrote:

mpd+icecast, works great, easy to setup.
http://wiki.archlinux.org/index.php/Str … st_and_MPD

Would that setup allow me to access my music through a web browser?  And also listen to my music on my android phone, selecting specific songs to listen, making playlists, and listening to my entire collection on shuffle?

Is mpd just the controller?  I see mpd apps for android, such as pmix and bitMPC.  But do they actually play the music through the android phone?  Or just control mpd remotely?

Offline

#6 2010-04-20 15:12:50

gishten
Member
Registered: 2009-01-09
Posts: 39

Re: I want to listen to my music away from home

flammenwurfer wrote:

That looks very good.  I've never setup a webserver in arch before.  I looked at the LAMP page in the wiki and I think I could handle it, but could I use a lighter weight solution with Ampache?  I think LAMP would be overkill if Ampache is the only thing I will be using with it.

Yes, it would. This demo should give an idea how it works. http://ampache.org/demo/login.php

You can use any webserver you wish, as long as it supports PHP and mysql. Those two are madatory. A LAMP stack won't be to heavy as long as you only host ampache on it.


Believe in the Ideal, not the Idol.

Offline

#7 2010-04-20 15:19:03

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: I want to listen to my music away from home

flammenwurfer wrote:
bangkok_manouel wrote:

mpd+icecast, works great, easy to setup.
http://wiki.archlinux.org/index.php/Str … st_and_MPD

Would that setup allow me to access my music through a web browser?  And also listen to my music on my android phone, selecting specific songs to listen, making playlists, and listening to my entire collection on shuffle?

Is mpd just the controller?  I see mpd apps for android, such as pmix and bitMPC.  But do they actually play the music through the android phone?  Or just control mpd remotely?

basically, icecast is similar to a web radio (with re-encoding on the fly so if you're on a slow connection, you still can listen to your music) so a browser and most music player will do the job. to control playlist, etc, just use any mpd client like ncmpcpp over ssh for example...

Offline

#8 2010-04-20 15:35:13

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: I want to listen to my music away from home

i'm also a supporter of mpd.  i use it to listen to music from my work pc using evil music player while controlling everything via ncmpcpp through ssh.

also, since a recent version, mpd has a built-in httpd output; no icecast needed.  i use streamfurious pro to listen from my droid phone (it does have a long initial buffering wait time which is annoying) and pmix would control mpd from outside my LAN if i allowed the connection (i do use it to control it in-LAN), but again, it's a bit slow to initiate, fast once connected.

Offline

#9 2010-04-20 15:35:44

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

Hmm....that could work, but sounds a little overly complicated using a different application for controlling and playing the music. 

I think Ampache (or jinzora or subsonic if I could get them to work) are probably the closest to what I'm looking for.  It's still not ideal though, because I'm at the mercy of the android app that is available.  If I don't like the android app then I'll just have to deal with it.  It would be nice if one of these solutions was playable through a regular android media player so I could use the one I like best.

Offline

#10 2010-04-20 16:21:42

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

It seems like there should be an easier way to just stream your music to another computer over the internet.  The gmote app for android and gmote-server that goes along with it is extremely simple and works well.  It streams to android only though, and doesn't have the playback features I want.  It's dead simple to use though.  Just download the server and run the java file, forward the correct port on your router and boom it works.  If I could shuffle all songs and make playlists, and I could also access the server through a web browser it would be perfect.

Offline

#11 2010-04-20 20:04:27

gishten
Member
Registered: 2009-01-09
Posts: 39

Re: I want to listen to my music away from home

flammenwurfer wrote:

It seems like there should be an easier way to just stream your music to another computer over the internet.  The gmote app for android and gmote-server that goes along with it is extremely simple and works well.  It streams to android only though, and doesn't have the playback features I want.  It's dead simple to use though.  Just download the server and run the java file, forward the correct port on your router and boom it works.  If I could shuffle all songs and make playlists, and I could also access the server through a web browser it would be perfect.

Of course there is, but that's all a matter of opinon. The majority of the users here like The Arch Way. Therefore it is unliky that you will get information on any, hypothetical, application that suits your taste.

http://wiki.archlinux.org/index.php/The_Arch_Way


Believe in the Ideal, not the Idol.

Offline

#12 2010-04-20 20:36:59

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

yes, I understand the arch way.  Arch in general is making much more sense to me these days.  For me though, every single task I want to do doesn't have to be the arch way.  Most of the time I prefer the arch way.  Sometimes you want to do something that seems fairly simple, but it just ends up being way overcomplicated.  This just feels like one of those instances.

Offline

#13 2010-04-22 03:13:27

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: I want to listen to my music away from home

Wow.  I ran across this thread and installed ampache, configured per the wiki.  Took all of 20 minutes tops from start to finish to start streaming.  This is great!

Offline

#14 2010-04-22 05:56:01

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

timm wrote:

Wow.  I ran across this thread and installed ampache, configured per the wiki.  Took all of 20 minutes tops from start to finish to start streaming.  This is great!

Since you have it running maybe you could give me a few pointers.  I'm trying to add a catalog, and my music is in my /home/user/Music directory.  If I put that path in as the path it says it's not readable or does not exist.  So I tried creating a symlink to /home/user/Music in /srv/http/ampache but it tells me the same thing.

If I create a directory in /srv/http/ampache and actually copy music into it the catalog adds and works great.

Offline

#15 2010-04-22 08:03:05

gishten
Member
Registered: 2009-01-09
Posts: 39

Re: I want to listen to my music away from home

flammenwurfer wrote:

Since you have it running maybe you could give me a few pointers.  I'm trying to add a catalog, and my music is in my /home/user/Music directory.  If I put that path in as the path it says it's not readable or does not exist.  So I tried creating a symlink to /home/user/Music in /srv/http/ampache but it tells me the same thing.

If I create a directory in /srv/http/ampache and actually copy music into it the catalog adds and works great.

That's because the user, http, doesn't have sufficent rights to access that directory. The troubleshooting section on the wiki informs you of this: http://wiki.archlinux.org/index.php/Amp … leshooting

I recommend creating a music directory outside of your ~/ and then setup the permissions, letting other users in.


Believe in the Ideal, not the Idol.

Offline

#16 2010-04-22 12:42:21

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

I see.  My issue is definitely a permissions issue, but here's my problem.  I don't have enough free space on my root partition to store all of my Music.  I have plenty of space on my /home partition however.  Should I create a directory such as /home/http/Music and give it the right permissions?  What other options do I have?

Offline

#17 2010-04-22 13:47:00

gishten
Member
Registered: 2009-01-09
Posts: 39

Re: I want to listen to my music away from home

flammenwurfer wrote:

I see.  My issue is definitely a permissions issue, but here's my problem.  I don't have enough free space on my root partition to store all of my Music.  I have plenty of space on my /home partition however.  Should I create a directory such as /home/http/Music and give it the right permissions?  What other options do I have?

You could do that, yes. It doesn't have to be /home/http/Music, /home/music is fine. Another solution is just changing the permissions on the directory directly, without moving it, but i perfer to keep my home to myself.

Don't forget to setup the open_basedir correctly.


Believe in the Ideal, not the Idol.

Offline

#18 2010-04-22 13:56:17

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

Ok, so if I move my music from /home/user/Music to just /home/Music I should be good to go?  Do I need to run this...

cd /path/of/your/catalog
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

afterwards to have the right permissions?

Then, if I understand correctly, I would add /home/Music to open_basedir in php.ini.

Offline

#19 2010-04-22 14:00:49

gishten
Member
Registered: 2009-01-09
Posts: 39

Re: I want to listen to my music away from home

flammenwurfer wrote:

Ok, so if I move my music from /home/user/Music to just /home/Music I should be good to go?  Do I need to run this...

cd /path/of/your/catalog
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;

afterwards to have the right permissions?

Then, if I understand correctly, I would add /home/Music to open_basedir in php.ini.

Yes.


Believe in the Ideal, not the Idol.

Offline

#20 2010-04-22 14:02:07

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

Excellent, I'm at work now, but I will try that when I get home.  Thanks for the help!

Offline

#21 2010-04-22 16:00:49

timm
Member
From: Wisconsin
Registered: 2004-02-25
Posts: 417

Re: I want to listen to my music away from home

I checked my basedir line and it is commented out on this machine, so I left it that way.  I have my music on a separate partition, I'm actually running this on my mythtv machine.  I played with video last night, and while I got an avi to run, couldn't get an mpg to run.  That would be even more fun, so some research is warranted.

Offline

#22 2010-04-22 16:23:50

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

Yeah, I saw the video tab in the interface.  I didn't know it could stream video when I started setting it up.  Would be very nice to be able to watch all my videos/movies as well.

Offline

#23 2010-04-23 13:51:46

jdarnold
Member
From: Medford MA USA
Registered: 2009-12-15
Posts: 485
Website

Re: I want to listen to my music away from home

Another possibility is Mediatomb, a UPNP server that has a web interface. I'm pretty sure you can play music right from the web interface.

Offline

#24 2010-04-23 14:00:17

flammenwurfer
Member
Registered: 2009-02-04
Posts: 118

Re: I want to listen to my music away from home

I've been using mediatomb for quite a while and I don't think you can play videos through a browser.  You have to have UPnP client like a ps3 or something.

Also, I think UPnP only works on a local network, not over the internet.  Would be cool if it did work though.

Thanks for the suggestion.

Offline

#25 2010-11-01 20:37:09

TripMine
Member
Registered: 2010-09-17
Posts: 2

Re: I want to listen to my music away from home

I have instructions for this on my website Remote Control MPD + Icecast w/ Android Cell

Last edited by TripMine (2010-11-01 20:39:38)

Offline

Board footer

Powered by FluxBB