Re: Is MussOrgsky still working ?
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. |
Re: Is MussOrgsky still working ?
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!
|
Re: Is MussOrgsky still working ?
Thanks for update it' working now :D
|
Re: Is MussOrgsky still working ?
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... |
Re: Is MussOrgsky still working ?
2 Attachment(s)
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. |
Re: Is MussOrgsky still working ?
1 Attachment(s)
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? |
Re: Is MussOrgsky still working ?
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. |
Re: Is MussOrgsky still working ?
Quote:
thanks you sir. now just need someone to put it together n make the file. if anyone can.... |
Re: Is MussOrgsky still working ?
working on it at the moment! I'll package the fix first.
|
Re: Is MussOrgsky still working ?
ok thank you very much really appriciate ur time n effort n helping others as well in the process :)
|
All times are GMT. The time now is 07:25. |
vBulletin® Version 3.8.8