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

Problem with populate in script

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

Problem with populate in script

Thu Jul 16, 2015 12:49 pm
Hello guys,

I try to create a very simple script to add webradio playlist to Amarok. But I have a trouble.
The 1st 1-level item (di.fm) is correctly populated and children are displayed on the interface, but the 2nd 1-level (sky.fm) is not correctly displayed.
Only the 1-level item is shown, and no children at all, without hierarchy symbol on the left.
But when I drag-and-drop this item on the playlist, all playable URL are correctly put on the playlist, like if the 0-level children really exist under it…

Screenshot of the problem :
Image

Here is the code : https://gist.github.com/aeris/8c4663fc950f63ffdffd
And for people who want to test : https://imirhil.fr/di.fm.tar.xz

Any clue about this problem ? :(
Thanks in advance !


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]