Warning: session_start(): open(/tmp/sess_ji06b3im61bgt179joumn61e84, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
conTEXT openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans  .- Knowledge Base  . 

conTEXT

   2q  

Amarok Script

Score 82%
conTEXT
zoom


conTEXT
zoom


Link:  http://
Downloads:  1433
Submitted:  Jun 3 2006
Updated:  Jun 29 2013

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




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




LicenseGPL
Send to a friend
Subscribe
Other  Content  from camico
Report inappropriate content



goto page: prev   1  2  3 

-

 Can't get it to work

 
 by mahen on: Aug 20 2006
 
Score 50%

Hi ! When trying to execute the script (Amarok 1.4.1, Kubuntu Dapper), I get the following error :)

ERROR:ContextBrowserUpdater: Something wrong in context browser monitor, process stopped 'utf8' codec can't decode bytes in position 212-214: invalid data ex
ceptions.UnicodeDecodeError
Traceback (most recent call last):
File "/home/mahen/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 85, in run
try: self._run()
File "/home/mahen/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 132, in _run
self.has_injected = self.performInjection()
File "/home/mahen/.kde/share/apps/amarok/scripts/conTEXT/ContextBrowserUpdater.py", line 276, in performInjection
filetexts = filetexts + tounicode(text).strip('\n\x0b\x0c\r').replace('\t',' ') + mark
File "/home/mahen/.kde/share/apps/amarok/scripts/conTEXT/common.py", line 21, in tounicode
return unicode(string,locale.getpreferredencoding())
File "/usr/lib/python2.4/encodings/utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode bytes in position 212-214: invalid data


Reply to this

-

 Re: Can't get it to

 
 by camico on: Aug 21 2006
 
Score 50%

Argh, I hope this doesn't happen on every ubuntu system (they are using utf8 by default). I'll try to fix it some time.


Reply to this

-
.

 Re: Can't get it to

 
 by camico on: Aug 23 2006
 
Score 50%

ah, in the meantime, please delete ~/.kde/share/apps/amarok/scripts-data/conTEXT.conf and try again


Reply to this

-
.

 thanks

 
 by reggler on: Aug 21 2006
 
Score 50%

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!


Reply to this

-

 Re: thanks

 
 by camico on: Aug 21 2006
 
Score 50%

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...


Reply to this

-

 great stuff

 
 by profoX on: Nov 8 2006
 
Score 50%

Great script :) enjoying it alot lately


- profoX
http://wesley.debianbox.be

Reply to this

-

 Metacritic.com

 
 by saladasalad on: Dec 14 2006
 
Score 50%

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


Reply to this

-
.

 Re: Metacritic.com

 
 by camico on: Dec 27 2006
 
Score 50%

ok, why not :)


Reply to this

-

 Error LOG

 
 by kdefish on: Jan 10 2007
 
Score 50%

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... :(


Reply to this

-

 what would be awesom

 
 by kdefish on: Jan 26 2007
 
Score 50%

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


Reply to this

-

 Re: what would be awesom

 
 by camico on: Feb 4 2007
 
Score 50%

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


Reply to this

-

 Re: Re: what would b

 
 by kdefish on: Feb 6 2007
 
Score 50%


Reply to this

-

 Re: Re: what would b

 
 by kdefish on: Feb 6 2007
 
Score 50%

an empty reply? uhh...

great work, thanks! :)


Reply to this

goto page: prev   1  2  3 

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team