artemanufrij / playmymusic

An elementary OS app
http://anufrij.org/melody
95 stars 26 forks source link

[Enhancement] Artist image and artist info from WEB #50

Closed varlesh closed 6 years ago

varlesh commented 6 years ago

Will be cool use Artist image and info from any music service (MusicBrainz, Wikimedia, LastFM, etc)... Example mockup: 2017-11-19 01 25 44 Artist info with scrolled widget - it's very good for long text.

artemanufrij commented 6 years ago

for artist image you can enable it here. bildschirmfoto von 2017-11-18 22 48 08

or you can put a image into you folder named: aritst.jpg

varlesh commented 6 years ago

for artist image you can enable it here.

Enabled, but not worked. On LOG i see this:

** (com.github.artemanufrij.playmymusic:25157): WARNING **: TagManager.vala:63: DISCOVER ERROR: '3' Resource not found. GST_DISCOVERER_ERROR

or you can put a image into you folder named: aritst.jpg

Very good... But think about get info from any web service (if possible)... It's good looking

artemanufrij commented 6 years ago

it's a ID3 warning. it will be fired if ID3 tag can't be read from a music file.

artemanufrij commented 6 years ago

@varlesh could you check if artists you have exists on MusicBrainz...

varlesh commented 6 years ago

Thirty Seconds to Mars > https://musicbrainz.org/artist/d8354b38-e942-4c89-ba93-29323432abc3 2017-11-19 02-11-35 mediainfo example:

mediainfo 01*mp3
General
Complete name                            : 01.Kings And Queens.mp3
Format                                   : MPEG Audio
File size                                : 13.8 MiB
Duration                                 : 5mn 44s
Overall bit rate mode                    : Constant
Overall bit rate                         : 320 Kbps
Album                                    : Greatest Hits (CD1)
Album/Performer                          : Thirty Seconds To Mars
Track name                               : Kings And Queens
Track name/Position                      : 01
Performer                                : Thirty Seconds To Mars
Encoded by                               : Dash.G.F.
Genre                                    : Alternative Rock, Hard Rock
Recorded date                            : 2011
Writing library                          : LAME3.98r
Cover                                    : Yes
Cover type                               : Cover (front)
Cover MIME                               : image/jpeg
Comment                                  :  

Audio
Format                                   : MPEG Audio
Format version                           : Version 1
Format profile                           : Layer 3
Mode                                     : Joint stereo
Duration                                 : 5mn 45s
Bit rate mode                            : Constant
Bit rate                                 : 320 Kbps
Channel(s)                               : 2 channels
Sampling rate                            : 44.1 KHz
Compression mode                         : Lossy
Stream size                              : 13.2 MiB (95%)
Writing library                          : LAME3.98r
Encoding settings                        : -m j -V 4 -q 5 -lowpass 20.5
artemanufrij commented 6 years ago

but not Greatest Hits (CD1) if you put an album in your Library it will work. Artist + Album is unique

varlesh commented 6 years ago

@artemanufrij You right, worked :+1:
Please think about artist info

artemanufrij commented 6 years ago

I'm going to close this issue "Artist Info" should be tracked in a separate issue...