You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1.artistID
I added two lines in the tagger.py to support more tags:
"----:com.apple.itunes:plID": data.get("id"),
"----:com.apple.itunes:atID": data.get("artistid"),
plID is working fine, atID failed.
After analysing the codes, I added one line in the tag section of album.py:
s = {
"id": item.get("id"),
"artistid": attr.get("artistId"),
But it's still not working. What should I do?( I use this value to auto-classify the same artist in different languages, cuz some albums are only available in certain areas )
2.releaseDate
The default setting only support the YYYY-MM-DD format,is it possible to tag like the iTunes Store do (in YYYY-MM-DDTHH:MM:SSZ format)?
The text was updated successfully, but these errors were encountered:
Update 1: After several frustrated attempts ,finally I found a dumb solution to make it more similar to the apple store ones😂
[Step1:album.py] add those lines between a = {...} and for item in data["relationships"]["tracks"]["data"]
with open('./output/albumArtist_id.txt', 'w') as file:
for item in data["relationships"]["artists"]["data"]:
albumArtist_id = item.get("id")
file.write(albumArtist_id)
[Step 2:tagger.py] add those lines between tags.delete() and __tags = {...}
try:
with open('./output/albumArtist_id.txt', 'r') as file:
atID = file.read().strip()
except FileNotFoundError:
logger.error("File 'albumArtist_id.txt' not found. Using default value for atID.")
atID = 0 # or define a default value
[Step 3: tagger.py] ajustment inside the __tags = {...}
__tags = {...
"\xa9day": data.get("releasedate") + 'T07:00:00Z',
... "plID": int(data.get("id")),
"atID": int(atID),
"sonm": data.get("song"),
}
The result is not so bad.
Wish someone could find a better solution. I used the txt file to pass the albumArtist_id from album.py to tag.py and added T07:00:00Z after the releasedate.
1.artistID
I added two lines in the tagger.py to support more tags:
"----:com.apple.itunes:plID": data.get("id"),
"----:com.apple.itunes:atID": data.get("artistid"),
plID is working fine, atID failed.
After analysing the codes, I added one line in the tag section of album.py:
s = {
"id": item.get("id"),
"artistid": attr.get("artistId"),
But it's still not working. What should I do?( I use this value to auto-classify the same artist in different languages, cuz some albums are only available in certain areas )
2.releaseDate
The default setting only support the YYYY-MM-DD format,is it possible to tag like the iTunes Store do (in YYYY-MM-DDTHH:MM:SSZ format)?
The text was updated successfully, but these errors were encountered: