yoavain / mediaportal-tunein

Automatically exported from code.google.com/p/mediaportal-tunein
3 stars 4 forks source link

Not update #RadioTime.Play.Description on playing #2

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. In skin <label>#RadioTime.Play.Description | #Play.Current.Artist | 
#Play.Current.Album</label>
2. Start playing, whait new song ...
3. and get: (attach) __RT001.png

Please provide any additional information below.
Station: http://tunein.com/radio/Radio-Relax-1015-s131659/

Original issue reported on code.google.com by ajs.blackhole on 6 Jan 2015 at 1:14

Attachments:

andrewjswan commented 9 years ago

Improper processing XML, in a method RadioTime Now Playing.Get.

                    case 1: // if station has song then [Artists - Song] else [Description]
                        if (!hassong)
                        {
                          Description = outline.Text;
                        }
                        break;
                    case 2: // if station has song then [Genre | Description] else [Location]
                        if (hassong)
                        {
                          Description = outline.Text;
                        }
                        else
                        {
                          Location = outline.Text;
                        }
                        break;
                    case 3: // if station has song then [Location]
                        if (hassong)
                        {
                          Location = outline.Text;
                        }
                        break;