HTML Album List, Couldn't find one on the web so I wrote one |
![]() ![]() |
HTML Album List, Couldn't find one on the web so I wrote one |
Dec 26 2006, 00:20
Post
#1
|
|
|
Group: Members Posts: 36 Joined: 25-January 06 Member No.: 27332 |
I am currently ripping my music collection using react (great application by the way). I was then having a look around for something that could make me an HTML album list. I couldn't really find one so I wrote a script for myself and I am happy to share it. The script is written in python because I wanted an excuse to play with python.
It will use the folder.jpg that you have and read the metadata in flac and mp3 files. Itshould be easy enough to add support for other file types given the great Mutagen tag reading python library Example album list output http://karit.geek.nz/album_list/album_list.html (I haven't uploaded the folder.jpg so the images don't show up) Files needed: The CSS file: http://karit.geek.nz/album_list/album_list.css The python script file: http://karit.geek.nz/album_list/album_list.css Python Installers: Python 2.5 http://www.python.org/download/ Mutagen http://www.sacredchao.net/quodlibet/wiki/Development/Mutagen Read the README for how to install My music is set up like this f:\music\album_list.html f:\music\album_list.py f:\music\flac\artist\album\folder.jpg f:\music\flac\artist\album\song.flac f:\music\mp3\artist\album\folder.jpg f:\music\mp3\artist\album\song.mp3 To make it work: Line 11: Tell it where you base music directory is. In my case 'f:\\music\\' Line 13: Tell the difference between you base music dir and the base for the artist directories. In my case 'flac\\'. If your msuic root directory is the same as where you want the output just make an empty string i.e. '' Any questions or ideas please feel free to ask David |
|
|
|
Dec 26 2006, 09:53
Post
#2
|
|
![]() Group: Members Posts: 3621 Joined: 14-May 03 From: Bad Herrenalb Member No.: 6613 |
Mp3tag can also export to whatever you want if you create a template, by the way.
-------------------- http://listening-tests.hydrogenaudio.org/sebastian/
|
|
|
|
Dec 26 2006, 11:12
Post
#3
|
|
|
Group: Members Posts: 36 Joined: 25-January 06 Member No.: 27332 |
Mp3tag can also export to whatever you want if you create a template, by the way. Thanks Hmm have used MP3Tag for a while never noticed that feature. Maybe I should have asked first. Ohh well I have learnt the basics of another scripting language so in the greater scheme of things I can't really complain. |
|
|
|
![]() ![]() |
|
Lo-Fi Version | Time is now: 25th May 2013 - 11:17 |