[gnome-music/wip/mschraal/core-thumb-property: 10/16] 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: 10/16] Rename StoreArtist to StoreArt
- Date: Sun, 14 Jun 2020 23:55:18 +0000 (UTC)
commit 198f638922db52471b153ac73d790e0443a9ce7a
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 c78a8b1e..5f4340fe 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):
@@ -1000,7 +1000,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)
@@ -1034,7 +1034,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]