Skip to main content
Topic: foo_discogs (Read 836114 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Re: foo_discogs

Reply #2725
When I add an album, and select all the files in the the main FB2K playlist window, and right click, tagging, Discogs, the 'Update album/artist art' is greyed out, along with most of the other options. Same if I select the album folder in the file browser. Any clues?

Re: foo_discogs

Reply #2726
Do these files have proper tags, such as DISCOGS_RELEASE_ID, DISCOGS_ARTIST_ID?

Re: foo_discogs

Reply #2727
Thanks. No, I've never been really into tags, I just have "Artist - Album" folders with "Track number - Track title" files names within, has always been fine for me. I was just wondering if there was a way to get foo_discogs to automatically download the cover.jpg for all the folders, and apply it to the individual files, so it shows up in the cover art box when playing.

Hopefully a clearer description of exactly what I am trying to achieve will make it easier for people to let me know if foo_discogs can do this or not. I don't really want it to go automatically adding meta-data into my files (except for the cover art).

Re: foo_discogs

Reply #2728
Thanks. No, I've never been really into tags, I just have "Artist - Album" folders with "Track number - Track title" files names within, has always been fine for me. I was just wondering if there was a way to get foo_discogs to automatically download the cover.jpg for all the folders, and apply it to the individual files, so it shows up in the cover art box when playing.

Hopefully a clearer description of exactly what I am trying to achieve will make it easier for people to let me know if foo_discogs can do this or not. I don't really want it to go automatically adding meta-data into my files (except for the cover art).

foo_discogs needs to know which specific release to use for your cover art. If you don't have DISCOGS_RELEASE_ID in there already, you'll have to nominate the specific release in Discogs for each album you want to get the artwork for. If you have a look at releases on the Discogs site, you'll see that even different variants of an album may have different artwork. You can always use the Master release, but even then you'll have situations like an album and a single or EP with the same name by the same artist - not to mention multiple artists with the same name.

So if you want something to automatically download artwork, this component definitely won't be able to do that without your intervention.

I'd be surprised if anything can do it without explicit ID3 tags though. You'd have to at least setup some filter to identify the release by artist & album based on your folder structure - and that's potentially fairly ambiguous as mentioned above.

Re: foo_discogs

Reply #2729
When I add an album, and select all the files in the the main FB2K playlist window, and right click, tagging, Discogs, the 'Update album/artist art' is greyed out, along with most of the other options. Same if I select the album folder in the file browser. Any clues?

So, if you ONLY want to get the artwork from Discogs, you can configure the component to fetch the album artwork and save it as cover.jpg in the folder with the album files (this should be standard behaviour but it's in the Artwork tab of the configuration), and you can literally set ALL of the tag mappings to Disabled (see attachment).
Then you can set a keyboard shortcut for Tagging -> Discogs -> Write Tags. You will still get a dialog where you'll have to search for the artist and then select the release, but then the only thing that will happen is that the artwork is downloaded.

As others have mentioned, the artwork will NOT be embedded. You'll have to do that with something else like foo_run (I've never done this...)


Re: foo_discogs

Reply #2731
I am trying to fill multi-value tag, creating an array from the string with the split function. But function also returns initial string as a first element of the array. What am I doing wrong?

I already tried the synthetic example and get the same behaviour: $split('aaa, bbb, ccc') -> aaa, bbb, ccc; aaa; bbb; ccc

Re: foo_discogs

Reply #2732
Anyways,
I removed track no. 3 from the Tracklist (out of the Match tracks window),
but the fine component throws the error again.

We discussed this "greedy feature" some time ago, the fine component fetches ALL information from the DB, also if it is not needed (user removed tracks, so those artists shoudnt be fetched (saves bits&bytes&time&bandwith...).
Example: For a Various Artists Album with 100 Tracks on 5 CDs, where you only want to tag the last 20 Tracks, the fine component fetches ALL the artist info, which takes ages to finish and needlessly "stresses" the database.
foo_discogs only fetches info that is used by the tag formatting strings. Some of the tag formatting strings are fetching the artists of the other tracks on the release. This would be cached for subsequent tracks. :-)
Thanks zoomorph,
your explanation makes sense and seems desirable to me,
but I don't understand, why 58 artists (see screenshots below) are fetched (cache tells me so), when I only fetch a single track with a single artist.

To end the confusion,
please let me show, what I am doing, so maybe we can figure out, what is wrong (with my thinking) :-)

attachment 1:
I start f2k, cache is empty.

attachment 2:
the used formatting strings. (very simple, no fanc
Anyways,
I removed track no. 3 from the Tracklist (out of the Match tracks window),
but the fine component throws the error again.

We discussed this "greedy feature" some time ago, the fine component fetches ALL information from the DB, also if it is not needed (user removed tracks, so those artists shoudnt be fetched (saves bits&bytes&time&bandwith...).
Example: For a Various Artists Album with 100 Tracks on 5 CDs, where you only want to tag the last 20 Tracks, the fine component fetches ALL the artist info, which takes ages to finish and needlessly "stresses" the database.
foo_discogs only fetches info that is used by the tag formatting strings. Some of the tag formatting strings are fetching the artists of the other tracks on the release. This would be cached for subsequent tracks. :-)
Thanks zoomorph,
your explanation makes sense and seems desirable to me,
but I don't understand, why 58 artists (see screenshots below) are fetched (cache tells me so), when I only fetch a single track with a single artist.

To end the confusion,
please let me show, what I am doing, so maybe we can figure out, what is wrong (with my thinking) :-)

attachment 1:
I start f2k, cache is empty.

attachment 2:
the used formatting strings. (very simple, no fancy stuff.)

attachment 3:
I select only the first song of this release

attachment 4:
after the fine component has done its job, this is what the cache tells.

So it is correct, that 58 artists are fetched, when only one single is needed?
(or maybe I left some formatting string in the config, which leads to fetch all the artists? If so, which one?)




(sorry, I cannot figure out how to place the attached screenshots into this post, so the numbering. It seems my broswer cannot drag&drop the attachments into this post.)

y stuff.)

attachment 3:
I select only the first song of this release

attachment 4:
after the fine component has done its job, this is what the cache tells.

So it is correct, that 58 artists are fetched, when only one single is needed?
(or maybe I left some formatting string in the config, which leads to fetch all the artists? If so, which one?)




(sorry, I cannot figure out how to place the attached screenshots into this post, so the numbering. It seems my broswer cannot drag&drop the attachments into this post.)

If you view the console while doing this you'll see that only 1 artist is loaded. I believe the other 58 are stubs created from the release information, but it's not actually loading any info for those artists other than what comes with the release information. :-)

 

Re: foo_discogs

Reply #2733
I am trying to fill multi-value tag, creating an array from the string with the split function. But function also returns initial string as a first element of the array. What am I doing wrong?

I already tried the synthetic example and get the same behaviour: $split('aaa, bbb, ccc') -> aaa, bbb, ccc; aaa; bbb; ccc
Looks like a bug in foo_discogs where $split returns full string as first element of array. Attached dll fixes it, next release (no clue when that will be) will also contain the fix.

Re: foo_discogs

Reply #2734
Thank you for your attention, zoomorph!

 
SimplePortal 1.0.0 RC1 © 2008-2019