parse_rules broken

Bug #502229 reported by pjw
6
This bug affects 1 person
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=de_CH.UTF-8
 LANG=de_CH.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: streamripper
Uname: Linux 2.6.31-17-generic i686

Revision history for this message
pjw (pjw1965) wrote :
Revision history for this message
pjw (pjw1965) wrote :

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..

Revision history for this message
pjw (pjw1965) wrote :

Could someone please verify.

Revision history for this message
pjw (pjw1965) wrote :

no answer here, none on upstream <http://sourceforge.net/tracker/?func=detail&aid=2805083&group_id=6172&atid=106172>.

Please, verify this bug.

summary: - parse_rules broken in karmic (jaunty ok)
+ parse_rules broken
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.