Repository navigation
Lounge 0.9.3
A release about signing in and about YouTube. A sign-in code can be replaced with a press, the TV keeps watching for the sign-in while you are on the plugin's page, and the YouTube plugin shows more of what you follow and is easier to set up.
What's new
Get a new code. A plugin that signs in with a code now has "Get a new code" beside "Refresh now", on the TV and on the phone. Until now the code stayed the same for as long as the service let it live, through restarts, with no way to ask for another. YouTube, Plex, Trakt, Twitch, Simkl and Jellyfin offer it.
The TV notices the sign-in by itself. While a plugin's page is open on the TV or the phone, Lounge checks every five seconds whether you have signed in, for up to half an hour at a time, where it used to stop after five minutes. The page says so under the code.
YouTube: long videos, lengths and live streams. With Shorts left out, a channel whose newest uploads are mostly Shorts is also read from YouTube's feeds of its long videos and its live streams, so its row fills up. With a Google sign-in, each tile says how long its video runs or that it is live now, and a premiere that has not started yet is left out until it has.
YouTube: a playlist as a row. The new "Playlist as a row" setting gives one playlist's videos a row of their own, in the playlist's order, so a playlist you add to on your phone works as a list for the TV. A public playlist needs no sign-in; a private one is read through yours.
YouTube: caught up sooner. The plugin refreshes every 15 minutes, and keeps your list of subscriptions for six hours where it used to read it every time, which leaves more of each refresh for the channels themselves. A long list of subscriptions is caught up on sooner after the TV has been off.
YouTube: setup as steps. The help for the Google Client ID is six numbered steps on the phone, each with a link to the page of Google's console it happens on.
For plugin authors. sdk::sign_in_kept(link, &code, "key"), or code_key on an ask, names the key your plugin keeps its code under, and its page then offers "Get a new code": Lounge deletes that key and refreshes. Ask has gained that field, so write an Ask with ..Default::default() after the fields you set. A setting's help may have several lines, and the phone shows lines numbered "1.", "2." at its end as a list of steps with their addresses as links. PLUGINS.md has the details.
What's fixed
Subscribed YouTube channels that post mostly Shorts showed nothing at all with Shorts left out, which is how the plugin starts.
A wrong Google Client secret was reported as a Client ID Google does not know.
YouTube's setup help named pages that Google's console has since renamed.
Full Changelog: v0.9.2...v0.9.3