[gnome-music/wip/mschraal/core-thumb-property: 14/22] Rename StoreArtist to StoreArt



commit 7f8a789d2af9ff37f9194ef9a3e6d34536910bc1
Author: Marinus Schraal <mschraal gnome org>
Date:   Tue Apr 28 17:24:33 2020 +0200

    Rename StoreArtist to StoreArt
    
    It is not artist specific anymore.

 gnomemusic/grilowrappers/grltrackerwrapper.py | 6 +++---
 gnomemusic/{storeartistart.py => storeart.py} | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/grilowrappers/grltrackerwrapper.py b/gnomemusic/grilowrappers/grltrackerwrapper.py
index 38e76a67..df81a076 100644
--- a/gnomemusic/grilowrappers/grltrackerwrapper.py
+++ b/gnomemusic/grilowrappers/grltrackerwrapper.py
@@ -31,7 +31,7 @@ from gnomemusic.coreartist import CoreArtist
 from gnomemusic.coredisc import CoreDisc
 from gnomemusic.coresong import CoreSong
 from gnomemusic.grilowrappers.grltrackerplaylists import GrlTrackerPlaylists
-from gnomemusic.storeartistart import StoreArtistArt
+from gnomemusic.storeart import StoreArt
 
 
 class GrlTrackerWrapper(GObject.GObject):
@@ -1007,7 +1007,7 @@ class GrlTrackerWrapper(GObject.GObject):
             if thumbnail_uri is None:
                 corealbum.props.thumbnail = "generic"
             else:
-                StoreArtistArt(corealbum, thumbnail_uri)
+                StoreArt(corealbum, thumbnail_uri)
 
         album_id = media.get_id()
         query = self._get_album_for_album_id(album_id)
@@ -1039,7 +1039,7 @@ class GrlTrackerWrapper(GObject.GObject):
                 coreartist.props.thumbnail = "generic"
                 return
 
-            StoreArtistArt(coreartist, resolved_media.get_thumbnail())
+            StoreArt(coreartist, resolved_media.get_thumbnail())
 
         full_options = Grl.OperationOptions()
         full_options.set_resolution_flags(
diff --git a/gnomemusic/storeartistart.py b/gnomemusic/storeart.py
similarity index 99%
rename from gnomemusic/storeartistart.py
rename to gnomemusic/storeart.py
index ca44e910..2b129309 100644
--- a/gnomemusic/storeartistart.py
+++ b/gnomemusic/storeart.py
@@ -31,7 +31,7 @@ from gnomemusic.coreartist import CoreArtist
 from gnomemusic.corealbum import CoreAlbum
 
 
-class StoreArtistArt(GObject.Object):
+class StoreArt(GObject.Object):
     """Stores Art in the MediaArt cache.
     """
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]