From: <mar...@cl...> - 2006-02-16 10:29:19
|
I'm on KDE 3.4 (in 3.5 you have to increment the UDS=5FEXTRA constant for = each atom - I don't have 3.5 so I don't know if that works). After some basic C++ errors (its, like, 10 years since I coded C++ - I'm a= Java/C=23 guy myself and C++ doesn't like some of the lazy assumptions I,= consequently, made) I have got the name column now containing the title o= f the track only, the album, artist and genre fields displaying in separat= e columns, and the track URL is njb://track/<track id>/<old kio=5Fnjb form= atted file name>. The reason for that last bit is a) internally we can now= uniquely identify the track from the middle =22directory=22 and b) when y= ou copy from the device or play from the device, the filename portion is used= as the target name or in the player display, so it needs to be friendly a= nd not =22123456=22. Seems to work pretty well=21 I was trhinking about a change to the current file structure, but after us= ing it a bit more its very convenient so I've not done that (though I'm am= going to try and add an =22Artist=22 column to the =22Albums=22 directory= listing - we'll see). Anyway, next step is to get what I currently have, which appears stable an= d very usable, into a patch on the CVS HEAD and send it to you - then you = can test and approve/reject/change/fix/commit/whatever. After that, I'd li= ke to make the playlist and album generated m3u files fully m3u compliant,= with the new track URL and the =23EXTINF comments (as I do in njstream) a= nd thus double clicking on them should get amarok et al to play the entire= list. Thats a pretty simple mod. Then its wma tags (using code from gnomad2/njstream). After that, the suggestion of using =22audio/x-njb=22 and then having a kf= ile plugin to handle meta data changes (and, possibly, device/x-njb for th= e device details now in the =22/etc=22 directory?) is intriguing=21=21=21 Martin P.S - Oh, test scripts are for WHIMPS=21=21=21 :-) OK, I'll do that, And, = yse, I'm on the mailing list. ----Message d'origine---- >Sujet: Re: Re: =5BKionjb-devel=5D Re: A bug, a patch, and bunch of >De: ace jones <ace.j=40hotpop.com> >A: martin.bartlett=40club-internet.fr >Copie =E0: kionjb-devel=40lists.sourceforge.net >Date: Tue, 14 Feb 2006 05:28:26 -0800 > >What version of KDE are you running? I did all those things, and could >not get it to work. > >Adding in album/artist/year/etc to UDS=5FEXTRA is great, we would >definitely want to do that. But are you suggesting we get rid of the >current file structure? How would you list all the songs from a given >artist, or all the albums from a given artist, etc? > >Also, when making patches, please consider updating the test script. = >Otherwise I'll have to do it myself before committing the patch. > >P/S Martin, are you on the mailing list? > ></Ace> |