Firefly constant rebuffering with iTunes

Got problems with your B2 or B3? Share and get helped!
shocks
Posts: 18
Joined: 29 Apr 2008, 05:24

Firefly constant rebuffering with iTunes

Post by shocks » 22 Sep 2008, 15:25

Hi

I have a bunch of MP3s on my Bubba 2. When streaming from Bubba with Firefly to iTunes they don't get past 25-30 seconds before a "Rebuffering stream" pop-up window appears. Rebuffering doesn't occur - the progress bar doesn't change at all. I have an HTTP sniffer installed on my Mac and I see no incoming data once the pop-up appears.

Any ideas? Right now streaming media is unusable on my Bubba.

Ben

pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Post by pa » 23 Sep 2008, 01:34

Hi,

Just to try to pinpoint the problem, are you using a wireless network?
If so, can you try it also with a wired connection to see if you experience the same behaviour?

/PA

shocks
Posts: 18
Joined: 29 Apr 2008, 05:24

Post by shocks » 23 Sep 2008, 02:43

Hi

It's a wireless network. I'll try wired when I get back home. I am able, however, to stream (share an iTunes library) from 1 Mac to another Mac over my wireless network without problems. Also, wireless transfer of files between Bubba an Mac is fine.

Ben

squadra
Posts: 96
Joined: 19 Sep 2008, 09:02

Post by squadra » 23 Sep 2008, 05:35

Me too. Rebuffering message pops up but nothing happens. My whole network is wireless, on pc with itunes 7 it works good. On fresh installed iTunes 8 on mac running xp i get this message. Where to look?

pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Post by pa » 23 Sep 2008, 05:40

Hi again,

Can you both post which versions of your OS and Itunes that you are running? This could help us in debugging this issue.

Regards
PA, Excito.

squadra
Posts: 96
Joined: 19 Sep 2008, 09:02

Post by squadra » 23 Sep 2008, 06:14

The one which says rebuffering and nothing happens (after playing for 20-30seconds) is:
MacBook Air >> Bootcamp >> Windows XP pro-version 2002 SP2
Apple iTunes 8.0.0.35

The one with no problems:
Dell >> Windows XP pro-version 2002 SP2
Apple iTunes 7.1.1.5

I can't find the firefly log (were is it?). Both work wireless and have full access to bubba2 only firefly strange (i was testing making filelists). If i can find the download version which is installed on the Dell i will install that one on the Mac and see, also will check the other apple when i'm home.

pa
Posts: 308
Joined: 06 Dec 2006, 04:38
Location: Sweden
Contact:

Post by pa » 23 Sep 2008, 07:01

Hi,

The logfile for firefly in not turned on by default.

As root, edit /etc/mt-daap.conf, remove the '#' infront of 'logfile'.

Restart firefly :
#/etc/init.d/mt-daapd restart

Logfile shall be in /var/log/mt-daapd.log

/PA

squadra
Posts: 96
Joined: 19 Sep 2008, 09:02

Post by squadra » 23 Sep 2008, 10:34

I saw an interesting in the user.log >>

bubba mt-daapd[2499]: *** WARNING *** Please fix your application to use the native API of Avahi!

I tested the aplpe again and first song went fine, but second stopped at 0:42 the error log stops at:
(498294e0): Session 0: Streaming file 'file' to 192.168.1.100 (offset 0)
Second song stopped at 0:19

mt-daapd.conf only one error in begin of file: (498294e0): Error loading plugin /usr/lib/mt-daapd/plugins/ssc-scripts.so: plugin declined to load

(strange in the conf file i see an commented ssc_prog with the filename mt-daapd-ssc.sh (once again i have no apache knowledge))

And some unknown meta data concerning itunes like:
Unknown meta code: daap.songalbumartist

Hope this give some more information...

shocks
Posts: 18
Joined: 29 Apr 2008, 05:24

Post by shocks » 23 Sep 2008, 14:13

FYI:

I'm using Mac OSX 10.5.3 and iTunes version 8.0 (35)

The log returns the following:

bubba:/home/ben# more /var/log/mt-daapd.log
2008-09-23 20:05:37 (480247c0): Firefly Version svn-1696: Starting with debuglevel 2
2008-09-23 20:05:37 (480247c0): Error loading plugin /usr/lib/mt-daapd/plugins/ssc-script.so: plugin declined to load
2008-09-23 20:05:37 (480247c0): Plugin loaded: daap/svn-1696
2008-09-23 20:05:37 (480247c0): Plugin loaded: rsp/svn-1696
2008-09-23 20:05:37 (480247c0): Plugin loaded: ssc-ffmpeg/svn-1696
2008-09-23 20:05:37 (480247c0): Starting rendezvous daemon
2008-09-23 20:05:37 (480247c0): Starting signal handler
2008-09-23 20:05:37 (480247c0): Initializing database
2008-09-23 20:05:37 (480247c0): Starting web server from /usr/share/mt-daapd/admin-root on port 3689
2008-09-23 20:05:37 (480247c0): Registering rendezvous names
2008-09-23 20:05:37 (480247c0): Serving 12 songs. Startup complete in 0 seconds
2008-09-23 20:05:37 (480247c0): Rescanning database
2008-09-23 20:05:37 (480247c0): Starting playlist scan
2008-09-23 20:05:37 (480247c0): Updating playlists
2008-09-23 20:05:37 (480247c0): Scanned 12 songs (was 12) in 0 seconds
2008-09-23 20:05:38 (488294e0): Thread 0: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:05:43 (488294e0): Unknown meta code: daap.songalbumartist
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.has-videodaap.songcategory
2008-09-23 20:05:43 (488294e0): Unknown meta code: daap.songextradata
2008-09-23 20:05:43 (488294e0): Unknown meta code: daap.songcontentdescription
2008-09-23 20:05:43 (488294e0): Unknown meta code: daap.songlongcontentdescription
2008-09-23 20:05:43 (488294e0): Unknown meta code: daap.songkeywords
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.is-podcast
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.mediakind
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.series-name
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.network-name
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.episode-num-str
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.episode-sort
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.season-num
2008-09-23 20:05:43 (488294e0): Unknown meta code: daap.songgapless
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.gapless-enc-del
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.gapless-heur
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.gapless-enc-dr
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.gapless-dur
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.gapless-resy
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.content-rating
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.is-podcast-playlist
2008-09-23 20:05:43 (488294e0): Unknown meta code: com.apple.itunes.special-playlist
2008-09-23 20:05:43 (498294e0): Thread 3: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:05:48 (498294e0): Thread 5: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:05:51 (498294e0): Session 0: Streaming file '04 Sensual Seduction - Instrumental.mp3' to 192.168.0.5 (offset 0)
2008-09-23 20:05:53 (4a0294e0): Thread 8: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:05:58 (4a0294e0): Thread 10: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:03 (4a0294e0): Thread 12: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:08 (4a0294e0): Thread 14: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:13 (4a0294e0): Thread 16: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:18 (4a0294e0): Thread 18: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:23 (4a0294e0): Thread 20: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:28 (4a0294e0): Thread 22: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:33 (4a0294e0): Thread 24: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:39 (4a0294e0): Thread 26: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:46 (4a0294e0): Thread 28: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:51 (4a0294e0): Thread 30: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:06:56 (4a0294e0): Thread 32: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:01 (4a0294e0): Thread 34: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:06 (4a0294e0): Thread 36: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:11 (4a0294e0): Thread 38: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:16 (4a0294e0): Thread 40: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:21 (4a0294e0): Thread 42: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:26 (4a0294e0): Thread 44: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:31 (4a0294e0): Thread 46: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:36 (4a0294e0): Thread 48: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:41 (4a0294e0): Thread 50: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:46 (4a0294e0): Thread 52: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:52 (4a0294e0): Thread 54: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:07:57 (4a0294e0): Thread 56: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:02 (4a0294e0): Thread 58: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:07 (4a0294e0): Thread 60: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:12 (4a0294e0): Thread 62: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:18 (4a0294e0): Thread 64: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:23 (4a0294e0): Thread 66: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:28 (4a0294e0): Thread 68: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:33 (4a0294e0): Thread 70: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:38 (4a0294e0): Thread 72: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:43 (4a0294e0): Thread 74: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:50 (4a0294e0): Thread 76: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:08:55 (4a0294e0): Thread 78: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:00 (4a0294e0): Thread 80: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:05 (4a0294e0): Thread 82: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:11 (4a0294e0): Thread 84: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:16 (4a0294e0): Thread 86: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:21 (4a0294e0): Thread 88: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:26 (4a0294e0): Thread 90: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:31 (4a0294e0): Thread 92: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:36 (4a0294e0): Thread 94: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:41 (4a0294e0): Thread 96: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:47 (4a0294e0): Thread 98: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:52 (4a0294e0): Thread 100: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:09:57 (4a0294e0): Thread 102: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:10:02 (4a0294e0): Thread 104: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:10:07 (4a0294e0): Thread 106: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:10:12 (4a0294e0): Thread 108: Entering ws_returnerror (401: Unauthorized)
2008-09-23 20:10:17 (4a0294e0): Thread 110: Entering ws_returnerror (401: Unauthorized)

A search for Thread 110: Entering ws_returnerror (401: Unauthorized) turned up this link:
http://forums.fireflymediaserver.org/vi ... hp?p=21363

No sure if that has anything to do with this. Any more ideas?

Ben

Xet
Posts: 53
Joined: 12 May 2008, 02:40

Post by Xet » 23 Sep 2008, 18:45

I also experience the same problems, running iTunes 8.0.0.35 on Windows XP. I'm on a wired net, BTW.

I cranked the debuglevel of Firefly up to 8 to see if I could get something out of it, but it didn't give anything more useful.

It seems, in my case anyhow, the buffering issue occures when Firefly start the file scanner. The last message in the log, at the exact time of when the buffer got lost, is "Rescanning database".
The same also happen when I pressed the "Start Full Scan" from the web-interface.
I noticed that there scan type i set to "Aggressive". I'll try to set it to "Normal" and see if that helps, but that will have to wait until tomorrow.
I'm to old to be us this late...

shocks
Posts: 18
Joined: 29 Apr 2008, 05:24

Post by shocks » 25 Sep 2008, 14:11

Any further thoughts on this? Is is possible to run another app so I can stream on a Mac (and test the connection in the process). Right now Bubba 2 isn't working for one of the reasons I got it.

Ben

Xet
Posts: 53
Joined: 12 May 2008, 02:40

Post by Xet » 25 Sep 2008, 17:21

Setting the scan type to Normal didn't change anything.
As far as I can see there's nothing in the log that says what goes wrong. There is a "Write error: Connection reset by peer" but that comes after clicking Stop in iTunes "Rebuffering" window, e.i. after the stream is gone.

I have used FirePlay, a flash client, for a couple of hours and it doesn't seem to suffer from this issue.

squadra
Posts: 96
Joined: 19 Sep 2008, 09:02

Post by squadra » 26 Sep 2008, 16:53

shocks try an earlier itunes because i think it is a firefly issue (maybe it needs an update because the svn number is a bit old)... save your playlists etc etc, then try to install an early version ...

1) drag the iTunes from the App folder to the trash.
2) open the system monitor (from the utilities folder) and find and stop the iTunes helper.
3) Empty the trash
4) copy and rename the iTunes folder from the Music folder to somewhere else
5) Download v7.6.2 from http://oldapps.com/download_iTunes_mac.php
6) Install it as usual

== edit == it didn't help me but on the xp system it gets rebuffering message while doing nothing at all i also experience that transferring 1Gig file to the storage folder gives me a hang up, while on the other xp system i can transfer my video easily and play itunes easily... Any news on this subject ?
Last edited by squadra on 28 Sep 2008, 06:53, edited 1 time in total.

udo
Posts: 17
Joined: 25 Sep 2008, 18:10

Post by udo » 26 Sep 2008, 17:27

I have Win XP Pro SP2 and wired network and tried a number of different Itunes versions including 7.1.1.5 but the rebuffering problem does not change.

shocks
Posts: 18
Joined: 29 Apr 2008, 05:24

Post by shocks » 26 Sep 2008, 18:37

Thanks squadra. That worked. Actually I tried another Mac with iTunes 7.6.2 and streaming now without problems.

Post Reply