Internet radio browser GUI for music/video streams from various directory services.

βŒˆβŒ‹ βŽ‡ branch:  streamtuner2


Check-in [39e61e9915]

Overview
Comment:Old helper script to make streamripper add genre. Though there are `-D` pattern options that often work better. And KStreamripper or fIcy/fPls might be more modern.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 39e61e9915d8aa5002da3454e360d11f7736715e
User & Date: mario on 2015-04-14 16:43:10
Other Links: manifest | tags
Context
2015-04-14
16:57
Add old Compoundβ˜… example plugin, slightly updated for current meta data scheme. check-in: a4cb6da4ac user: mario tags: trunk
16:43
Old helper script to make streamripper add genre. Though there are `-D` pattern options that often work better. And KStreamripper or fIcy/fPls might be more modern. check-in: 39e61e9915 user: mario tags: trunk
16:39
Remove ancient dependency. (Whole favicon module needs refurbishment though. Might be feasible to turn it into a plugin meanwhile.) check-in: 6569edc420 user: mario tags: trunk
Changes

Added contrib/streamripper_addgenre version [51b695f41d].



































































>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/bin/sh
#
# This is a helper script for adding genre ID3 tags for recorded
# radio stations. You have to change your player/recording settings
# to:
#      streamripper_addgenre %srv %genre
#
# for it to work. Install this script in $HOME/bin for example.
# Don't forget to set the target DIR= parameter in here.
# It needs the "id3" commandline tool installed, but you can
# easily adapt it to "id3tag" or "mp3tag" or other utilities.
#


DIR=/home/$USER/Music/


URL="$1"
GENRE="$2"

#-- time stamp
touch /tmp/riptime

#-- start recording
xterm -e streamripper "$URL" -d "$DIR"


#-- after terminal closes or streamripper ^C cancelled
#   search for new files in target directory, and tag them

find "$DIR" -anewer /tmp/riptime -type f \
	-exec id3 -g "$GENRE" '{}' ';'