mirror of
https://github.com/oskvr37/tiddl.git
synced 2026-06-13 04:05:08 +03:00
✨ Changed artist separator to ";"
* chore: change separator to "; " * chore: finishing changin separators * chore: continue changing separators --------- Co-authored-by: Ohjne <er@le.com>
This commit is contained in:
@@ -150,7 +150,7 @@ def add_track_metadata(
|
||||
disc_number=str(track.volumeNumber),
|
||||
copyright=track.copyright,
|
||||
album_artist=album_artist,
|
||||
artists=", ".join(sorted(a.name.strip() for a in track.artists)),
|
||||
artists="; ".join(sorted(a.name.strip() for a in track.artists)),
|
||||
album_title=track.album.title,
|
||||
date=date,
|
||||
isrc=track.isrc,
|
||||
|
||||
@@ -9,7 +9,7 @@ def add_video_metadata(path: Path, video: Video):
|
||||
mutagen.update(
|
||||
{
|
||||
"title": video.title,
|
||||
"artist": ";".join([artist.name.strip() for artist in video.artists]),
|
||||
"artist": "; ".join([artist.name.strip() for artist in video.artists]),
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@ class Explicit:
|
||||
if self.value is None:
|
||||
return ""
|
||||
|
||||
features = format_spec.split(",")
|
||||
features = format_spec.split("; ")
|
||||
|
||||
def get_base():
|
||||
for feature in features:
|
||||
@@ -149,9 +149,9 @@ def generate_template_data(
|
||||
isrc=isrc,
|
||||
quality=quality,
|
||||
artist=item.artist.name if item.artist else "",
|
||||
artists=", ".join(main_artists),
|
||||
features=", ".join(featured_artists),
|
||||
artists_with_features=", ".join(main_artists + featured_artists),
|
||||
artists="; ".join(main_artists),
|
||||
features="; ".join(featured_artists),
|
||||
artists_with_features="; ".join(main_artists + featured_artists),
|
||||
explicit=Explicit(getattr(item, "explicit", None)),
|
||||
dolby=dolby,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user