Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: foo_discogs (Read 1372209 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

foo_discogs

Reply #850
Any news regarding the album art handling fix?

foo_discogs

Reply #851
here is some sami-automation for foo_run in the meantime:

da.bat
Code: [Select]
if exist %1\7z.exe cd %2 && for %%v in (%3*) do (%1\7z.exe e "%%v"
if exist "%%~nv" del "%%v" && ren "%%~nv" "%%~nv.jpg")

usage if not obvious: place it in foobar folder (or call it from elsewhere) in foo_run service, like this:
[font= "Courier New"]cmd /c "da.bat "C:\Program Files\7-Zip" "$directory_path(%path%)" cover"[/font]

first argument is 7z.exe folder, second is album art directory, and third is album art file prefix



i.e. if file prefix was %album%, then foo_run service should look like:
[font= "Courier New"]cmd /c "da.bat "C:\Program Files\7-Zip" "$directory_path(%path%)" "%album%""[/font]

[edit] changed order of agruments

foo_discogs

Reply #852
Ah, nice, thank you!

foo_discogs

Reply #853
here is some sami-automation for foo_run in the meantime:

doesn't work for me 
i've made C:\da.bat file and calling it with foo_run as you suggested [cmd /c "da.bat "C:\Program Files\7-Zip" "$directory_path(%path%)" cover"], the black window opens and closes, but no changes . i have the latest 7zip installed. may be it's windows 7 related problem... 

foo_discogs

Reply #854
it clearly says: place it in foobar folder (or call it from elsewhere)

in your example it should be:
[font= "Courier New"]cmd /c "C:\da.bat "C:\Program Files\7-Zip" "$directory_path(%path%)" cover"[/font]

if you want window to stay open run it with cmd /k

and if user is not familiar with batch scripts better skip this script

foo_discogs

Reply #855
it clearly says: place it in foobar folder (or call it from elsewhere)

in your example it should be:
[font= "Courier New"]cmd /c "C:\da.bat "C:\Program Files\7-Zip" "$directory_path(%path%)" cover"[/font]

if you want window to stay open run it with cmd /k

and if user is not familiar with batch scripts better skip this script

still doesn't work, and yes batch scripts strange for me.
i've managed to do this by creating 3 buttons, with foo_run scripts assigned:
1)"C:\Program Files\winrar\WinRAR.exe" x "$replace(%_path%,%_filename_ext%,)cover*.jpg" "$replace(%_path%,%_filename_ext%,)"
2)cmd /c del "$replace(%_path%,%_filename_ext%,)cover*.jpg"
3)cmd /c ren "$replace(%_path%,%_filename_ext%,)cover*" cover*.jpg

not quite optimal though..

foo_discogs

Reply #856
Where's the source for 1.23? All I see is the source for 1.22

foo_discogs

Reply #857
Shame no one is here to get this working, I can't imagine it being too hard a fix.

foo_discogs

Reply #858
Shame no one is here to get this working, I can't imagine it being too hard a fix.



Indeed, finally a fix, sorry for the long wait (first post to download):

1.24
-----

- fix: unzip album/artist art on retrieval
- compiled against newer SDK on VS2010

foo_discogs

Reply #859
*HUG*

foo_discogs

Reply #860
thank you, the images downloader thing made me stop tagging
now I can continue
All tracks accurately ripped

End of status report

foo_discogs

Reply #861
Thanks bubbleguuum!

foo_discogs

Reply #862
Thank you SO much!
SIG SPACE FOR SALE LONG TERM CONSIDER FIRST

foo_discogs

Reply #863
everything looks to be working now.
thanks for the update! 

foo_discogs

Reply #864
%format% is not written as multi-value tag for me. Can anyone confirm this?
Not really a big deal but still wanted to report this.

foo_discogs

Reply #865
Awesome, works great!  Thanks

foo_discogs

Reply #866
Hi.  First off, love the plugin!  I am having some problems with the album artwork.  I have it set to download all artwork.  Usually, the main image / front cover is named folder.jpg and everything is fine.  On some releases it chooses to name the *last* image on Discogs, folder.jpg and the main image folder_2.jpg.  For example, I tagged this release, http://www.discogs.com/viewimages?release=1721, and the bottom image was called folder.jpg instead of the top image.  Can anyone help?  Thanks!

foo_discogs

Reply #867
I have a problem getting started with foo_discogs

The situation is this:
foobar2000 v 1.0.3
discogs v 1.24
Windows 7 Ultimate, 64-bit
Default browser: Firefox 3.6

I can right-click an album and select the tagging menu and discogs submenu, and choose "Write ...".
That brings up a new window, and I can either check the auto box, or manually change the artist name and submit.
That brings up a new window saying it's fetching from discogs
42 seconds later, this window disappears.  And nothing else changes.  Nothing gets filled in.  No errors.  Nothing in foobar2000's console.
The same happens no matter what artist I try to search for -- the window pops up, and 42 seconds later, disappears.

Thinking it might have been a transient network error, I tried again on three subsequent days.  No change.
Searching the same artists on discogs web site returns plenty of info.

Is there a way to turn on debugging or logging, to see what happens?

 

foo_discogs

Reply #868
Hi.  First off, love the plugin!  I am having some problems with the album artwork.  I have it set to download all artwork.  Usually, the main image / front cover is named folder.jpg and everything is fine.  On some releases it chooses to name the *last* image on Discogs, folder.jpg and the main image folder_2.jpg.  For example, I tagged this release, http://www.discogs.com/viewimages?release=1721, and the bottom image was called folder.jpg instead of the top image.  Can anyone help?  Thanks!


There you have it (first post to download or use autoupdate if using fb 1.1 beta):

1.25
-----

- download primary image for album and artist art before secondary ones



I have a problem getting started with foo_discogs

I can right-click an album and select the tagging menu and discogs submenu, and choose "Write ...".
That brings up a new window, and I can either check the auto box, or manually change the artist name and submit.
That brings up a new window saying it's fetching from discogs
42 seconds later, this window disappears.  And nothing else changes.  Nothing gets filled in.  No errors.  Nothing in foobar2000's console.
The same happens no matter what artist I try to search for -- the window pops up, and 42 seconds later, disappears.


If you have a firewall (especially ZoneAlarm) or a security suite, try to disable it temporily. It may block http requests asking for gzipped content.

What is the latest text displayed in the window before it disappear ?

foo_discogs

Reply #869
There you have it (first post to download or use autoupdate if using fb 1.1 beta):

1.25
-----

- download primary image for album and artist art before secondary ones


Many thanks bubbleguuum! 

foo_discogs

Reply #870
hi bubbleguuum

as i would say in my country : "Who doesn't try would get nothing" (= "nothing ventured, nothing gained")
and when an image can be more expressive than an approximate english



do you think that "Presets" could have some interest?
I can be more specific if you need.

Anyway, thanks you for your work, your activity and reactivity (keeping alive this component after all those years)
Cheers


foo_discogs

Reply #871
I noticed yesterday that this release: http://www.discogs.com/Lisa-Gerrard-Marcel...release/2363084 isn't listed in foo_discogs, thou exists on discogs web page, and today also this release: http://www.discogs.com/Steve-Roach-Sigh-Of...release/2361691

I guess problem is on their side, as I checked XML response and really in both releases they are not existent in the response, but seems fine in browser like any regular release. Released this month, but I don't think that server needs days so that they can appear through web service. So why could this be? Or maybe I should ask in their forums?

foo_discogs

Reply #872
I guess problem is on their side, as I checked XML response and really in both releases they are not existent in the response, but seems fine in browser like any regular release. Released this month, but I don't think that server needs days so that they can appear through web service. So why could this be? Or maybe I should ask in their forums?


Releases don't get shown via the API until they have votes. You'll see that those ones are too new to have received votes yet.
You can, however, still get the data out of the API if you put the Discogs release ID in directly (bottom right hand field in the Discogs tagger window).

foo_discogs

Reply #873
OK, thanks for the info

May I suggest something that I'm sure developer would not like, but would make happy even more users, and that's users with new releases: If release has current release year and does not exist in XML response but some data exists about the author (as initially checked), one more try with HTTP parsing?

I hope it doesn't sound too demanding thou I wouldn't bet on this however fine it may seem. But I know karma will bring it back

[edit] HTTP is not very clear, I meant not XML but put regex or simple find in optional HTML response 
/ it's not that awful how it may sound /

foo_discogs

Reply #874
When you use this program where is it writing the tagging info?  I have gotten album art and see the files in my albums folder with the .flac files.  But when you tag is it writting info to my exsisting .flac track files?

It also looks like it rewrote the folder name of the folder where I had the tracks.  Since I am ripping my CDs as .flac tracks with EAC and saving a Noncompliant CUE will this affect the CUE ability to work as it did?

I just want the art work, I don't want this program to rewrite what I have written as the names of the album.  I got arttwork for The Beatles Anthology 3, but had it named Anthology 3 disc 1 and it just delted the disc 1 text.