View previous topic :: View next topic |
Author |
Message |
SeeksTheMoon Apprentice
Joined: 24 Sep 2003 Posts: 163
|
Posted: Sat Jul 22, 2006 8:50 am Post subject: coverview instead of amazon-page in amarok's contextbrowser |
|
|
I really, really dislike amaroks behaviour when you cklick on an albumcover in the contextbrowser:
Instead of showing the cover in real size, it opens your browser and visits the amazon website to a location where you can buy this album.
(This even happens if you compiled amarok with the noamazon-flag)
The developers say, that's because of amazon's license, but I think this sucks =)
So I patched that out and changed the coverview to be the default action.
The patch is described for version 1.4.1-r2 but it still works with 1.4.3-r1.
To get this changed behaviour, make
ebuild /usr/portage/media-sound/amarok/amarok-1.4.1-r2.ebuild unpack
go to /var/tmp/portage/amarok-1.4.1-r2/work/amarok-1.4.1/amarok/src
and patch contextbrowser.cpp with the following patch:
Code: |
--- contextbrowser.cpp 2006-07-02 21:37:44.000000000 +0200
+++ contextbrowser_patched.cpp 2006-07-22 10:06:24.000000000 +0200
@@ -402,6 +402,7 @@
return;
}
+/*
QImage img( albumPath );
const QString amazonUrl = img.text( "amazon-url" );
@@ -409,6 +410,8 @@
KMessageBox::information( this, i18n( "<p>There is no product information available for this image.<p>Right-click on image for menu." ) );
else
amaroK::invokeBrowser( amazonUrl );
+*/
+ CoverManager::viewCover(artist, album, this);
}
|
then enter
ebuild /usr/portage/media-sound/amarok/amarok-1.4.1-r2.ebuild compile
ebuild /usr/portage/media-sound/amarok/amarok-1.4.1-r2.ebuild install
ebuild /usr/portage/media-sound/amarok/amarok-1.4.1-r2.ebuild qmerge
I don't know if someone wants that changed behaviour and if it's legal to distribute this changed version (from amazon's point of view), so I didn't make a modified ebuild and did everything by hand.
Maybe it's ok to apply it if you use the noamazon-flag.
Have fun!
(come and get me, amazon ) |
|
Back to top |
|
|
amazon n00b
Joined: 15 Feb 2007 Posts: 1
|
Posted: Thu Feb 15, 2007 12:58 am Post subject: freeeze! |
|
|
here i am!
wouldn't have thought I'd be here so quickly, right?
It's over now
this was worth the registration |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|