parse_rules broken
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
streamripper (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: streamripper
When calling with "-w parse_rules.txt" the substitute rules are broken:
s/^NEXT//
What should happen, if the metadata contains "NEXT" at the beginning:
This rule should delete (replace with "") the text "NEXT".
What happens instead:
The hole metadata is replaced (deleted).
Version 1.63.5-2 from jaunty works ok.
I think it has to do with the bugfix remove trailing periods as described in the changelog.gz:
> New for 1.64.6
> -------
> Mon Mar 30 21:10:13 EDT 2009
> * Fix bug which creates corrupted id3v2 tags
> * Remove trailing periods for stream name
ProblemType: Bug
Architecture: i386
Date: Sat Jan 2 05:05:29 2010
DistroRelease: Ubuntu 9.10
Package: streamripper 1.64.6-1
ProcEnviron:
LANGUAGE=
LANG=de_CH.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: streamripper
Uname: Linux 2.6.31-17-generic i686
You can see in the following example, the replacement defined in pr.txt (s/[[:space:]]/_/) is not done correctly with "-w pr.txt".
$ streamripper "http:// yp.shoutcast. com/sbin/ tunein- station. pls?id= 192"
Connecting...
stream: 181.fm - The Eagle (Your Home For REAL Classic Rock!)
server name: SHOUTcast/Linux v1.9.8
declared bitrate: 128
meta interval: 32768
[skipping... ] - [ 1kb]
^Cipping... ] Bob Seger & The Silver Bullet Band - Rock And Roll [ 193kb]
shutting down
bye..
$ streamripper "http:// yp.shoutcast. com/sbin/ tunein- station. pls?id= 192" -w pr.txt --debug
Connecting...
-w pr.txt --debug
stream: 181.fm - The Eagle (Your Home For REAL Classic Rock!)
server name: SHOUTcast/Linux v1.9.8
declared bitrate: 128
meta interval: 32768
^Ckipping... ] - Bob_?#s [ 257kb]
shutting down
bye..