[gnome-music/wip/mschraal/core-thumb-property: 3/9] 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: 3/9] Rename StoreArtist to StoreArt
- Date: Mon, 15 Jun 2020 00:38:08 +0000 (UTC)
commit f59a72d2882471f28915b6cbde24209d1f3028f2
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} | 3 ++-
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/gnomemusic/grilowrappers/grltrackerwrapper.py b/gnomemusic/grilowrappers/grltrackerwrapper.py
index 8cb0952f..bf92553e 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):
@@ -1005,7 +1005,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)
@@ -1038,7 +1038,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 24b396b0..d1283b77 100644
--- a/gnomemusic/storeartistart.py
+++ b/gnomemusic/storeart.py
@@ -30,7 +30,8 @@ from gnomemusic.musiclogger import MusicLogger
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]