[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnupod] Bug in Pearlscript for 0.98.3
From: |
Achim Flammenkamp |
Subject: |
[Bug-gnupod] Bug in Pearlscript for 0.98.3 |
Date: |
Thu, 24 Jul 2008 23:19:17 +0200 |
User-agent: |
Mutt/1.4.2.1i |
Hi
If have downloaded a certain mp3 file form the Internet.
"Terry Jacks' Season in the Sun"
It has illegal charcters in the mp3-id-tags for artist, album, title & comment.
With mp3info I can set correct "looking" ones.
But when adding this mp3-file with gnupod_addsong to my mounted ipod-shuffle,
then the next add of a correct mp3-song gives an error.
Also I can not make a new ITuneDB getting also an error (without adding a
further mp3 file).
The reason seems that in /mnt/ipod/iPod_Control/.gnupod/GNUtunesDB.xml
the Terry Jacks-song added an xml-enty with illegal characters.
Do you want to have this misterious mp3-file which caused the script to fail?
Errormessage:
not well-formed (invalid token) at line 90, column 140, byte 31402 at
/usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux/XML/Parser.pm line 187
You see I use Perl-5.8.8 on an x86-64 Linux-(2.6.23 Kernel) running
Gentoo-Distri.
I wonder why I can not remove these illegal values with mp3info ?
They seem to be invisible for mp3info :-/
I changed the mp3-tags already and it now looks like:
># mp3info -x -F "Seasons In The Sun.mp3"
File: Seasons In The Sun.mp3
Title: Seasons In The Sun Track: 10
Artist: Terry Jacks
Album: Seasons In The Sun Year:
Comment: PapaStalade By Laurentiu Genre: [255]
Media Type: MPEG 1.0 Layer III
Audio: 128 KB/s, 44KHz (joint stereo)
Emphasis: none
CRC: No
Copyright: No
Original: Yes
Padding: Yes
Length: 3:24
but when adding with gnupod_addsong.pl I get the following output:
# gnupod_addsong.pl -m /mnt/ipod/ *
gnupod_addsong.pl Version 0.98.3 (C) Adrian Ulrich
+ [MP3 ][ 1] Seasons In The Sun | PapaStalin
| Terry Jacks
> Writing new XML File, added 1 file(s)
These looks like the old original mp3-id3-tags
and this is the new added entry in GNUtunesDB.xml:
<file addtime="3299864973" album="PapaStalin" artist="Terry Jacks"
bitrate="128" cdnum="0" cds="0" comment="æ~U®æ~_¿ï¹~Id3v1ÿï¹~Made By
Laurentiu:address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden@address@hidden
PapaStalin" composer="" fdesc="MPEG 1 layer 3 file" filesize="3269693"
genre="Oldies" id="87"
path=":iPod_Control:Music:f01:1_Seasons_In_The_Sun.mp3" playcount="0"
songnum="0" songs="0" soundcheck="" srate="44100" time="204329"
title="Seasons In The Sun" year="2004" />
If I correct all these cryptic entries, then everything works fine. But I wonder
why mp3info this can not and later the gnupod_tools fails.
Curious to hear from you,
achim
--
Achim Flammenkamp FSP Mathematisierung Universität Bielefeld
UniversitätsstraBe 25 33501 Bielefeld Federal Republic of Germany
UTC+02=CEST http://www.uni-bielefeld.de/~achim/ address@hidden
- [Bug-gnupod] Bug in Pearlscript for 0.98.3,
Achim Flammenkamp <=