[gnome-music/wip/mschraal/core-thumb-property: 9/17] Rename StoreArtist to StoreArt
- From: Marinus Schraal <mschraal src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-music/wip/mschraal/core-thumb-property: 9/17] Rename StoreArtist to StoreArt
- Date: Fri, 3 Jul 2020 08:35:13 +0000 (UTC)
commit d99c48fb802e206a13cbfa3d9f50c7f6380c2839
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 524633a0..0482fde5 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):
@@ -1008,7 +1008,7 @@ class GrlTrackerWrapper(GObject.GObject):
corealbum.props.thumbnail = "generic"
else:
media.set_thumbnail(thumbnail_uri)
- StoreArtistArt(corealbum)
+ StoreArt(corealbum)
album_id = media.get_id()
query = self._get_album_for_album_id(album_id)
@@ -1041,7 +1041,7 @@ class GrlTrackerWrapper(GObject.GObject):
return
media.set_thumbnail(resolved_media.get_thumbnail())
- StoreArtistArt(coreartist)
+ StoreArt(coreartist)
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 d17d25db..3e0b5725 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]