Changes between Initial Version and Version 1 of rpld/StreamingOpus


Ignore:
Timestamp:
08/20/12 14:16:20 (12 years ago)
Author:
ph3-der-loewe
Comment:

BEGIN{}

Legend:

Unmodified
Added
Removed
Modified
  • rpld/StreamingOpus

    v1 v1  
     1[[TOC]] 
     2 
     3= Streaming Ogg Opus with !RoarAudio !PlayList Daemon (rpld) and !SavannahIce = 
     4This mini Tutorial will tell you how to stream Ogg Opus with !RoarAudio !PlayList Daemon (later: rpld) and SavannahIce. It does not go into details. See [[rpld/StreamingToIcecast]] for a more detailed tutorial. 
     5 
     6== Step 0: What do I need? OR: Installing software == 
     7What you need to complete this tutorial are the following software packages: 
     8 
     9* !RoarAudio !PlayList Daemon (>= 0.1.4) 
     10* SavannahIce 
     11* vclt-tools (>= 0.1.3) 
     12 
     13It will also work with older versions but it is more complicated to set up so this is out of scope of this document. 
     14 
     15== Step 1: Create a playlist == 
     16To do this run: 
     17{{{ 
     18 $ dir2vclt --path-mode=absolute /path/to/opus/files/ /tmp/playlist.vclt 
     19}}} 
     20 
     21Replace the path with the path to your files. 
     22 
     23== Step 2: Setting up rpld == 
     24To do this we need to create a new store: 
     25 
     26{{{ 
     27 $ rpld-storemgr --store-path ~/rpld-store/ create SavannahIce http://source:password@host:8000/mystream.ogg 
     28}}} 
     29 
     30The URL needs to be replaced with the data for your Icecast server. 
     31 
     32== step 3: Starting rpld == 
     33To start rpld just type: 
     34{{{ 
     35 $ rpld-storemgr --store-path ~/rpld-store/ run --daemon --bind ~/.rpld --load-playlist /tmp/playlist.vclt vclt playlist 
     36}}} 
     37 
     38== Step 4: Setting default pointer == 
     39The Default pointer is a rule to tell rpld what to play. We can now set it to the first entry of our playlist and rpld will play our playlist over and over again or set it to random playback. 
     40 
     41To set it to the first entry just type: 
     42{{{ 
     43 $ rpld-setpointer default num:0 playlist 
     44}}} 
     45 
     46For random playback we use: 
     47{{{ 
     48 $ rpld-setpointer default random: playlist 
     49}}} 
     50 
     51== Step 5: Hitting play == 
     52To start playback just use: 
     53{{{ 
     54 $ rpld-ctl play 
     55}}} 
     56 
     57== Restarting playback after reboot == 
     58To restart playback after reboot just use: 
     59{{{ 
     60 $ rpld-storemgr --store-path ~/rpld-store/ run --daemon --play 
     61}}} 
     62 
     63== Final notes == 
     64* The file /tmp/playlist.vclt can be deleted after import: rm /tmp/playlist.vclt 
     65* rpld saves it's state in ~/rpld-store/. If you no longer want to use rpld just delete this directory. 
     66 
     67== Have fun == 
     68Now listen to your music and have a lot fun.