Bug 133793 - Failed to restore playlist at start if it have russian names ( Failed XML...)
Summary: Failed to restore playlist at start if it have russian names ( Failed XML...)
Status: RESOLVED DUPLICATE of bug 133613
Alias: None
Product: amarok
Classification: Applications
Component: general (show other bugs)
Version: 1.4.3
Platform: FreeBSD Ports FreeBSD
: NOR normal
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
: 133806 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-09 08:31 UTC by Ildar Nurislamov
Modified: 2006-09-09 14:29 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ildar Nurislamov 2006-09-09 08:31:19 UTC
Version:           1.4.3 (using KDE KDE 3.5.4)
Installed from:    FreeBSD Ports
OS:                FreeBSD

If i have closed amarok with playlist contained russian songs, when i start amarok again i receive popup with text about error in structure of XML file and one line of ugly characters instead of my playlist.
In log:
file:///usr/home/voxel/.kde/share/apps/amarok/current.xml: Error loading XML: "tag mismatch", at line 26, column 8.

I think it because XML file have header "<?xml version="1.0" encoding="utf-8"?>"
but store russian tags in KOI8-R:
 <item url="file:///home/music/%E4%C5%CC%D8%C6%C9%CE/%E7%CC%D5%C2%C9%CE%C1%20%D2%C5%DA%CB%CF%D3%D4%C9/01%20-%20%ED%CF%CC%CF%CB%CF.mp3" uniqueid="0ab18f02921885195dcda4182725a061" >
  <Filename>01 - Молоко.mp3</Filename>
  <Title>Молоко</Title>
  <Artist>Дельфин</Artist>
  <Composer></Composer>
  <Year>0</Year>
  <Album>Глубина резкости</Album>
  <DiscNumber>0</DiscNumber>
  <Track>1</Track>
  <BPM>0</BPM>
  <Genre></Genre>
  <Comment></Comment>
  <Directory>/home/music/Дельфин/Глубина резкости</Directory>
  <Type>1</Type>
  <Length>106</Length>
  <Bitrate>256</Bitrate>
  <SampleRate>44100</SampleRate>
  <Score>-2</Score>
  <Rating>0</Rating>
  <PlayCount>-2</PlayCount>
  <LastPlayed>2</LastPlayed>
  <Mood></Mood>
  <Filesize>3383514</Filesize>
 </item>
Comment 1 Seb Ruiz 2006-09-09 14:21:42 UTC
*** Bug 133806 has been marked as a duplicate of this bug. ***
Comment 2 Seb Ruiz 2006-09-09 14:29:33 UTC

*** This bug has been marked as a duplicate of 133613 ***