Stream your downloaded music from your Seedbox (Subsonic on your [Feral] Seedbox)
Register

We are the best invite forum on the internet! Here you will find free invites, free seedboxes, free bonuses, and much more. Our members know the true meaning of sharing and have created a truly global bittorent community! Our site has the most up to date information on all private trackers and our members will guide you and introduce you to this truly secretive and enlightened club. Ready to get started? Register now!


Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20
Like Tree1Likes

Thread: Stream your downloaded music from your Seedbox (Subsonic on your [Feral] Seedbox)

  1. #1

    Join Date
    Aug 2011
    Location
    Sweden
    Posts
    213

    Default Stream your downloaded music from your Seedbox (Subsonic on your [Feral] Seedbox)

    Stream your downloaded music from your Seedbox (Subsonic on your [Feral] Seedbox)

    First: I just want to make it clear that I am not in any way affiliated with Subsonic or Feral Hosting.

    Second: If there is anything that could be done more smoothly in this tutorial, just point it out and I will edit this tutorial to incorporate your advice.

    What is Subsonic?
    Subsonic is a web-based server that makes it possible to stream your music library (and most movies as well, it seems) to a web browser, your desktop or your mobile phone (iPhone, Android, Windows Phone 7).

    Is it free?
    The free version is slightly limited and has ads. If you want to have your own personal server adress, get rid of the ads and be able to stream to your mobile phone after a certain time, you have to donate. There are ways to avoid this, although if you really like Subsonic, then why not give your support?

    Why did I install it on my seedbox?
    I found it to be awesome in connection with music trackers such as What.cd and Waffles. Besides, Subsonic is very configurable and handles large music libraries extremely well. It doesn't need hours to index your music - just point it to the correct directory and you can start streaming and listening to that album you just downloaded right away.

    Prerequisites
    Sun Java 5 or later and an open port for the Subsonic server. Apart from this, you will not need root access. Personally, I have a shared seedbox at Feral Hosting. For the Java part, I just opened a ticket and asked to have Java installed. 10 minutes later Java was installed. I did not have any problems with ports not being open.

    If you only have a little bit of experience with linux (like me), the procedure of getting Subsonic to work, shouldn't be too hard. If not, I will do my best to guide you through this step by step:

    1) Start a terminal, like putty, and log in to your slice.

    2) Make a directory (for instance mkdir subsonic) and enter it (cd subsonic).

    3) Download the stand-alone version of Subsonic:
    wget 'http://downloads.sourceforge.net/project/subsonic/subsonic/4.5/subsonic-4.5-standalone.tar.gz'

    4) Unpack the archive:
    tar -xzvf subsonic-4.5-standalone.tar.gz

    5) Edit the configuration file :
    pico subsonic.sh

    Make sure you fill in the SUBSONIC_HOME, SUBSONIC_DEFAULT_MUSIC_FOLDER, SUBSONIC_DEFAULT_PODCAST_FOLDER and SUBSONIC_DEFAULT_PLAYLIST_FOLDER entries properly. In my case, on my Feral slice, the beginning of my config file looks like this:

    SUBSONIC_HOME=~/subsonic
    SUBSONIC_HOST=0.0.0.0
    SUBSONIC_PORT=4040
    SUBSONIC_HTTPS_PORT=0
    SUBSONIC_CONTEXT_PATH=/
    SUBSONIC_MAX_MEMORY=100
    SUBSONIC_PIDFILE=
    SUBSONIC_DEFAULT_MUSIC_FOLDER=~/subsonic/music
    SUBSONIC_DEFAULT_PODCAST_FOLDER=~/subsonic/music/Podcast
    SUBSONIC_DEFAULT_PLAYLIST_FOLDER=~/subsonic/playlists

    Save with CTRL+X.

    The tilde sign stands for your home directory. Make sure the folders in the config files exist, otherwise create them (i.e. if you are inside the subsonic directory, type mkdir music etc.).

    6) If you want to be able to play for instance FLAC and transcode properly to various formats, make sure you have those transcoders inside a directory called transcode inside your subsonic folder (mkdir transcode). For instance, in my case, I have ffmpeg (making it possible to stream movies as well), lame and flac in the transcode directory. All these three were already installed on the Feral Seedbox, so I only needed to copy them to my transcode directory inside the subsonic folder (symlinks will not work!). In my case I first did a search with the command find. Then I copied the files, for instance on my Feral slice:

    cd
    cd subsonic/transcode
    cp /usr/local/bin/lame ./
    cp /usr/bin/flac ./
    cp /usr/bin/ffmpeg ./

    7) Start the script:
    bash subsonic.sh

    8) Open a browser on any computer and go to the IP to your seedbox with the correct port, as specified in the config file (in my case, as can be seen from the config file, I have chosen port 4040), i.e. type 85.xx.x.xxx:4040 in the browser URL bar.



    9) Follow the instructions, i.e.

    a) Change administrator password.
    b) Set up media folders.
    c) Configure network settings (here you can also choose a domain name for simplicity).
    10) ENJOY!
    Last edited by Malevich; September 22nd, 2011 at 12:06 AM.
    Traveller likes this.


  2. To remove ads become VIP. Inquire about advertising here.
  3. #2

    Join Date
    Nov 2010
    Posts
    2,111

    Default Re: Stream your downloaded music from your Seedbox (Subsonic on your [Feral] Seedbox)

    subsonic is awesome, lardo from here at T-I figured out how to crack it.

  4. #3

    Join Date
    Aug 2011
    Location
    Sweden
    Posts
    213

    Default Re: Stream your downloaded music from your Seedbox (Subsonic on your [Feral] Seedbox)

    Aha nice :). For streaming my music library to my iPhone, I tried Audiogalaxy, Orb and Zumocast before finally finding Subsonic (with the iSub iPhone client) which did everything I wanted, like not having to index the music to be able to stream, playlists, caching, offline mode and transcoding etc.

    With the pyWHATauto script for What.cd with filters specified for genres I like or releases I'm looking forward to, it's always really nice to see a new e-mail informing me of an auto-download and being able to directly listen to the album from my phone :).
    Last edited by Malevich; September 22nd, 2011 at 12:24 AM.

  5. #4

    Join Date
    Sep 2011
    Location
    Fi
    Posts
    63

    Default Re: Stream your downloaded music from your Seedbox (Subsonic on your [Feral] Seedbox)

    I've been using subsonic for a while now and I'm really satisfied with it, really easy to set up and manage. Though it's kind of tricky if a lot of ports are blocked so you have to tunnel yourself through to get access to the server. :) Haven't tried streaming movies yet but hopefully it'll work as smoothly as streaming music :p

  6. #5

    Join Date
    Jun 2011
    Posts
    82

    Default Re: Stream your downloaded music from your Seedbox (Subsonic on your [Feral] Seedbox)

    wow, i didnt knew that it was even posibble to do this

  7. #6

    Join Date
    Aug 2011
    Location
    Sweden
    Posts
    213

    Default Re: Stream your downloaded music from your Seedbox (Subsonic on your [Feral] Seedbox)

    It works great for streaming video content too (at least the ones I have tried), although the iPhone/iPad apps don't support video streaming yet. For video streaming, Airvideo is the absolute best, but kind of nightmarish to get to work on a seedbox without root access... although I'm very happy I did get it up and running since it's an extremely convenient setup. Download the latest episodes of your favourite series from BTN and stream them in a matter of seconds to your iPad/iPhone.

  8. #7

    Join Date
    Oct 2011
    Posts
    2

    Default

    Quote Originally Posted by Malevich View Post
    For video streaming, Airvideo is the absolute best, but kind of nightmarish to get to work on a seedbox without root access...
    so i have been attempting this on my feralhosting seedbox... i put in a ticket to see if they'd apt-get it all for me, no such luck. I grabbed the dependencies and put em in my home dir, but now i cannot ./configure ffmpeg (permission denied). how did you bypass this lacking root access?

  9. #8

    Join Date
    Aug 2011
    Location
    Sweden
    Posts
    213

    Default

    I bypassed it by using: ./configure --prefix=[the directory you wish to install in]. Hope this helps! Good luck (because finding the source codes and compiling everything needed will not be effortless).
    Last edited by Malevich; October 24th, 2011 at 08:43 AM.

  10. #9

    Join Date
    Oct 2011
    Posts
    2

    Default

    how did you manage to get libfaac to compile? i get errors, and see that many others have too... SourceForge.net: Freeware Advanced Audio Coder: Detail: 2894310 - Problem compiling faac 1.28

    i tried to figure out how to patch libfaac... FAAC-1.28 but i ran into an issue with the patch not finding particular files in the common folder within libfaac...

    if i get through this, i will certainly add a writeup like your own for getting air video up and running on a seedbox, hehe.

  11. #10

    Join Date
    May 2012
    Posts
    6

    Default

    Hey Malevich,


    I followed your tut pretty much to the 'T'. I'm also on FeralHosting (Helium-2). I've had some errors unfortunately, hoping you could help;




    Tried with 4 videos, avi's - xvids, yada yada. Music works fine.


    I get this error.
    Code:
    Video not found or access denied: /stream?pathUtf8Hex=2f6d656469612f736464312f686f6d652f7368696e666f2f737562736f6e69632f77726573746c696e672f5757452e4672696461792e4e696768742e536d61636b646f776e2e323031322e30352e31312e484454562e587669442d766173796c6975732e617669&maxBitRate=1000&timeOffset=0&player=1



    and this is from my log.
    Code:
    [5/13/12 5:10:17 PM UTC]    INFO    PlaylistInputStream    admin listening to "wrestling/WWE.Friday.Night.Smackdown.2012.05.11.HDTV.XviD-vasylius.avi"
    [5/13/12 5:10:17 PM UTC]    DEBUG    TranscodeInputStream    Starting transcoder: [/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg] [-ss] [0] [-i] [/media/sdd1/home/[MYUSERNAME]/subsonic/wrestling/WWE.Friday.Night.Smackdown.2012.05.11.HDTV.XviD-vasylius.avi] [-async] [1] [-b] [1000k] [-s] [624x352] [-ar] [44100] [-ac] [2] [-v] [0] [-f] [flv] [-vcodec] [libx264] [-preset] [superfast] [-threads] [0] [-]
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) FFmpeg version SVN-r0.5.6-4:0.5.6-3, Copyright (c) 2000-2009 Fabrice Bellard, et al.
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) configuration: --extra-version=4:0.5.6-3 --prefix=/usr --enable-avfilter --enable-avfilter-lavf --enable-vdpau --enable-bzlib --enable-libdirac --enable-libgsm --enable-libopenjpeg --enable-libschroedinger --enable-libspeex --enable-libtheora --enable-libvorbis --enable-pthreads --enable-zlib --disable-stripping --disable-vhook --enable-runtime-cpudetect --enable-gpl --enable-postproc --enable-swscale --enable-x11grab --enable-libfaad --enable-libdc1394 --enable-shared --disable-static
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) libavutil 49.15. 0 / 49.15. 0
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) libavcodec 52.20. 1 / 52.20. 1
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) libavformat 52.31. 0 / 52.31. 0
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) libavdevice 52. 1. 0 / 52. 1. 0
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) libavfilter 0. 4. 0 / 0. 4. 0
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) libswscale 0. 7. 1 / 0. 7. 1
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) libpostproc 51. 2. 0 / 51. 2. 0
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) built on Dec 31 2011 16:14:46, gcc: 4.4.5
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) [NULL @ 0xaa2850]Invalid and inefficient vfw-avi packed B frames detected
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) Input #0, avi, from '/media/sdd1/home/[MYUSERNAME]/subsonic/wrestling/WWE.Friday.Night.Smackdown.2012.05.11.HDTV.XviD-vasylius.avi':
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) Duration: 01:21:56.36, start: 0.000000, bitrate: 1335 kb/s
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) Stream #0.0: Video: mpeg4, yuv420p, 624x352 [PAR 1:1 DAR 39:22], 25 tbr, 25 tbn, 25 tbc
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) Stream #0.1: Audio: ac3, 48000 Hz, stereo, s16, 128 kb/s
    [5/13/12 5:10:17 PM UTC]    DEBUG    InputStreamReaderThread    (/media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg) /media/sdd1/home/[MYUSERNAME]/subsonic/transcode/ffmpeg: unrecognized option '-preset'

    So yeah, there's all the info I have. If you can help at all, that would be splendid :)
    Last edited by morrison; 2 Weeks Ago at 09:30 AM.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Streaming to HTPC (XBMC) from a Seedbox
    By Kitkatra in forum Seedbox Tutorials
    Replies: 0
    Last Post: October 25th, 2011, 03:11 PM
  2. Replies: 6
    Last Post: September 28th, 2011, 01:02 PM
  3. Replies: 17
    Last Post: July 21st, 2011, 10:16 PM
  4. Replies: 6
    Last Post: April 26th, 2011, 11:15 AM
  5. Downloading from My Seedbox
    By Carlton in forum Help
    Replies: 15
    Last Post: November 12th, 2010, 03:23 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •