SubSonic and RaspBerryPI

General discussions.

Moderator: moderators

Re: SubSonic and RaspBerryPI

Postby rundll.exe » Thu Jun 13, 2013 8:28 am

I'm running Subsonic on a model B 512MB (on Wheezy, and Java 8 hard-float) for 2 months now, and it works just great, including the jukebox mode. (I just have to get a audio mixer for my amp, so I can seamlessly switch from listening from my android device to my home amp.)

Performance is fine, only the first boot is horribly slow (does it update its library then?). I got a 2TB (only 150GB of music though) external harddrive connected, formatted as NTFS. The NTFS driver in the pi is quite CPU intensive and indexing is slow, but I want to be able to use the hdd with my windows PC too... Also I use the rPi as samba fileserver for backups, and It works well. It also manages to run XBMC alongside, but the interface is too slow anyway for my taste.
I don't use Subsonic for video, so I can't comment on that.

I got 2 minor issues with the setup though:
- last.fm scrobbling doesn't work
- the HDD won't spin down after usage, and gets quite hot. But that may be a linux problem with this disk.

EDIT:
Both issues have been fixed. I used the wrong last.fm username... Stupid me. but got no warning. The HDD spins down correctly now, but with Deluge as torrent client it's rarely idle...
Last edited by rundll.exe on Tue Sep 17, 2013 11:04 am, edited 1 time in total.
rundll.exe
 
Posts: 8
Joined: Fri Sep 16, 2011 12:14 pm

Re: SubSonic and RaspBerryPI

Postby zycker » Wed Aug 28, 2013 5:41 pm

Hello,
I use Subsonic for about 2 years now and today I've received my Raspberry Pi which comes to remplace my windows server.
I've installed it without big problem, for the moment with just 2 albums since I've seen how much time it takes to scan 20 000+ songs.
The server is available on my network, well recognise in my android phone and can play music on it perfectly but I don't find why the jukebox isn't working.
I've followed the last steps of this tutorial : http://mj2p.co.uk/a-raspberry-pi-subson ... ng-java-8/
I've created a jukebox player on subsonic but it don't want to do anything. On the android client, the song starts but comes back to 0:00 after few seconds.

Music and video playback works just fine with VLC for exemple on my Raspberry using hdmi output for video+sound.
In the log file :
Code: Select all
[2013-08-28 19:05:09,851] ERROR JukeboxService - Error in jukebox: javax.sound.sampled.LineUnavailableException
javax.sound.sampled.LineUnavailableException
   at org.classpath.icedtea.pulseaudio.PulseAudioMixer.openImpl(PulseAudioMixer.java:714)


Do you have any idea ?
zycker
 
Posts: 9
Joined: Wed Aug 28, 2013 4:43 pm

Re: SubSonic and RaspBerryPI

Postby rundll.exe » Thu Aug 29, 2013 12:19 pm

I remember having some problems with the jukebox, but it was something with the audio rights for the user, and was able to fix it by doing the tutorial again.

Are you using the 3.5mm jack or HDMI for the audio? Remember to set the right one in the amixer config! Also, do you use Java 8 hard float?

Looking in the error I find this: http://docs.oracle.com/javase/7/docs/ap ... ption.html
Maybe that means that the audio device is already in use? Do you run anything else besides Subsonic? If not, I would re-check everyting from the tutorial.
rundll.exe
 
Posts: 8
Joined: Fri Sep 16, 2011 12:14 pm

Re: SubSonic and RaspBerryPI

Postby zycker » Thu Aug 29, 2013 1:08 pm

Thank you for your help mate.
- yes I use HDMI audio output
- I've set amixer for HDMI sound
- nothing was using audio output in the same time
- I did reboot my Rpi quiet a few time
- First I did set up subsonic on the Java version build in raspian (don't know which one) and got the error I've posted previously.

This morning I've uninstall subsonic to follow the Java 8 tutorial and now my Android client can't play music as previously and jukebox still broken :

Code: Select all
ERROR JukeboxService - Error in Jukebox: java.io.EOFException
zycker
 
Posts: 9
Joined: Wed Aug 28, 2013 4:43 pm

Re: SubSonic and RaspBerryPI

Postby zycker » Fri Aug 30, 2013 4:14 pm

Great news !
I've managed to solve my problem : fresh install of Rapsbian on another SD card, just apt-get update & upgrade, this tutorial again : http://mj2p.co.uk/a-raspberry-pi-subson ... ng-java-8/
And after a few reboots I'm now able to control Subsonic via my Android phone to play music on it AND in jukebox mode !

No idea why it works now, I've probably made a mistake somewhere.
zycker
 
Posts: 9
Joined: Wed Aug 28, 2013 4:43 pm

Re: SubSonic and RaspBerryPI

Postby rundll.exe » Mon Sep 16, 2013 10:19 am

Great to hear that it works. Sometimes it's better to start over it seems ;)

Just curious, what filesystem do you use on your HDD? I use NTFS and the performance is horrible due to the CPU load of the ntfs-3g driver :(
rundll.exe
 
Posts: 8
Joined: Fri Sep 16, 2011 12:14 pm

Re: SubSonic and RaspBerryPI

Postby spookybathtub » Sun Mar 02, 2014 7:20 pm

For all you folks running SubSonic on your Pi, are you using Jetty or some other server? On my other two servers I found that Tomcat6 ran faster, but that was several months ago, and I'm not familiar with recent developments.
spookybathtub
 
Posts: 110
Joined: Thu Oct 07, 2010 7:13 am

Re: SubSonic and RaspBerryPI

Postby Tokka » Wed Apr 16, 2014 12:05 pm

Hi all, i'm tring to use SS on a cubieboard (similar to Pi, but more powerfull), but i've problems with the viedo transcoding. Someone has tried? Is it working on the Pi?
Thanks in advance
Tokka
 
Posts: 16
Joined: Mon Feb 18, 2013 6:18 pm

Re: SubSonic and RaspBerryPI

Postby spookybathtub » Wed Apr 16, 2014 3:22 pm

I suggest starting a new thread for that, and specifying exactly what problem you are having.
spookybathtub
 
Posts: 110
Joined: Thu Oct 07, 2010 7:13 am

Re: SubSonic and RaspBerryPI

Postby daneren2005 » Wed Apr 16, 2014 3:57 pm

My guess is its just not going to be powerful enough. Transcoding requires a lot of power behind it

Sent from my Nexus 5 using Tapatalk
Developer of DSub for Android
daneren2005
 
Posts: 1709
Joined: Fri Jul 06, 2012 7:52 pm

Re: SubSonic and RaspBerryPI

Postby Tokka » Wed Apr 16, 2014 7:26 pm

spookybathtub wrote:I suggest starting a new thread for that, and specifying exactly what problem you are having.


Done near a mounth ago, but no answer :(
I would only know if transcoding is working for video on the Pi, and if there are particular settings. On my cubie i have a full working flashplayer now, with java 8, and it works well, just video not working.
Thanks anyway
Tk
Tokka
 
Posts: 16
Joined: Mon Feb 18, 2013 6:18 pm

Re: SubSonic and RaspBerryPI

Postby rundll.exe » Wed Apr 16, 2014 9:35 pm

I never tried video with Subsonic, and I have no purpose for that, sorry.


I just tried upgrading to 4.9, but it seems something doesn't start properly:
Code: Select all
HTTP ERROR: 503

SERVICE_UNAVAILABLE
RequestURI=/index.view

Powered by jetty://


What could that be?
rundll.exe
 
Posts: 8
Joined: Fri Sep 16, 2011 12:14 pm

Re: SubSonic and RaspBerryPI

Postby spookybathtub » Wed Apr 16, 2014 9:39 pm

What OS are you using? Post a log file from subsonic.log and also subsonic_sh.log.
spookybathtub
 
Posts: 110
Joined: Thu Oct 07, 2010 7:13 am

Re: SubSonic and RaspBerryPI

Postby rundll.exe » Wed Apr 16, 2014 10:24 pm

It's running Linux raspberrypi 3.6.11+

But a search got me this: viewtopic.php?t=3054
I deleted the /var/subsonic/db and it run again, but I lost all my settings. No biggie tho.
rundll.exe
 
Posts: 8
Joined: Fri Sep 16, 2011 12:14 pm

Re: SubSonic and RaspBerryPI

Postby Tokka » Thu Apr 17, 2014 2:39 am

rundll.exe wrote:I never tried video with Subsonic, and I have no purpose for that, sorry.


Ok, thanks in anycase for your answer :)
Tokka
 
Posts: 16
Joined: Mon Feb 18, 2013 6:18 pm

PreviousNext

Return to General

Who is online

Users browsing this forum: No registered users and 5 guests