Kodi Community Forum
Beta Streaming radio helper - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: Beta Streaming radio helper (/showthread.php?tid=289314)

Pages: 1 2 3 4 5 6 7 8


RE: Streaming radio helper - black_eagle - 2016-10-02

Yeah, you could be right there. @fritsch is the audio guy and he's generally really helpful so maybe he'll help us get to the bottom of this.


RE: Streaming radio helper - JohnyBee - 2016-10-31

Hi @black_eagle,
I listening a lot radio streaming.
Is it possible to write a script, which one improve visualisation of radio streaming.
I already create mod artistslideshow, which downloads logos and baners for playing artist. (Author AS dont want to add this to official version).
Yours scripts is grate, i already test it - works good.
If you want to expand this, I ve got few ideas.

Thank for the script!


RE: Streaming radio helper - black_eagle - 2016-10-31

Glad you like it JB !!

As it happens, I have added your similar artists and albums script to my MusicVisualisation and together they give a really good experience.

I'm always ready to listen to new ideas, and if I can improve it further then that would be great !!


RE: Streaming radio helper - JohnyBee - 2016-10-31

Hi @black_eagle, Smile
I found the small bug, when the artist name or/and title song contains a mark ('), then 'Streaming Radio Helper' terminates with error:
Streaming Radio Helper : There was an error : unsupported format character 'S' (0x53) at index 54 Confused
log:
(...)
NOTICE: Streaming Radio Helper : Checking station is the same
NOTICE: Streaming Radio Helper : Track changed to Ain't Giving Up by Craig David & Sigala
NOTICE: Streaming Radio Helper : Playing station :
NOTICE: Streaming Radio Helper : No logo in music directory
NOTICE: Streaming Radio Helper : Getting mbid for artist Craig David & Sigala
NOTICE: Streaming Radio Helper : Got an MBID of : 89e39f67-65cc-4f90-b145-b1b56c209f8a
NOTICE: Streaming Radio Helper : Searching for HD logo on fanart.tv
NOTICE: Streaming Radio Helper : No HD logos found for Craig David & Sigala
NOTICE: Streaming Radio Helper : Looking up Craig David & Sigala on tadb.com
NOTICE: Streaming Radio Helper : URL for TADB is : http://www.theaudiodb.com/api/v1/json/64526564694f534d656544/search.php?s=Craig+David+&+Sigala
NOTICE: Streaming Radio Helper : {"artists":null}
NOTICE: Streaming Radio Helper : Looking up The+Craig+David+&+Sigala on tadb.com with URL http://www.theaudiodb.com/api/v1/json/1/search.php?s=The+Craig+David+&+Sigala
NOTICE: Streaming Radio Helper : Error searching theaudiodb for a logo : [Errno socket error] [Errno 111] Connection refused
NOTICE: Streaming Radio Helper : No logo in cache directory
NOTICE: Streaming Radio Helper : Looking up album and year data for artist Craig David & Sigala and track Ain't Giving Up
NOTICE: Streaming Radio Helper : Cache currently holds 82 tracks
NOTICE: Streaming Radio Helper : keydata is craigdavid&sigalaain'tgivingup
NOTICE: Streaming Radio Helper : New track - get data for Craig David & Sigala : Ain't Giving Up
NOTICE: Streaming Radio Helper : Search artist, track with strings : Craig+David+&+Sigala,Ain't+Giving+Up
NOTICE: Streaming Radio Helper : There was an error : unsupported format character 'S' (0x53) at index 54
NOTICE: Streaming Radio Helper : Saving data to pickle file
NOTICE: Streaming Radio Helper : Script Stopped

JB


RE: Streaming radio helper - black_eagle - 2016-10-31

Ah, quite possibly then you don't have the most up-to-date version (probably because I haven't updated github in a while Blush) That error message text no longer exists in the version that I'm currently running (just checked the code) so I'll have to push it up to github in a while.

I'd do it now, but I am being dragged away to a halloween party !


RE: Streaming radio helper - JohnyBee - 2016-10-31

Have fun in halloween party! Big Grin
I'm waiting for update githubSleepy


RE: Streaming radio helper - black_eagle - 2016-11-01

Github now updated to latest master Smile


RE: Streaming radio helper - JohnyBee - 2016-11-04

Good job!
The new version works well. Big Grin
I still testing the latest version. In case of problems, I will let you know.

JB


RE: Streaming radio helper - Wanilton - 2016-11-04

@black_eagle, tested Krypton, and have all metadata and images. Trouble is in your mod, when playing audio addon I have this:

Image

When use your mod, data is empty, I donĀ“t have time yet for check your code.


RE: Streaming radio helper - black_eagle - 2016-11-05

@Wanilton - Many thanks for testing. However, skin mod and helper script are both for Jarvis. Although I have a Krypton mod of MQ7, I have not tested my helper script & Musicvisualisation mod with it as yet. Probably this is why you are seeing an issue.


RE: Streaming radio helper - JohnyBee - 2016-11-07

Hi @black_eagle,
I've got few ideas for deveompnet of "Streaming radio helper":
Can you add download banner and thumb of artist and add suitable properties.


RE: Streaming radio helper - black_eagle - 2016-11-08

Sure it's possible. I'm not sure though how that might improve things ? Artist Slideshow already gets the thumb for an artist.


RE: Streaming radio helper - Solo0815 - 2016-11-08

I like your script!

Is there a way to get the AlbumArt if the album is not in the DB?
CD-Art works from skinhelper, but AlbumArt?
Thx

Edit:
found it Smile
$INFO[Window(Home).Property(SkinHelper.Player.Music.AlbumThumb)]

Edit:
There is this in the log:
Searchartist is Foo Fighters
searchartist.find('~') result was -1

what does it mean?


RE: Streaming radio helper - black_eagle - 2016-11-09

(2016-11-08, 18:10)Solo0815 Wrote: Edit:
There is this in the log:
Searchartist is Foo Fighters
searchartist.find('~') result was -1

what does it mean?

Ah, it's some leftover debug logging that I put in when I wanted to see exactly how the script was splitting up an artist with a featured artist. Actually, it's probably spitting out a lot of stuff into the log which can be removed now as I'm reasonably sure that it's stable and doing what it should.

Now that I've said that, someone's gonna come along with an issue !!

EDIT

Updated on github - Logging moved to Kodi debug log unless debugging is enabled in the add-on settings, in which case debug output will be to Kodi's normal log file.


RE: Streaming radio helper - JohnyBee - 2016-11-09

(2016-11-08, 09:19)black_eagle Wrote: Sure it's possible. I'm not sure though how that might improve things ? Artist Slideshow already gets the thumb for an artist.

Artist Slideshow only gets the thumb for similar artists not for artist(s) of current song.
Artist Slideshow only gets the fanart (in 16x9 aspect ratio) for artist(s) of current song.
I can add the banner and the thumb for artist(s) of current song in JB-SimilarArtist.
I've done it already for the library (local music).
I want to do also for the stream.