New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Listen to music from Bubba2 over the internet

Got problems with your B2 or B3? Share and get helped!
petter
Posts: 9
Joined: 20 Oct 2008, 05:13

Listen to music from Bubba2 over the internet

Post by petter »

Hello!

Is it possible to listen to music from Bubba2 over the internet?

I don´t want to download the entire albums using FTP and then listen to them. Some kind of streaming would be nice.

I wanna listen to my Bubba2 music while I´m at work...
fnorlander
Posts: 3
Joined: 27 Oct 2008, 14:25

Post by fnorlander »

Do you use Windows or Linux?
If you use Linux, you could do this with SSHFS, a utility that mounts folders through SSH, and then index the folder with Rhythmbox, for example.
I've used this many times for different things, and it works great (most of the time).

If you're using Windows, you can always switch to Linux :wink:
Just kidding, maybe someone else can shed some light on this?
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

the bubba contains both an DAAP and an uPnP server, which can be streamed from to software music players.

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
carl
Posts: 474
Joined: 07 May 2008, 04:41

Post by carl »

I missed that you want to be able to play the music from work;
Per default, you cannot use DAAP and uPnP via the WAN interface without tweaks, and that would also result in that the world would be able to play your music;

An alternative is to create a virtual private network (VPN), and allow uPnP via that interface to your work computer.

/Carl
/Carl Fürstenberg, Excito Software Developer
http://www.excito.com
support@excito.com
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

Or tunnel using ssh (putty)
Bahurim
Posts: 21
Joined: 12 Sep 2008, 11:16

Post by Bahurim »

I have had success streaming audio using gnump3d
http://www.gnu.org/software/gnump3d/

First, you will need to have access to your bubba through the WAN by either having a static IP address or using a service like dyndns.
I am using dyndns, it is free and works great.
https://www.dyndns.com/
https://www.dyndns.com/account/create.html

After you setup your account there you will need a client program to run on bubba.
All of these codes are run as root:

Code: Select all

apt-get update
apt-get install ddclient
Edit the related config file.
I use mcedit but you can use nano or your prefered editor.

Code: Select all

mcedit /etc/ddclient.conf
Restart the client program:

Code: Select all

/etc/init.d/ddclient restart
Then install gnump3d server:

Code: Select all

apt-get install gnump3d
Edit the config file to fit your setup and preferences.

Code: Select all

mcedit /etc/gnump3d/gnump3d.conf
Restart the gnump3d server

Code: Select all

/etc/init.d/gnump3d restart
You should then be able to get to your music by browsing to http://mydyndnsname:8888/
Replace 'mydyndnsname' with what you picked when setting up your dyndns account.
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Post by johannes »

How about the mtdaapd playback applet? Shouldn't that work through your companies firewall? Try http://<your home ip>:3689/applet.html

I haven't tested it remote, but I guess it should work if you open that port?
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
petter
Posts: 9
Joined: 20 Oct 2008, 05:13

Great!

Post by petter »

It seems like there are a few good solutions out there.

By the way I use a PC/Vista machine if that changes any of the recommendations.

I was able to start the mtdaapd playback applet, but the player contained no music files. Do I need to add them manually from my bubba music library? How? :)
johannes
Posts: 1470
Joined: 31 Dec 2006, 07:12
Location: Sweden
Contact:

Post by johannes »

And you have music stored in your /storage/music folder? Strange, looks like mtdaap hasen't catched that. Browse to http://bubba:3689 and log on with admin/excito, and try a manual content scan. It really should be done automatically though, strange...
/Johannes (Excito co-founder a long time ago, but now I'm just Johannes)
janeks
Posts: 78
Joined: 15 Sep 2008, 02:02

Post by janeks »

carl wrote:I missed that you want to be able to play the music from work;
Per default, you cannot use DAAP and uPnP via the WAN interface without tweaks, and that would also result in that the world would be able to play your music;

An alternative is to create a virtual private network (VPN), and allow uPnP via that interface to your work computer.

/Carl
What's about Music Password for FireFly if I open it for WAN?
Will it be safe enought?

The my idea is that I could use my bubbas streaming funcionality even on my mobile.
Just image - no copying, no flashcards, but at the same tame access for your (20 Gb in my case) of music collection!
Technicaly it is possible esspecialy in today's mobile services market there are service plans for fixed price independent from downloaded volumes.

I tried to find a music player for Symbian with LDAP, but did't find yet.
squadra
Posts: 96
Joined: 19 Sep 2008, 09:02

Post by squadra »

mtdaapd playback applet over internet gives: <-- DAAP link failed --> message above! How can i fix this? My musiclist is locally filled (itunes show them) but applet shows only this message.

html gives:

<applet width="100%" height="100%" codebase="./" code="org.petzall.daapapplet.DAAPApplet" archive="DAAPApplet-0.1.jar">
<param name="DAAPHost" value="#####.com">
<param name="DAAPPort" value="@port@">
<param name="HTMLList" value="false">
<param name="ListBackgroundColor" value="#ffffff">
<param name="AltListBackgroundColor" value="#edf3fe">
<param name="SelectionBackgroundColor" value="#3d80df">
<param name="SelectionListColor" value="#ffffff">
<param name="ListColor" value="#000000">
<param name="GUI" value="Skinned">
</applet>

#### is my server domain
petter
Posts: 9
Joined: 20 Oct 2008, 05:13

<-- DAAP link failed -->

Post by petter »

I get the same error message.
<-- DAAP link failed -->

Has anyone solved this?
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

stupid question?
you opened a port in the firewall?
squadra
Posts: 96
Joined: 19 Sep 2008, 09:02

Post by squadra »

Well i opened the port but i guess it is something else...

I think my mt-daapd gives some troubles, when i run the command in init.d it shows my complete list for a minute max then the no connection message comes from my webbrowser...


Nov 2 23:34:46 bubba mt-daapd[14923]: Starting signal handler
Nov 2 23:34:46 bubba mt-daapd[14925]: Initializing database
Nov 2 23:34:47 bubba mt-daapd[14925]: Starting web server from /usr/share/mt-daapd/admin-root on port 3689
Nov 2 23:34:47 bubba mt-daapd[14925]: Registering rendezvous names
Nov 2 23:34:47 bubba mt-daapd[14925]: Serving 22 songs. Startup complete in 1 seconds
Nov 2 23:34:47 bubba mt-daapd[14925]: Rescanning database
Nov 2 23:34:47 bubba mt-daapd[14925]: Starting playlist scan
Nov 2 23:34:47 bubba mt-daapd[14925]: Updating playlists
Nov 2 23:34:47 bubba mt-daapd[14925]: Scanned 22 songs (was 22) in 0 seconds
Nov 2 23:35:01 bubba /USR/SBIN/CRON[14934]: (root) CMD (test -x /usr/bin/php && /usr/bin/php /usr/share/horde3/scripts/alarms.php)
Nov 2 23:35:27 bubba mt-daapd[14925]: Write error: Broken pipe
Nov 2 23:35:27 bubba mt-daapd[14924]: Rendezvous socket closed (daap server crashed?) Aborting.

Nov 2 23:35:48 bubba mt-daapd[14947]: Firefly Version svn-1696: Starting with debuglevel 2
Nov 2 23:35:48 bubba mt-daapd[14947]: Error loading plugin /usr/lib/mt-daapd/plugins/ssc-script.so: plugin declined to load
Nov 2 23:35:48 bubba mt-daapd[14947]: Plugin loaded: ssc-ffmpeg/svn-1696
Nov 2 23:35:48 bubba mt-daapd[14947]: Plugin loaded: rsp/svn-1696
Nov 2 23:35:48 bubba mt-daapd[14947]: Plugin loaded: daap/svn-1696
Nov 2 23:35:48 bubba mt-daapd[14947]: Starting rendezvous daemon
Nov 2 23:35:48 bubba mt-daapd[14948]: *** WARNING *** The programme 'mt-daapd' uses the HOWL compatiblity layer of Avahi.
Nov 2 23:35:48 bubba mt-daapd[14948]: *** WARNING *** Please fix your application to use the native API of Avahi!
Nov 2 23:35:48 bubba mt-daapd[14948]: *** WARNING *** For more information see <http://0pointer.de/avahi-compat?s=howl&e=mt-daapd>
Nov 2 23:35:48 bubba mt-daapd[14947]: Starting signal handler
Nov 2 23:35:48 bubba mt-daapd[14949]: Initializing database
Nov 2 23:35:48 bubba mt-daapd[14949]: Starting web server from /usr/share/mt-daapd/admin-root on port 3689
Nov 2 23:35:48 bubba mt-daapd[14949]: Registering rendezvous names
Nov 2 23:35:48 bubba mt-daapd[14949]: Serving 22 songs. Startup complete in 1 seconds
Nov 2 23:35:48 bubba mt-daapd[14949]: Rescanning database
Nov 2 23:35:48 bubba mt-daapd[14949]: Starting playlist scan
Nov 2 23:35:48 bubba mt-daapd[14949]: Updating playlists
Nov 2 23:35:48 bubba mt-daapd[14949]: Scanned 22 songs (was 22) in 0 seconds
Nov 2 23:38:41 bubba fetchmail[2569]: awakened at Mon 03 Nov 2008 12:38:41 AM CET
Nov 2 23:38:41 bubba fetchmail[2569]: 2 messages (2 seen) for ### at mail.### (3174 octets).
Nov 2 23:38:41 bubba fetchmail[2569]: sleeping at Mon 03 Nov 2008 12:38:41 AM CET for 300 seconds

another command i saw on this forum gave me:

when it is up:

mt-daapd 15013 0.0 0.8 31172 2220 pts/1 Sl 00:49 0:00 mt-daapd
mt-daapd 15014 0.4 0.9 31172 2560 pts/1 Sl 00:49 0:00 mt-daapd
root 15033 0.0 0.3 3080 796 pts/1 S+ 00:51 0:00 grep mt-daap
ps
Eek
Posts: 372
Joined: 23 Dec 2007, 03:03
Location: the Netherlands

Post by Eek »

does it work from the inside?
http://bubba:3689/applet.html
Post Reply