This is basically my Amarok 1.4 script conTEXT (http://kde-apps.org/content/show.php?content=40231) ported to Amarok 2.x.
Now it will open a separate window as it is still impossible for scripts to insert something into the context view in Amarok 2. Which is one of the reasons for the new name

By default the window will open automatically when you start Amarok. This can be turned off in the Settings menu. Also you can close and re-open it anytime and even assign it a shortcut in Settings > Configure Shortcuts. If you use kwin as a window manager (KDE default), you can easily make the window remember its size and position: Right-click title bar > More Actions > Special Window Settings...
The script tries to read the font and color set in KDE config, so it should roughly match your desktop appearance. If it does not work for you, please report and I will try to fix it.
Old reviews downloaded by conTEXT in Amarok 1.4 should mostly still work.
System requirements: Amarok >= 2.6, Python 2.x, Linux. Other OSs are untested but might work; Amarok 2.5 does NOT work. If you have .nfo files with ascii art, consider installing the font Lucida ConsoleP.
Usage: The icon in the upper left corner will open the review search menu. Here you can click a site name to start a single search, select sites for auto-search on album change, or manually start a search on all sites. Found reviews are stored in the playing directory. The menu includes two buttons for opening the current file externally and for moving it to trash.
Navigation: Use the left/right buttons or mouse wheel on the header bar to switch between multiple files. Hover over the up/down arrows to scroll comfortably. Left-click to speed up. Right-click to jump a page up/down. Click the little bar to jump to top/bottom.
Ideas for future improvements:
- retrieve urls in parallel, should make it a bit faster
- increase search hits by being more tolerant with terms like The, and, I, II, III etc.
- intelligent caching of files for non-album dirs and streams
- show id3 comment as a file?
- allow user to modify search params (artist, album)?
- auto-update site parsers when broken
Ratings & Comments
2 Comments
should note python-boto is required
oops, it was a mistake, I updated the script to not require it. Thank you for letting me know.