Changes between Version 5 and Version 6 of rpld/StreamingToIcecast
- Timestamp:
- 11/24/10 13:23:22 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
rpld/StreamingToIcecast
v5 v6 81 81 Example: 82 82 {{{ 83 roard -o shout -O http://source:hackme@streaming-server.example.org:8000/mountpoint.ogg -oO sync,codec=ogg_vorbis83 $ roard -o shout -O http://source:hackme@streaming-server.example.org:8000/mountpoint.ogg -oO sync,codec=ogg_vorbis 84 84 }}} 85 85 … … 101 101 If needing to do under root we may also need to set owner back to the user running rpld like this: 102 102 {{{ 103 mkdir /var/lib/roarplaylistd104 chown YOUR_USER:YOUR_GROUP /var/lib/roarplaylistd103 # mkdir /var/lib/roarplaylistd 104 # chown YOUR_USER:YOUR_GROUP /var/lib/roarplaylistd 105 105 }}} 106 106 You can get the values for ''YOUR_USER'' and ''YOUR_GROUP'' using id: … … 112 112 Next you need to initialize it. Do this with the following command: 113 113 {{{ 114 rpld --no-listen --store-path /var/lib/roarplaylistd --no-restore --store114 $ rpld --no-listen --store-path /var/lib/roarplaylistd --no-restore --store 115 115 }}} 116 116 117 117 To start rpld run it like this: 118 118 {{{ 119 rpld --store-path /var/lib/roarplaylistd119 $ rpld --store-path /var/lib/roarplaylistd 120 120 }}} 121 121 … … 123 123 124 124 === Importing some music === 125 To 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 ==== 128 To 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 133 Note that dir2vclt currently requires absolute path name. 134 135 ==== Importing a existing playlist ==== 136 137 To 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 139 To create a new playlist use: 140 {{{ 141 $ rpld-addplaylist 'playlistname' 142 }}} 143 144 To import a existing playlist: 145 {{{ 146 $ rpld-import 'playlistname' 'playlisttype' 'playlistfile' 147 }}} 148 149 While `playlisttype` is the type of the playlist: 150 VCLT:: The playlist format used by dir2vclt. (recommended) 151 M3U:: A common playlist format. 152 PLAIN:: Single filename per line format 153 Others may also be supported. 154 125 155 === Pressing play === 156 To 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 126 161 === Have fun === 162 Now listen to your music and have a lot fun.