mirror of
https://github.com/Rafostar/clapper.git
synced 2025-08-30 16:02:00 +02:00
Add some YouTube related preferences
This commit is contained in:
16
src/prefs.js
16
src/prefs.js
@@ -132,6 +132,22 @@ class ClapperNetworkPage extends PrefsBase.Grid
|
||||
}
|
||||
});
|
||||
|
||||
var YouTubePage = GObject.registerClass(
|
||||
class ClapperYouTubePage extends PrefsBase.Grid
|
||||
{
|
||||
_init()
|
||||
{
|
||||
super._init();
|
||||
|
||||
this.addTitle('YouTube');
|
||||
this.addCheckButton('Adaptive streaming', 'yt-adaptive-enabled');
|
||||
this.addComboBoxText('Max quality', [
|
||||
['normal', "Normal"],
|
||||
['hfr', "HFR"],
|
||||
], 'yt-quality-type');
|
||||
}
|
||||
});
|
||||
|
||||
var GStreamerPage = GObject.registerClass(
|
||||
class ClapperGStreamerPage extends PrefsBase.Grid
|
||||
{
|
||||
|
Reference in New Issue
Block a user