
#im = im.resize((cover_size, cover_size), Image.ANTIALIAS)

Iconpath_jpg = os.path.join(ROOT_PATH,'cover_cache',album_name+'.jpg') Iconpath = os.path.join(ROOT_PATH,'cover_cache',album_name+'.png')

If data: #all new cover are the same, updating album cover #from IPython.Shell import IPShellEmbed IPShellEmbed()() #from PyQt4.QtCore import pyqtRemoveInputHook Mime='image/jpeg', # image/jpeg or image/pngĭef update_album_cover(filename, new_cover):įor i, song in enumerate(bak_conf): Meta.add(TCOM(encoding=3, text=er))Īrtwork_filename = wget.download(track.artwork_url) Meta.add(TCON(encoding=3, text=track.genre)) Meta.add(TIT2(encoding=3, text=track.title)) """Find and set all metadata for a track"""įilename = nvert_wav_to_mp3(filename) # Add the other tags based on RVA2 valuesĭef set_track_metadata(self, track = None, filename = None, url = None): If not isinstance(track, id3.ID3FileType): # Make sure we have the non-easy variant. Replaygain tags to RVA2, preventing the editing of the TXXX tags. Re-opened as the non-easy equivalent, since EasyMP3 maps the If the track is an instance of '3', it will be Thus the resulting file will have the ReplayGain informationĮncoded both ways for maximum compatibility. The RVA2 tags (if any) will be propagated to 'TXXX:replaygain_*' Instance of 3FileType, the ReplayGain information in '''Convert RVA2 tags to TXXX:replaygain_* tags.Īrgument should be an MusicFile (instance of mutagen.FileType) orĪ string, which will be loaded by mutagen.MusicFile. SongID = ID3(name, v2_version=3) #EasyID3 doesn't support saving as 2.3 to get Windows to recognize itĭef fixup_ID3(fname: Union) -> None:
Gpodder folder stopped updating software#
It took upwards of 5 hours to get the damn software to do this. Title = localList if len(localList) > 1 else localList #If there is no artist, the whole name is the title

If self.allSongsDefaultArtist: artist = faultArtist If not, it won't be recognizedĪrtist = localList if len(localList) > 1 else faultArtist #The artist is usually first if its there. LocalList = ("- ") #The song should be split as "artist - title".
