Jukebox stop need service restart

Need help? Post your questions here.

Moderator: moderators

Jukebox stop need service restart

Postby Tichau » Fri Mar 22, 2013 11:40 pm

Hello,

I have some problems with the jukebox mode. When i stop a music currently playing in jukebox mode (with chrome navigator) i can't restart another music, the interface does not responding to any order.
The only solution i found is to restart the subsonic service.

My server is running on ubuntu with subsonic 4.7 (build 3105)
jetty-6.1.x, java 1.6.0_27, Linux (44,8 MB / 94,6 MB)

Log:
[23/03/13 00:30:24 CET] INFO DaoHelper Checking database schema.
[23/03/13 00:30:26 CET] INFO DaoHelper Done checking database schema.
[23/03/13 00:30:26 CET] INFO VersionService Resolved local Subsonic version to: 4.7
[23/03/13 00:30:27 CET] INFO MediaScannerService Automatic media library scanning scheduled to run every 1 day(s), starting at Sat Mar 23 03:00:00 CET 2013
[23/03/13 00:30:27 CET] INFO PodcastService Automatic Podcast update scheduled to run every 24 hour(s), starting at Sat Mar 23 00:35:27 CET 2013
[23/03/13 00:30:30 CET] INFO NetworkService Deleted port mapping for port 4040
[23/03/13 00:30:42 CET] INFO VersionService Resolved latest Subsonic final version to: 4.7
[23/03/13 00:30:42 CET] INFO VersionService Resolved latest Subsonic beta version to: 4.7.beta3
[23/03/13 00:31:32 CET] DEBUG TranscodeInputStream Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [path/01 - Home Alone.mp3] [-v] [0] [-f] [au] [-]
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) ffmpeg version N-31780-gd5d74cf, Copyright (c) 2000-2011 the FFmpeg developers
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) built on Aug 9 2011 14:18:27 with gcc 4.5.2
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) configuration: --disable-ffplay --disable-ffprobe --disable-ffserver --enable-gpl --enable-nonfree --enable-postproc --enable-pthreads --enable-libfaac --enable-libmp3lame --enable-libvpx --enable-libtheora --enable-libvorbis --enable-libx264 --enable-libxvid --enable-zlib --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvpx --enable-version3 --enable-bzlib --enable-static --disable-shared --extra-libs=-static --extra-cflags=--static
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavutil 51. 11. 1 / 51. 11. 1
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavcodec 53. 9. 1 / 53. 9. 1
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavformat 53. 6. 0 / 53. 6. 0
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavdevice 53. 2. 0 / 53. 2. 0
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libavfilter 2. 28. 1 / 2. 28. 1
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libswscale 2. 0. 0 / 2. 0. 0
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) [mp3 @ 0xa754be0] max_analyze_duration 5000000 reached at 5015510
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) Input #0, mp3, from 'path/01 - Home Alone.mp3':
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) Metadata:
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) title : Home Alone
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) artist : TotorRo
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) album : Home Alone EP
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) genre : Post Rock
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) track : 01
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) date : 2012
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) Duration: 00:02:49.53, start: 0.000000, bitrate: 328 kb/s
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 320 kb/s
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) Output #0, au, to 'pipe:':
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) Metadata:
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) title : Home Alone
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) artist : TotorRo
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) album : Home Alone EP
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) genre : Post Rock
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) track : 01
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) date : 2012
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) encoder : Lavf53.6.0
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) Stream #0.0: Audio: pcm_s16be, 44100 Hz, stereo, s16, 1411 kb/s
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) Stream mapping:
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) Stream #0.0 -> #0.0
[23/03/13 00:31:32 CET] DEBUG InputStreamReaderThread (/var/subsonic/transcode/ffmpeg) Press [q] to stop, [?] for help
[23/03/13 00:31:32 CET] DEBUG JukeboxService Opened line org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine@18eb7e0
[23/03/13 00:31:32 CET] INFO JukeboxService Tichau starting jukebox for "2012 - Home Alone EP/01 - Home Alone.mp3"

There is no new log line when i click on stop, the music stop and the button does not change to 'play'.

hope data will be sufficient.

Thanks,
Tichau
 
Posts: 4
Joined: Fri Mar 22, 2013 11:21 pm

Re: Jukebox stop need service restart

Postby Gyzzmo » Sat Aug 03, 2013 4:52 pm

+1 !

Hi all !

I have the same problem ! ^^'

Code: Select all
[03/08/13 18:43:26 CEST]    DEBUG   TranscodeInputStream   Starting transcoder: [/var/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/var/music/M/2003 Qui de nous deux/05 Qui De Nous Deux - M.mp3] [-v] [0] [-f] [au] [-]
[03/08/13 18:43:27 CEST]    DEBUG   JukeboxService   Opened line org.classpath.icedtea.pulseaudio.PulseAudioSourceDataLine@17a7905e
[03/08/13 18:43:27 CEST]    INFO   JukeboxService   mumblebot starting jukebox for "2003 Qui de nous deux/05 Qui De Nous Deux - M.mp3"


but:
Version 4.8 (build 3434) – 17 avril 2013
Serveur Apache Tomcat/6.0.35, java 1.6.0_26, Linux (47,5 MB / 81,1 MB)

You did you get out?
If so, how did you do? ^^'

Thanks,
Gyzzmo
 
Posts: 5
Joined: Wed Mar 28, 2012 2:11 pm

Re: Jukebox stop need service restart

Postby e-type » Fri Sep 20, 2013 4:11 pm

Same issue here. In addition to what's posted above I noticed that the ffmpeg process remains active in the process list. Killing it makes no difference, the GETS from the UI don't get responded to anymore, but the POSTS from the nowplaying widget do get through.

subsonic_network_traffic_hangs.png


Very annoying that no DEBUG output is produced here... Something goes wrong, but what ...
e-type
 
Posts: 1
Joined: Fri Sep 20, 2013 3:59 pm

Re: Jukebox stop need service restart

Postby xternal » Mon Oct 07, 2013 3:13 am

Getting the same issue. On trying to change a song in the jukebox player it freezes. ps aux shows the stream is still running in background. Killing it doesnt help, have to run a full restart on the server.
xternal
 
Posts: 5
Joined: Wed Aug 28, 2013 10:22 am

Re: Jukebox stop need service restart

Postby Gyzzmo » Tue Jan 14, 2014 7:16 pm

Hi everyone !

The problem still here with the last versions of subsonic (4.8+4.9beta 3 & 4).

Maybe change of version from the Tomcat 6 from Tomcat 7 can be the solution, isn't it ?
Or, I suppose, the problem came from Pulse Audio, right ?

Have a nice day and see you soon ! :)
Gyzzmo
 
Posts: 5
Joined: Wed Mar 28, 2012 2:11 pm

Re: Jukebox stop need service restart

Postby Gyzzmo » Mon Jan 20, 2014 4:58 pm

Same problem with subsonic in stand-alone version.
The problem comes from pulseaudio?
Gyzzmo
 
Posts: 5
Joined: Wed Mar 28, 2012 2:11 pm

Re: Jukebox stop need service restart

Postby Gyzzmo » Thu Jan 23, 2014 4:30 pm

Assistance, notice, something...?
I have posted in the helps forum not? Oo

I'll try the .deb, But I think the result is the same ...
Gyzzmo
 
Posts: 5
Joined: Wed Mar 28, 2012 2:11 pm


Return to Help

Who is online

Users browsing this forum: No registered users and 31 guests