Description: A bash script that exports information from amaroK's collection database. This is done in plain text or to a HTML file.
What's planned: - more views - song listings (linked to albums or something like that, proposals are appreciated!) - graphical user interface - make it available through amaroK's script browser
Please give feedback if it runs smoothly or if there are any problems.
I'm looking for some nice CSS ideas, if you can come up with something, send it to me, I'll be glad to build it in then If you need more divs and so on, tell me.
Cheers, Patrick.Last changelog:
0.1: * Generated HTML is XHTML 1.0 strict compliant First release. Not much functionality, yet. Published for testing and getting ideas on what users would like to have.
0.2: * Sorting * Secure temporary file creation (I guess) * speed improvement (less SQL queries) I rewrote much of the script. So the new version is quite a bit faster (due to less stupidity)
0.3: * New view "Genres and their artists" * Views now go to separate HTML pages * Option to put the HTML pages into a ZIP archive after creation * Slight improvements here and there
0.4: * Added CSS support. A default CSS file is being generated.
0.41: * No changes except that I added the GPL pointer to the script.
0.42: * Fixed bug - if a directory for HTML generation was specified, the CSS file import and links to the lists had absolute paths.
0.43: * Changed amaroK to Amarok everywhere. The script's name will stay "amaroKollection" though. * Added a check if the specified target directory exists, otherwise amaroKollection exits.
... for me. i'm starting it as a daily cronjob and put the html-file in the samba-music-share. so my win-friends can see on ONE sheet, what's it's in the directories.
thx!!
I have to experiment with it more. I'm assuming there's a way to get it to list the songs as well as the artists and albums aye?
Well done either way, thanks.
Thanks very much for the praise :)
There is currently only the "artists and their albums" view, no track view or anything else, yet.
As I stated in the description, I uploaded this initial version (and also version 0.2) only for testing and getting an idea what people want - it's not really "productive" right now ;)
So I'll take your input as a wish for a track view. What exactly are you thinking of? Because I guess if I just list all tracks on one huge page, this would be megabytes long on big collections. Some [+] button to "zoom in" would perhaps be cool. I'll check how I could do that the next days.
Patrick.
Ratings & Comments
10 Comments
I was actually thinking about doing the same thing, but then I found amaroKollection. It's great! Thanks!
Thank you very much.
Great work with this script. Very useful. Congratulations!
I hope you have more time to work on it. It just keeps getting better as you go. Thanks
Hi, nice sript there, runs very smooth :) I've got a collection of +11000 tracks and the *.html list was generated in 2 minutes. More listings:
- Genre
- Artist
or- Genre
- Album
or- Genre
- Artist
- Album
or- Genre
- Year
- Album
or- Genre
- Year
- Artist
and I think you can come up with even more usefull listings yourself ;) :) Kind Regards ThomasThank you very much for the feedback! I'm quite busy these days, that's why I didn't continue with this script.
... for me. i'm starting it as a daily cronjob and put the html-file in the samba-music-share. so my win-friends can see on ONE sheet, what's it's in the directories. thx!!
Thank you very much for the feedback :) I'm glad to hear that you find it useful!
I have to experiment with it more. I'm assuming there's a way to get it to list the songs as well as the artists and albums aye? Well done either way, thanks.
Thanks very much for the praise :) There is currently only the "artists and their albums" view, no track view or anything else, yet. As I stated in the description, I uploaded this initial version (and also version 0.2) only for testing and getting an idea what people want - it's not really "productive" right now ;) So I'll take your input as a wish for a track view. What exactly are you thinking of? Because I guess if I just list all tracks on one huge page, this would be megabytes long on big collections. Some [+] button to "zoom in" would perhaps be cool. I'll check how I could do that the next days. Patrick.