예제 #1
0
 def writeModel(self, root, title, album, artist, track, cover, source):
     obj = Track()
     obj.title = title
     obj.album = album
     obj.artist = artist
     obj.track = track
     obj.source = source
     obj.cover = cover
     obj.save()