Source i (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
Become a Fan
5.0

Description:
This script looks for text or html files in the playing directory and (optionally) web reviews for the currently playing album. On success it inserts them in a new manageable box into the context browser.

To access the review search menu, move your mouse over the conTEXT icon in the lower right corner of the context browser. Here you can click a site name to start a single search, or select sites for auto-search (which will be triggered when the album changes or the script is restarted). Found reviews are stored in the file's directory by default.

Amarok 2 version: http://kde-apps.org/content/show.php?content=159427
Last changelog:

2010.11.17: 2q
2010.01.09: 2p
2010.01.01: 2o
2009.04.12: 2n
2008.01.02: 2m
2007.11.02: 2l
2007.08.17: 2k
2007.02.26: 2j
2007.02.19: 2i
2007.02.04: 2h
2006.12.28: 2g
2006.12.27: 2f
2006.09.14: 2e
2006.09.05: 2d
2006.08.21: 2c
2006.08.20: 2a, 2b

q: fixed allmusic, metacritic, pitchfork, rollingstone (but they seem to remove older reviews) and laut.de
p: fixed metacritic empty pages; more progressiveworld hits;
o: fixed metacritic, progressiveworld; removed broken searches: bbc,dis,nme,stylus; funny new experimental feature: mouseover cover will show the large version
n: fixed most review sites (e.g. bbc, cduniverse, dis, pitchfork, plattentests.de, punkbands, rollingstone,...search and/or display faults)
m: fixed nme, disabled playlouder; fixed some links inside reviews; improved allmusic, bbc, dis, guardian, laut, metacritic and stylus display (e.g. no site-specific fonts anymore)
l: added cduniverse.com; fixed punkbands.com; fixed pitchfork header display
k: fixed fast scrolling for new khtml versions; fixed playlouder.com; fixed rollingstone display; fixed plattentests.de referenzen
j: Added a button to search all (or all marked) sites manually (no need to restart the script anymore); Clicking the conTEXT icon now toggles the popup menu; Removed a popup warning which appeared when playback was stopped while searching;
i: Fix/workaround for the bug that prevented conTEXT from starting (when the name of the previously displayed text file contained a foreign character);
h: added icons to the search/popup menu for opening the currently loaded text file in KDE's default application (for editing) and for deleting (trashing)
g: added graphical scroll arrows with "jump to top/bottom" functionality, improved rollingstone.com interface
f: added metacritic.com, fixed bbc.co.uk
e: small fixes for allmusic, playlouder, stylus
d: added allmusic.com
d: fixed laut.de
d: improved drownedinsound hit rate
c: for txt files:
... wrap at context browser width
... don't use monospace font
... disable the "auto-shrink box" feature for short files when in scroll mode
b: removed a call to saveCurrentPlaylist (which makes Amarok hang for large playlists and was seemingly able to kill conTEXT)
b: set a timeout of 10 seconds for search requests
b: avoid temp files to be written to home directory when KDE session is quit with Amarok still running
a: quick fix to make it work (at least not exit) with last.fm streams (you can't have more than one review at a time yet)

2006.08.19: 2
manual or automatic album review search at various sites (11 english, 2 german)
remember scrolling position on song change
links are opened in external browser (which you set in amarok configuration)

2006.06.03: 1
initial release


Ratings & Comments

41 Comments

ssri

Seems like allmusic.com went to a new format for their reviews now...

camico

fixed now! (and a lot more)

ssri

cool, thanx for the updates! :)

yfph

Is this script going to be ported to amarok 2.0? I haven't used 2.0 since one of the late betas. From that brief exposure, I quickly ran back to 1.4.10. I do not think I can use amarok2.0 without this script. Nothing I have seen from the devs approaches the features here. Thanks again for your awesome work.

camico

since i am also still using amarok 1.4 and don't plan to make the switch soon, and furthermore a complete rewrite will be necessary...i'm afraid this won't happen soon, sorry.

yfph

Thanks for the reply. I am still using amarok 1.4.10, and I do not plan to change soon either. I just wanted to check to see the develop plans for this particular script. Thanks again for this script!

kdefish

hmm, this is sad. I'm a happy Amarok2 user and really miss this script. Still no plans to part this over to A2? :(

camico

ok, another 4 years are gone and finally i started to port it over to amarok 2 :) luckily i won't have to rewrite everything after all. but the first release will open a separate window unfortunately (just like the 'Rating statistics' script for example) because there doesn't seem to be any other way currently.

camico
yfph

Great work! I'm wondering if you can add amazon.com reviews to your list. Also, I have a few reviews stored in the comment field of my mp3s/flacs. Is it possible to add them in the script for display? Thanks!

camico

making the comment field appear in conTEXT is an interesting idea, but you can already show it in the playlist and hovering over it will show the complete text (ok, maybe not the same comfort). i'll see what i can do regarding amazon when i find the time. should be no problem.

janberk

would it be too hard to add cduniverse.com reviews also? reviews in this web site clearly lists the personnel in the album first. then follows the critics of the album. indispensable for a jazz listener. thanks, janberk

camico

not at all :)

janberk

thanks a lot. great work. appreciations for your effort. janberk

Sebien

Nice idea to have HTML files in the album folder. And a lot nicer to be able to retreive critics from the Web. IMHO, you should contact the Amarok developers. With their version 2.0, they are putting the context view at the center of the application, so such information can be very very handy to fill the area with more useful information, and "redicover our music". I'm sure they will be interested to integrate this plugin by default, or at least include it in the application, even if it is not enabled by default.

camico

thanks for the kind words, however the amarok crew knows about this script, so i guess they would contact me if they were interested :)

kdefish

an option to edit the txt files right in the amarok box, or at least a right-click option to open an editor! ;)

camico

there you go :) the foreign character problem is still there though, sorry... if any python expert can help me with that, please drop me a mail

kdefish

an empty reply? uhh... great work, thanks! :)

kdefish

ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) exceptions.UnicodeDecodeError Traceback (most recent call last): File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run try: self._run() File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 113, in _run self.has_injected = self.performInjection() # do once when we start File "/home/fish/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 288, in performInjection jscode = self.jscode%( boxpadding, filetexts, filenames, UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128) No idea what's going on here but suddenly your script does not work anymore... :(

saladasalad

Do you know about metacritic.com? Maybe you could incorporate that into the script somehow. Great script BTW, one of my favourites.

camico

ok, why not :)

profoX

Great script :) enjoying it alot lately

reggler

Ey, Thank you for the fix, it now seems to work fine without crashing but where is the info supposed to be disdplayed? I cannot see anything and i set the sources to 'Auto'. What am i missing? Thank you!

camico

Auto-search will be triggered when the album changes or the script is restarted. Do you see the search animation icon (I guess this should be improved). Move your mouse over it, hold still, and see if you get any status info. Maybe it just can't find anything for your album. Correct tags are important, of course. However if it says "Found!" somewhere and, once all marked sites have been searched, you still don't see a review...set DEBUG = True in common.py, then try again and send my the log...

Pling
0 Affiliates
Details
license
version 2q
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Amarok 1.x Scripts from camico:

Autoplay Videos
camico
last update date: 17 years ago

Score 5.0

Other Amarok 1.x Scripts:

Gnome Play Video in Totem
mwheatland
last update date: 19 years ago

Score 5.0

editLyrics-gnome
ZeeD
last update date: 19 years ago

Score 5.0

amarok Alarm
aroth
last update date: 16 years ago

Score 5.0

amaroK Web Collection V xmms
pti-jean
last update date: 16 years ago

Score 5.0

SongLogger
lucatnt
last update date: 17 years ago

Score 5.0

amaroK Web Collection
pti-jean
last update date: 16 years ago

Score 5.0



System Tags