(2021-05-31, 14:49)C.O.D. Wrote: @poplo75
There's a new option in the settings (in Matrix) under settings/media/music/general called 'switch to visualization on playback'.
If this one is ticked the videos will start in fullscreen.
I guess Kodi treats them as Audio since they are handled as music videos. Maybe @arneson can change something in his addon that they're treated as normal videos like e.g. YouTube videos which would have also the nice side effect (at least for me) that I would get the regular VideoOSD instead of the less informative music video OSD in Arctic Horizon. And I also don't want to have this option enabled since all music will start in fullscreen which I don't like...
Hi C.O.D.
the setting 'switch to visualization on playback' is for music songs. So the music videos in TIDAL2 are detected as songs and not as videos !
I tried to remove the info label for music from the video list item, and now the music videos start in fullscreen mode !
Can you can try this out for your Arctic Horzion theme if the VideoOSD is shown !
The only thing you have to do is to comment out one line in plugin.audio.tidal2/resources/lib/tidal2/items.py
in the method getListItem of the class VideoItem where the music info label is set with: li.setInfo('music', musicLabel)
python:
class VideoItem(tidal.Video, HasListItem):
...
def getListItem(self):
li = HasListItem.getListItem(self)
if self.available:
url = plugin.url_for_path('/play_video/%s' % self.id)
isFolder = False
else:
url = plugin.url_for_path('/stream_locked')
isFolder = True
infoLabel = {
'artist': [self.artist.name],
'title': self.title,
'tracknumber': self._playlist_pos + 1 if self._playlist_id else self._itemPosition + 1,
'year': getattr(self, 'year', None),
'plotoutline': self.getComment(),
'plot': self.getFtArtistsText()
}
musicLabel = {
'artist': self.artist.name,
'title': self.title,
'tracknumber': self._playlist_pos + 1 if self._playlist_id else self._itemPosition + 1,
'year': getattr(self, 'year', None),
'comment': self.getComment()
}
try:
if self.streamStartDate:
infoLabel.update({'date': self.streamStartDate.date().strftime('%d.%m.%Y')})
musicLabel.update({'date': self.streamStartDate.date().strftime('%d.%m.%Y')})
elif self.releaseDate:
infoLabel.update({'date': self.releaseDate.date().strftime('%d.%m.%Y')})
musicLabel.update({'date': self.releaseDate.date().strftime('%d.%m.%Y')})
except:
pass
if KODI_VERSION >= (17, 0):
infoLabel.update({'mediatype': 'musicvideo',
'rating': '%s' % int(round(self.popularity / 10.0)),
'userrating': '%s' % int(round(self.popularity / 10.0))
})
li.setInfo('video', infoLabel)
# li.setInfo('music', musicLabel) << Comment this line out
li.addStreamInfo('video', { 'codec': 'h264', 'aspect': 1.78, 'width': 1920,
'height': 1080, 'duration': self.duration })
li.addStreamInfo('audio', { 'codec': 'AAC', 'language': 'en', 'channels': 2 })
return (url, li, isFolder)