This is it: I just searched for ": " and replaced it by ":" and it works fine again.
Thanks-a-lot everybody, especially yorickausyps! :o))
Bear with me, I barely know what I'm doing. I added juvalu's .src file (finally figured out it goes in the sources folder) and made yorickausyps edits (to line 124 and removing the space after the colon). I now no longer get an error message. I get the same result as yorickausyps (track numers with no names). How do I get the track names? And more importantly, I used to get composer information because I edited the Discogs Pone 4 Web Script Settings.mp3 file and added the following to the ARTIST NAMES field
Extrafields: >COMPOSER:Written-By<
>COMPOSER:Written By<
>COMPOSER:Composed BY<
>COMPOSER:Songwriter<
I followed these instructions: Discogs, Composed by or written by info?
But I don't get track names or composer information. Thanks for any help.
Never mind. I got it. I used the .scr files from here
I then removed the space after the colons. Seems to work.
Can confirm for the Release ID script. Kind of relieved that the fix was that simple!
Thanks to the proposal from @juvalu and the additional information from @yorickausyps I was able to get the complete previous function back. When I started, I didn't know if the missing tags were caused by some additional changes, which were introduced by @juvalu . Therefore I have used the previous source from "Discogs_Pone_Mod_4.4_update_2020-08-26.rar" for my version of this script. I hope, this is acceptable.
It turned out that Discogs removed the spaces behind commas (and not only behind colons!) in their new API. Now the result looks like this:
I have also attached my version of the script. I have tested it carefully by removing the tags from the last 20 MP3 files, which I had tagged with the old Discogs API, adding the tags again with my version of the script, and comparing them with the backup of the old file version. I can confirm that mixartists, chapters and multi-disc images are working as before. However, I can't guarantee that my version fixes everything.
Discogs &Pone# Direct by Discogs &ID 2024 09 12.rar (5.1 KB)
Hello everyone ![]()
Introduction.
The architectures of TAG sources are subjective, and therefore it is very difficult to create something that satisfies hundreds of people, in our case Discogs source is in constant movement so what works today will not be tomorrow.
I am not a programmer, I am self-taught .... I see, I read, I listen, copy cut and paste and finally try the result.
With these tools I completed the debugging of my script, I restored the import of broken fields.
I thank all the users who participated in this thread, with their contribution our beloved #Discogs Pone script is back to work.
A script born in 2009 and still working today!!!
A round of appalation to the author of Pone #scripts and to all the @USERS who over time have made the necessary changes so that we can still enjoy this project today. On the web I do not remember having seen something similar with this duration and free.
Thanks to @Florian who hosts us and allows us to use his software for free, without him nothing would be now.
The attached .scr files have been created and designed to work in association with the reference .mta files.
I should take some photos or a video but if you are here I think you already have an understanding of the potential of Mp3Tag and therefore I will not do it.
The .mta files are customized for an Italian language, feel free to modify it in yours.
source folder:
1) Pone# Direct Discogs ID &1.src
2) Pone# Direct Discogs ID &2.src
3) Pone# Direct Discogs ID &3.src
4) Pone# Multi tracks &Set.src
5) Pone# Multi tracks &Unset.src
files in folder actions copy to:
C:\Users\your_user\AppData\Roaming\Mp3tag\data\actions
The Pone# Direct Discogs ID & scripts are numbered, they perform different operations from each other. For tagging they can work individually or together.
This depends on the data present in the Discogs distribution.
- Campo ALBUM_CREDITS {multifields} \
- Campo CHAPTER {single field}
- Campo COMPOSER {single field}
- Campo PERFORMER {multifields} \
- Campo UNSYNCEDLYRICS {single multiline}
Basic usage
- The first search via the default Mp3Tag scripts;
- File Pone# Direct Discogs ID &1.src {search and import the fields preceded by # , the others are ignored.
The "set" parameter management is at the end of the code.
You can change it to your liking.
set "track"
set "title"
set "artist"
set "albumartist"
set "album"
set "discnumber"
set "catalognumber"
set "country"
#set "discogs_master_release_id"
set "discogs_release_id"
set "genre"
#set "mediatype"
#set "publisher"
#set "style"
set "www"
set "year"
#set "unsyncedlyrics"
Pone# Direct Discogs ID &1.src {writes in the outputto listed below, if you don't have them you have to create them}
outputto= ALBUM_CREDITS
outputto= CHAPTER
outputto= COMPOSER
outputto= DISCOSG_MASTER_RELEASE_ID
outputto= MEDIATYPE
outputto= PERFORMER
outputto= PUBLISHER
outputto= STYLE
outputto= UNSYNCEDLYRICS
- n° 2 Pone# Direct Discogs ID &2.src
Some CD distributions do not have extranames and extraanvs description {COMPOSER - PERFORMER}, but they are present in the LP version, and here is the usefulness of this script set like this:
set "track"
set "title"
set "artist"
set "albumartist"
set "album"
set "discnumber"
set "catalognumber"
set "country"
set "discogs_master_release_id"
set "discogs_release_id"
set "genre"
set "mediatype"
set "publisher"
set "style"
set "www"
set "year"
set "unsyncedlyrics"
Search and import the fields {ALBUM_CREDITS - COMPOSER - PERFORMER} requires the distribution release code: example [r140xxxxx]
It does not make any changes to the previously imported fields, it only adds the missing descriptions. They can be enabled and disabled with the check on the graphical interface CTRL+I
- Pone# Direct Discogs ID &3.src
Imports the descriptions present in Discogs Credits and inserts them in the {PERFORMER \ multifield} field useful in particular cases where the participating artists are included in the Credits description.
Take a look at the actions ---> copy field XX to field YY.
- Pone# Multi tracks &Set.src
- Pone# Multi tracks &Unset.src
For use in multitrack audio distributions. They are different in the end of the code "set" .
---- The .mta files ----
The "actions.mta" files are adapted to my vision but can be easily modified. I recommend experimenting with their use with caution.
"Clean Composer.mta"
In most distributions Written-By is found at the end of the descriptions, in some cases the composer has multiple roles and can be found in various positions within the text, so it is not easy to create a regex that regulates this behavior.
For this I use an action ---> find "Written-By" and delete everything that precedes it, except the Written-By tag
replace with regular expression:
[#0]
T=4
F=COMPOSER
1=.*Written-By
2=Composed
3=0
Before applying this action, verify that the necessary conditions are present, otherwise you risk cutting the information. Before writing it on your flac/mp3, find and manually delete Written-By, make sure it is only at the end of the description.
Remember, there is no regex that does what you need to do, manual intervention is always needed.
"Clean Performer.mta" it does a similar thing, the action find "Written-By" and deletes everything after it including the Written-By tag.
[#88]
T=4
F=PERFORMER
1=; Written By.*
2=
3=0
[#89]
T=4
F=PERFORMER
1=Written By.*
2=
3=0
[#90]
T=4
F=PERFORMER
1=Written-By.*
2=
3=0
I hope I explained everything as clearly as possible. Do some tests first before writing to your flac/mp3.
See you ![]()
Recovery #Pone Scripts.zip (31.9 KB)
Does anybody know how to get year in YYYY-MM-DD form?
