Repository navigation
Lounge 0.9.0
A release about what the stock home took with it. Notifications are back, in the top bar and a panel of their own. Plugins can play streams that need headers and say when a stream is sound alone. A backup now carries how the TV looks, and plugins cost less memory and wait on each other less.
What's new
Notifications. Replacing the stock home took away the place where Android TV shows them. A chip in the top bar now counts them without saying what they are, and opens a panel that lists them, newest first. OK on one shows it in full with a row for each thing to do: open it, press its own buttons, dismiss it, or hide everything from its app. Settings, Notifications turns the whole thing off, which stops Lounge reading them at all, and lists the apps you have hidden. Lounge holds them in memory only: they are never stored, never put in a backup and never sent to the phone. A TV that gave notification access before this release gave it for Now playing alone, so there they stay off until you turn them on in Settings, and a toast says so once. A new setup has them on.
Streams that need headers, and streams that are sound. A plugin's play action can now carry headers, such as a user agent, a referrer or a token, and say that a stream is audio. Headers go to the player app, and whether it sends them is the player's choice. Sound is offered to audio players first and to a video player where there is none. Radio, Podcasts and Audiobookshelf mark what they play as audio. IPTV reads headers from #EXTVLCOPT lines and from a | tail on an address, and treats radio="true" channels as audio.
A backup that carries how the TV looks. The theme, the background, the screensaver style, sounds, Lite mode, reduced motion, phone apps, the All apps order and the notifications settings now go into a backup and come back on a restore. What belongs to one TV stays out. A backup made before this restores as it did.
The phone is told when nothing opened. With another app in front, Android lets Lounge open things only as the TV's home screen. Where it is not, the phone used to be told an item had opened when nothing had. It is now told why, and asked to open Lounge on the TV first.
Plugins that wait on each other less. Presses have a thread of their own, so a press no longer waits behind a search, and two plugins refresh at a time, so one server that is off no longer holds up every other plugin.
What's lighter
Plugins let go of their memory. Each plugin has its own interpreter engine and is dropped two minutes after its last call. The first run after an update used to hold all 26 built-in modules, about 11 MB, whether or not they were on, and an updated plugin left its old code behind for the life of the process.
TV listings. Lounge reads only the TV provider tables that changed, and coming home with nothing changed reads nothing. The schedule is one query for every channel. The graph holds the same listings in about a third less memory, and nothing is written to the database when a refresh brings the same rows.
A large IPTV guide takes 10 % less work to read, and 23 % less when none of its channels are in the playlist.
What's fixed
Updates and a sleeping TV. A sleeping TV has no network, and the hourly retry recorded a failed check each time, so the Updates sheet could say the check had failed for up to an hour after waking. Lounge now waits for a network, gives one that has just come up a moment, and tries again as soon as there is one. A download cut off by the network going no longer counts against a release.
Phone apps in All apps took effect only at the next restart or app install. Switching it now reads the app list again.
A full top bar could squeeze the clock. The playing title now gives way instead.
Plugin and artwork fetches said they came from Lounge 0.1. They now say the version that is running.
Full Changelog: v0.8.0...v0.9.0