Changes between Version 5 and Version 6 of rpld/StreamingToIcecast


Ignore:
Timestamp:
11/24/10 13:23:22 (11 years ago)
Author:
ph3-der-loewe
Comment:

last steps

Legend:

Unmodified
Added
Removed
Modified
  • rpld/StreamingToIcecast

    v5 v6  
    8181Example: 
    8282{{{ 
    83  roard -o shout -O http://source:hackme@streaming-server.example.org:8000/mountpoint.ogg -oO sync,codec=ogg_vorbis 
     83 $ roard -o shout -O http://source:hackme@streaming-server.example.org:8000/mountpoint.ogg -oO sync,codec=ogg_vorbis 
    8484}}} 
    8585 
     
    101101If needing to do under root we may also need to set owner back to the user running rpld like this: 
    102102{{{ 
    103  mkdir /var/lib/roarplaylistd 
    104  chown YOUR_USER:YOUR_GROUP /var/lib/roarplaylistd 
     103 # mkdir /var/lib/roarplaylistd 
     104 # chown YOUR_USER:YOUR_GROUP /var/lib/roarplaylistd 
    105105}}} 
    106106You can get the values for ''YOUR_USER'' and ''YOUR_GROUP'' using id: 
     
    112112Next you need to initialize it. Do this with the following command: 
    113113{{{ 
    114  rpld --no-listen --store-path /var/lib/roarplaylistd --no-restore --store 
     114 $ rpld --no-listen --store-path /var/lib/roarplaylistd --no-restore --store 
    115115}}} 
    116116 
    117117To start rpld run it like this: 
    118118{{{ 
    119  rpld --store-path /var/lib/roarplaylistd 
     119 $ rpld --store-path /var/lib/roarplaylistd 
    120120}}} 
    121121 
     
    123123 
    124124=== Importing some music === 
     125To import some music you need a playlist of those music. If you already have some playlist skip next section and continue with ''Importing a existing playlist''. 
     126 
     127==== Generating a new playlist with dir2vclt ==== 
     128To generate a new playlist from a directory you can use the tool ''dir2vclt''. It will generate [[VCLT]] playlist from a directory or single file. Just run it like this: 
     129{{{ 
     130 $ dir2vclt /some/data/path/with/music/ new-playlist.vclt 
     131}}} 
     132 
     133Note that dir2vclt currently requires absolute path name. 
     134 
     135==== Importing a existing playlist ==== 
     136 
     137To import a existing or just generated playlist you can use the tools ''rpld-addplaylist'' and ''rpld-import'' or using a GUI you have installed. This document will tell you how to use the former tools. 
     138 
     139To create a new playlist use: 
     140{{{ 
     141 $ rpld-addplaylist 'playlistname' 
     142}}} 
     143 
     144To import a existing playlist: 
     145{{{ 
     146 $ rpld-import 'playlistname' 'playlisttype' 'playlistfile' 
     147}}} 
     148 
     149While `playlisttype` is the type of the playlist: 
     150VCLT:: The playlist format used by dir2vclt. (recommended) 
     151M3U:: A common playlist format. 
     152PLAIN:: Single filename per line format 
     153Others may also be supported. 
     154 
    125155=== Pressing play === 
     156To start playback just hit the playback button in the GUI or client you use or use the following command: 
     157{{{ 
     158 $ rpld-play 
     159}}} 
     160 
    126161=== Have fun === 
     162Now listen to your music and have a lot fun.