Hi ifelsethenend,
When my addon plays youtube videos, i have youtube-dl handle the communication to the youtube servers. (ruuk made the original addon that lets kodi use youtube-dl)
youtube sends a list of the available video formats for the video. and the addon picks which format to play according to the preferred quality setting.
I'm not sure if it is possible now, but the last time I tried, I could not get kodi to play dash streams from youtube. <-- video and audio in separate streams and you need to have kodi have them play together. (it is like making it play a video and music at the same time)
Anyway, I see that 480p is on the list of available videos but it is 'DASH video' format(no sound). so I pick the closest one that is not in dash.
Here's a sample of the format youtube sends the addon:
Code:
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 133 - 426x240 (DASH video)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 134 - 640x360 (DASH video)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 135 - 854x480 (DASH video)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 136 - 1280x720 (DASH video)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 137 - 1920x1080 (DASH video)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 139 - audio only (DASH audio)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 140 - audio only (DASH audio)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 160 - 256x144 (DASH video)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 18 - 640x360 (medium)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 22 - 1280x720 (hd720)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 242 - 426x240 (DASH video)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 243 - 640x360 (DASH video)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 244 - 854x480 (DASH video)
10:50:19.833 T:12672 NOTICE: reddit_reader MainThread:Available format: 247 - 1280x720 (DASH video)
10:50:19.834 T:12672 NOTICE: reddit_reader MainThread:Available format: 248 - 1920x1080 (DASH video)
10:50:19.834 T:12672 NOTICE: reddit_reader MainThread:Available format: 278 - 256x144 (DASH video)
10:50:19.834 T:12672 NOTICE: reddit_reader MainThread:Available format: 43 - 640x360 (medium)
My addon will end up picking the 640x360 (medium) version if you set your preferred format to 480p.