Amarok Music Diary

Amarok 1.x Scripts

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

0
Score 50.0%
Description:

About
Creates a SQLite3 Database with every song played a day.
It is possible to add custom lyrics or comments to every database entry
Some statistics can be created. This allows to build playlists with the favorite songs of specified months.
html-File export is provided

Dependencies
- Amarok 1.4
- Ruby 1.8
- SQLite
- kdialog
- QtRuby (configuration dialog)
- moodtoimage binary (for mood export)

Usage:
+ Context Menu +
- Add Lyrics: allows to add lyrics for the actual played song
- Add Comment: allow to add comments for the actual played song
- (Un)Set Public: toggles the public flag for the actual play song (if public is set, the song will be included in the html export)
- Create Statistics: exports some statistics to a html file
- Create Playlist: allows to create playlists with the favorite songs of specified months
- exportHTML: export the diary in a html file (per default only songs with the public flag set, are exported)

+ Viewing the database +
The database is stored in ~/.kde/share/apps/amarok/scripts-data/amarok-diary.db
To view it, use sqlitebrowser http://sqlitebrowser.sourceforge.net
(To due a change in the sqlite data format you may need the CVS Version of the sqlitebrowser)

+ Database Export +
To export the database use the context menu entry. Per default only songs with the public flag set are exported. This option can be changed in the configuration file. There are many options you can specify with the help of the configuration dialog.
If the file(s) diary_bottomtext.txt and/or diary_toptext.txt is/are existing in ~/.kde/share/apps/amarok/scripts-data/ the content of this/these is added to every html file produced by the script.

For an example visit http://www.stifi-music-blog.at.tf

+ Moodbar Support +
Moodbars can be included as images to the exported html file. If you want to add these Moodbars, you need the moodtoiamge binary. This is a little bit modified code of the first Moodbar generation code shipped with Amarok.
1. Download the source of the moodtoimage project (http://www.student.tugraz.at/stefan.gruber/moodtoimage-0.2.tar.gz)
2. Build the project (qmake; make)
3. Copy the binary to ~/.kde/share/apps/amarok/scripts/diary/
4. It is a good idea to remove the x-Flag from the binary (the html export script will automatically set the flag)
5. Set enablemood=1 in diary.conf
If the Moodbar generation fails, disable it by the help of the config dialog.
Last changelog:

12 years ago

Version 0.3
o added some statistic stuff

Versoin 0.3.1
o changed margin of lyrics and comments in html
o song length is now stored in the Diary Data Base
o s/amaroK/Amarok/g
o if the song length is not found in any database the user is asked about it
o fixed some Unicode problems

Version 0.3.2
o new feature allows to create playlists containing the favorite songs of specified months
o improved speed of statistic generation
o more statistic stuff

Version 0.3.3
o improved the yes/no dialog used when creating playlists

Version 0.3.4
o small bug fixes

mrjcleaver

11 years ago

Hi - I'd like to run this on the eeepc. Neither the app (which I didn't expect) nor its dependencies (which I did) are recognised by apt-get.

Any advice? Installing each by hand is painful.

Thanks, Martin.

Report

markey

13 years ago

Nice to see another fine Ruby script. Keep on roKing :)

Report

Cypress

13 years ago

Very nice idea. Now I can upload my palylist to a HTML on my server. :)

Report

12 years ago

Version 0.3
o added some statistic stuff

Versoin 0.3.1
o changed margin of lyrics and comments in html
o song length is now stored in the Diary Data Base
o s/amaroK/Amarok/g
o if the song length is not found in any database the user is asked about it
o fixed some Unicode problems

Version 0.3.2
o new feature allows to create playlists containing the favorite songs of specified months
o improved speed of statistic generation
o more statistic stuff

Version 0.3.3
o improved the yes/no dialog used when creating playlists

Version 0.3.4
o small bug fixes

12345678910
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.3.4
updated Mar 05 2007
added May 05 2006
downloads 24h
0
mediaviews 24h 0
pageviews 24h 1
System Tags addon