Active Topics

 



Notices


Reply
Thread Tools
stickymick's Avatar
Posts: 1,079 | Thanked: 1,019 times | Joined on Mar 2010
#101
Successfully pulled some album art down a few days ago. I'm on the latest version too.

Just for info, I once used the Google app and was miffed when I got adverts instead of album art for a couple of albums.
__________________
Mick has just punched the cr@p out of the "Unlike" button on the Official Nokia Facebook Page.
 
Posts: 262 | Thanked: 315 times | Joined on Jun 2010
#102
Hmm, that's strange. I get no results for my queries from within Mussorgsky, but if I start it from Terminal and then copy and paste the Bing search URI that is output to the terminal on each search into the web browser, I see the Bing search results containing album art. Usually lots of it!
 
ersanpermana's Avatar
Posts: 92 | Thanked: 41 times | Joined on Jun 2012 @ indonesia
#103
Thanks for update it' working now
 
Posts: 28 | Thanked: 9 times | Joined on Apr 2012
#104
the latest 0.5.2, can anyone help change the search from bing.com to google.com for album art. or guide where what is need to be changed and where for this change.

thanks...
 
Posts: 28 | Thanked: 9 times | Joined on Apr 2012
#105
ok i had contacted ivan last year for this request and i got a reply from him (which i jus found out searching through my emails) so he guided what to do inorder to make that change but i m not able to do that as i dont know how to go about it or what tools i need etc.
so i will write here his instructions and if any1 here can do that would really be helpful. here are his instructions:

just need to modify the code of MussorgskyAlbumArt class in
album_art_thread.py . It has two "entry points":
1. get_album_art: It is called in the automatic download. It means
"give me one image for the artist-album". It will pick up the first
image found.
2. get_alternatives: Called when the user clicks on an album art. It
returns multiple images so the user can pick one in the UI.

need to reimplement (or create parallel functions for
google) these two functions:
1. __msn_images (that searches bing and get the html page with results)
2. __get_url_from_msn_results_page (that gets the url of each
individual image from the page).

Note that the file has a "main", so you can test it without running
the whole Mussorgsky. Good for development.


also have attached the latest deb file and the source file from the given link above.
Attached Files
File Type: deb mussorgsky_0.5.2-4_all.deb (31.8 KB, 101 views)
File Type: gz mussorgsky_0.5.2-1.tar.gz (47.5 KB, 105 views)
 

The Following 3 Users Say Thank You to luunaitk12 For This Useful Post:
Posts: 262 | Thanked: 315 times | Joined on Jun 2010
#106
I've started looking into doing this, but my Python skills are not stellar.

I have worked out what I think are the google search parameters for refining the image search, and added a new parameter '-e' to select the search engine (defaults to Google, but could be changed).

And I've copy/pasted the __msn methods, making __google variants.

There's still a fair bit of work before this would work, I think. Any Python devs out there?
Attached Files
File Type: gz album_art_thread_new.py.gz (3.1 KB, 98 views)
 

The Following 2 Users Say Thank You to Xagoln For This Useful Post:
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#107
As a quick fix for those running version from repo, change:

BASE_MSN="https://www.google.com/search?site=&tbm=isch&q="
MSN_MEDIUM="&tbs=isz:m"
MSN_SMALL="&tbs=isz:s"
MSN_SQUARE=""
MSN_PHOTO=""

Further down there are some references to "imgurl:"" change to "imgurl="

Now you should have basic working google image results instead of bing. Still testing at the moment. I'll clean it up, correct functions using some of the extra details from above posts code, minus engine option as I don't have a working bing version at the moment. Ideally I'd like to make a version which uses script files from albumartdownloader (uses "boo" script?) so that they can be kept up to date.

Last edited by Android_808; 2013-11-10 at 19:30.
 

The Following 2 Users Say Thank You to Android_808 For This Useful Post:
Posts: 28 | Thanked: 9 times | Joined on Apr 2012
#108
Originally Posted by Android_808 View Post
As a quick fix for those running version from repo, change:

BASE_MSN="https://www.google.com/search?site=&tbm=isch&q="
MSN_MEDIUM="&tbs=isz:m"
MSN_SMALL="&tbs=isz:s"
MSN_SQUARE=""
MSN_PHOTO=""

Further down there are some references to "imgurl:"" change to "imgurl="

Now you should have basic working google image results instead of bing. Still testing at the moment. I'll clean it up, correct functions using some of the extra details from above posts code, minus engine option as I don't have a working bing version at the moment. Ideally I'd like to make a version which uses script files from albumartdownloader (uses "boo" script?) so that they can be kept up to date.

thanks you sir. now just need someone to put it together n make the file. if anyone can....
 
Posts: 1,203 | Thanked: 3,027 times | Joined on Dec 2010
#109
working on it at the moment! I'll package the fix first.
 
Posts: 28 | Thanked: 9 times | Joined on Apr 2012
#110
ok thank you very much really appriciate ur time n effort n helping others as well in the process
 

The Following User Says Thank You to luunaitk12 For This Useful Post:
Reply

Tags
album covers, media player, mussorgsky


 
Forum Jump


All times are GMT. The time now is 23:55.