made a function to compile

This commit is contained in:
Hellow2
2023-03-14 11:03:54 +01:00
parent 38142df92e
commit 4056c736b9
7 changed files with 137 additions and 1 deletions

View File

@@ -1,4 +1,4 @@
from music_kraken import objects
from music_kraken import objects, recurse
import pycountry
@@ -41,6 +41,9 @@ song = objects.Song(
objects.SourcePages.ENCYCLOPAEDIA_METALLUM,
"https://www.metal-archives.com/bands/I%27m_in_a_Coffin/127727"
)
],
label_list=[
objects.Label(name="Depressive records")
]
),
objects.Artist(name="some_split_artist")
@@ -55,6 +58,8 @@ song = objects.Song(
],
)
song.compile()
print(song.option_string)
for album in song.album_collection:
print(album.option_string)