This forum has been archived. All content is frozen. Please use KDE Discuss instead.

juk and cyrilic filenames

Tags: None
(comma "," separated)
User avatar
evil_hog
Registered Member
Posts
15
Karma
0
OS

juk and cyrilic filenames

Sun Nov 29, 2009 1:02 pm
Greetings. I recently installed KDE4.3.3 on FreeBSD 8.0 and encountered problems with audioplayer Juk. Somewhy Juk are not playing songs which have cyrilic letters in its filenames. When i run player from console, i receive following error when press 'play':

Code: Select all
xine is asking to seek behind the end of the data stream

this error also appears when i use Amarok

Also, when i close Juk after trying to play those songs, it crashes:

Code: Select all
kDebugStream called after destruction (from virtual Phonon::KioMediaStream::~KioMediaStream() file /usr/ports/x11/kdebase4-runtime/work/kdebase-runtime-4.3.3/phonon/platform_kde/kiomediastream.cpp line 80)

KCrash: Application 'juk' crashing...
sock_file=/home/jr/.kde4/socket-home/kdeinit4__0


Code: Select all
% locale
LANG=ru_RU.KOI8-R
LC_CTYPE="ru_RU.KOI8-R"
LC_COLLATE="ru_RU.KOI8-R"
LC_TIME="ru_RU.KOI8-R"
LC_NUMERIC="ru_RU.KOI8-R"
LC_MONETARY="ru_RU.KOI8-R"
LC_MESSAGES="ru_RU.KOI8-R"
LC_ALL=


phonon-xine-4.3.1_3
libxine-1.1.16.3_2
qt4-phonon-4.5.3
amarok-2.1.1_1

Help please :]
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: juk and cyrilic filenames

Sun Nov 29, 2009 3:16 pm
Test your file from console using kphononplayer to confirm that is a phonon and not a juk problem, and report the bug in bugs.kde.org.

KDE4 has several encoding problems don't resolved yet.

Meanwhile, you could try GStreamer Phonon Engine and maybe you would be lucky.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS

Re: juk and cyrilic filenames

Sun Nov 29, 2009 9:20 pm
The application kphononplayer does not appear to exist on my system, so you may not be able to use it for diagnostic purposes, as it is unlikely to be on your system.

You can use Dragon Player ( command "dragon" ) as a substitute however.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: juk and cyrilic filenames

Mon Nov 30, 2009 8:18 am
kphononplayer is part of kmplayer AFAIK. But indeed, the best testcase would be to try with either Dragonplayer or Amarok, since both use Phonon.


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
evil_hog
Registered Member
Posts
15
Karma
0
OS

Re: juk and cyrilic filenames

Mon Nov 30, 2009 9:24 am
thank you for response.

indeed, there is no kphononplayer in my system. amarok is also returns this error: "xine is asking to seek behind the end of the data stream"
looks like both players, juk and amarok, are using utf-8 encoding for opening files and reading tag information .also i have installed kplayer-0.6.3_2 , this one works with russian filenames pretty good (audio and video). i will test it with dragon once i'll get home. and, i cannot switch to gstreamer for testing purposes, there is only xine available in settings > multimedia > backend. perhaps i missing something:

pkg_info |grep gst
gstreamer-0.10.25 Development framework for creating media applications
gstreamer-plugins-0.10.25,3 GStreamer written collection of plugins handling several me
qt4-phonon-gst-4.5.3 Qt4 multimedia framework, gstreamer backend
User avatar
Ignacio Serantes
Registered Member
Posts
453
Karma
1
OS

Re: juk and cyrilic filenames

Mon Nov 30, 2009 3:17 pm
Sorry, I think that kphononplayer was part of Phonon as a sample application.


Ignacio Serantes, proud to be a member of KDE forums since 2008-Nov.
User avatar
evil_hog
Registered Member
Posts
15
Karma
0
OS

Re: juk and cyrilic filenames

Tue Dec 01, 2009 10:48 am
dragon player returns same error in console:
xine is asking to seek behind the end of the data stream

I've mounted ntfs partition in UTF-8, everything seems fine except tags (which are in cp1251 mostly). also, player on my phone supports ID3v2 tags so... i decided to switch from KOI8 to Unicode. I hope newbie like me can handle it :]

I apologize for bothering you.

-- Update:
I use unicode in my system now, no more problems with xine. Also there is very useful python script md3iconv to convert media tags to id3v2.4 with utf-8 support.

Issue considered as solved and topic may be locked. Thank you.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], daret, Evergrowing, Google [Bot], lockheed, sandyvee, Sogou [Bot]