Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

We have a few Windows(XP & 7) and Ubuntu machines in the house sharing a wireless connection, and want to share music between them. If possible, I would like to be able to serve music from both Windows and Ubuntu (but it doesn't have to be the same time).

I don't know much about sharing folders or streaming, but I'm guessing both would be options (that is, using a local client to access a shared song or a local client to access a shared stream). I want to be able to share the music between the systems as simply as possible.

Bonus points (but not requirements) for

  • cross-platform -- same application on both Windows and Ubuntu?
  • available on startup (via daemon or autostart or whatnot)
  • open source

More info:

  • All systems have dynamic addresses (DHCP) supplied from the ISP-supplied wireless router.
  • There are several Gigabytes of music on one Windows XP box and one Ubuntu 10.10
  • The music is not well-sorted (I'm thinking this might have an impact on UI usability).
  • Only has to be available internally (private address space behind the wireless router)
  • bandwidth is not a problem
  • We don't have (legitimate) admin access to the wireless router
share|improve this question
    
How do you not have admin access to the router in your house? –  scottl Feb 20 '11 at 9:11
    
@scottl It belongs to the ISP. I have physical access, so I could get admin access, but it's not something I'm interested in. –  belacqua Feb 20 '11 at 9:42
add comment

8 Answers

up vote 4 down vote accepted

What comes to my mind first is to use UPnP media file sharing between your machines. You will need a UPnP server on the machine that stores the files and a UPnP client to play the contents.

UPnP server/client technology is well established in Windows Media Player and allows media sharing over the network. If you are looking for a cross-platform solution there is e.g. VLC player or XBMC that can be installed on both, Windows and Ubuntu. However by using the UPnP protocol you can also run a different software on each machine (e.g. Media Player for Windows and VLC for Ubuntu).

To provide a UPnP server only to share media folders there is an easy to handle command line tool in Ubuntu: uShare.

If you rather like to send audio live streams simultaneously to all connected machines in your LAN you may want to have a look at Icecast available for both, Ubuntu and for Windows. This enables you to stream music using an internet radio protocol (but in your case streamed to local machines only - including so called "Internet Radios").

In any case you'll need enough LAN capacity for audio files to be streamed without congestion.

share|improve this answer
    
I'll take a look at uShare. Originally, Icecast seemed like overkill, though the fact that it is also available for windows is a plus. (We have Windows XP systems for work-related software.) –  belacqua Feb 1 '11 at 23:14
add comment

I just use a samba share. For linux I also export it as an NFS share, although it is mountable using SMB. I already share directories using both.

share|improve this answer
add comment

Does the router support UPnP? A DAAP server like Tangerine might be the quickest bet to sharing your Ubuntu music with Windows. There are other options but Tangerine does make things very simple.

And then you'd just do the same on the Windows machine: Install a DAAP server (or use a client that has one - iTunes does not count as they encrypt their DAAP). This is a little harder for me as I'm not a Windows user (more than running a few apps in VirtualBox once a week) but FireFly should work. It looks a little more effortsome than Tangerine but there you go.

With both computers running DAAP servers each can run whatever music software and as long as it supports DAAP (most do these days), you should be able to see what's available on the other machine.

Both RhythmBox and Banshee will play DAAP shares on Ubuntu.

share|improve this answer
    
I've started looking at firefly and tangerine -- good so far. –  belacqua Feb 2 '11 at 9:13
add comment

Rhythmbox has a built-in plugin for DAAP, which is supported by Songbird. Songbird is available for both Mac and Windows.

If you have your music in Rhythmbox already, I'd recommend checking it out!

share|improve this answer
1  
DAAP likely won't work in this case: bugs.launchpad.net/amarok/+bug/62842 –  Jorge Castro Feb 1 '11 at 20:30
    
That's only an issue for other clients consuming iTunes DAAP shares and there's a really simple fix: Don't use iTunes. Going on the description in the OP, the music doesn't sound like it's organised into any sort of real library system anyway. –  Oli Feb 1 '11 at 23:41
    
Right, so there's no reason to use DAAP at that point, might as well use UPNP which windows supports ootb. –  Jorge Castro Feb 1 '11 at 23:52
    
That explains why I can never connect to my roommates shares - and here I thought it was just me. I removed the iTunes reference from my answer - thanks for the info, Jorge! –  Windigo Feb 2 '11 at 15:07
add comment

TwonkyServer (Not Free)

TwonkyServer for Windows®, Windows Home Server, Linux, and Mac®.

I have it running on a Linux Hacked Linksys NSLU2 and it works great. There is a try it for 30 days trial period.

share|improve this answer
    
Looks interesting. We don't have NAS or even a single location where files are located, so I don't if there would be issues for licensing for multiple systems. –  belacqua Feb 1 '11 at 23:07
add comment

ps3mediaserver is available for Windows and Linux:

PS3 Media Server is a DLNA compliant Upnp Media Server for the PS3, written in Java, with the purpose of streaming or transcoding any kind of media files, with minimum configuration.

I used it some time ago, and it was very easy.

share|improve this answer
    
Hmm... this looks plausible, too. +1 for the reference. –  belacqua Feb 2 '11 at 18:38
add comment

I've found another possibility which is interesting to me. Squeezebox server is is cross-platform and open source(at least according to one wiki subpage) ... it's at squeezenetwork.com . The interface looks good, and is loaded via browser via localhost:9000 .

I thought the server component (in comes pre-packaged in a deb (or .exe, etc.)) would only stream to the Squeezebox hardware (it's a logitech internet radio thing -- my wife has one....), but it actually makes a generic mp3 stream, so I've been able to listen to that remotely via command line (madplay) and through Rhythmbox. There's also a community version and an official version of a java applet player that emulates working the menus on a Squeezebox hardware device. There's a low-bling and high-bling version. I haven't messed around with these much, but they look interesting.

As is typical for community forked projects, docs and versions are all over the place (I'll clean these links up if I get things working).
http://wiki.slimdevices.com/index.php/SqueezePlay http://softsqueeze.sourceforge.net/ http://downloads.slimdevices.com/SqueezeboxServer_v7.5.3/
http://downloads.slimdevices.com/nightly/index.php?ver=7.6

share|improve this answer
add comment

What about Tonido? It is not limited to the same network, is cross-platform, uses the internet browser to display shared files. Tonido has to be installed and running on the computer that shares the music. To share, create an account with an e-mail address, get a password and enter it when starting Tonido and when the internet browser opens.

Then you'll see your computer files and will be able to select the folders you want with a link.

enter image description here

Sending a link that shares an entire music collection would be the best idea. And then, saving that link (maybe as a desktop shortcut or as a bookmark in the internet browser) on the computer where you want to play the music.

You will be able to play the music in the Tonido's player. It can play MP3, AAC, OGG, FLAC, WMA, M4A, M4B, WAV (according to their page; more info there.)

enter image description here

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.