Remove "Use dev video player" option from the settings
This commit is contained in:
1 parent
501ee5178b
commit
626935d302
12 files changed
+18
-62
No files matched your search
@@ -11,6 +11,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
- Fix Invidious tests - `Me at the zoo` video was getting blocked
|
||||
|
||||
### Removed
|
||||
|
||||
- "Use dev video player" option from the settings
|
||||
|
||||
## [0.40.7] - 2025-06-21
|
||||
|
||||
### Fixed
|
||||
|
||||
@@ -154,6 +154,14 @@ function MigrateExistingPreferences(userPrefs as object) as boolean
|
||||
isDirty = true
|
||||
end if
|
||||
|
||||
if userPrefs.__version = 4
|
||||
if IsString(userPrefs["dev.dev_video_player"])
|
||||
userPrefs.Delete("dev.dev_video_player")
|
||||
end if
|
||||
userPrefs.__version = 5
|
||||
isDirty = true
|
||||
end if
|
||||
|
||||
' TODO:P2 handle case where saved preferences version is higher than current version (e.g. user downgraded)
|
||||
|
||||
#if DEBUG
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
user prefs saved need to be migrated. If the version is less than the
|
||||
current version, a migration is needed.
|
||||
-->
|
||||
<field id="__version" type="integer" value="4" />
|
||||
<field id="__version" type="integer" value="5" />
|
||||
<field id="prefsModel" type="array" />
|
||||
<field id="preferenceFields" type="assocarray" />
|
||||
<function name="GetUserPreferences" />
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
#const USE_DEV_PLAYER = false
|
||||
|
||||
import "pkg:/components/Services/LoungeService/LoungeMessages.bs"
|
||||
import "pkg:/components/VideoFeed/FeedLoadState.bs"
|
||||
import "pkg:/components/VideoQueue/Notifications/VideoQueueNotificationUtils.bs"
|
||||
@@ -356,12 +358,11 @@ function OnHasNext()
|
||||
end function
|
||||
|
||||
function CreateVideoPlayer() as object
|
||||
useDevPlayer = m.top.preferences["dev.dev_video_player"]
|
||||
if useDevPlayer
|
||||
#if USE_DEV_PLAYER
|
||||
playerComponent = "VideoPlayerDev"
|
||||
else
|
||||
#else
|
||||
playerComponent = "VideoPlayer"
|
||||
end if
|
||||
#end if
|
||||
|
||||
container = m.top.videoContainer
|
||||
videoPlayer = container.createChild(playerComponent)
|
||||
|
||||
@@ -276,13 +276,6 @@
|
||||
key: "dev",
|
||||
description: "Developer preferences",
|
||||
children: [
|
||||
{
|
||||
displayText: "Use dev video player",
|
||||
key: "dev.dev_video_player",
|
||||
description: "Enable the dev video player. This is an unfinished video player for testing purposes.",
|
||||
type: "boolean",
|
||||
defaultValue: false,
|
||||
},
|
||||
{
|
||||
displayText: "Playlet Library version",
|
||||
key: "dev.playlet_lib_version",
|
||||
|
||||
@@ -180,10 +180,6 @@
|
||||
<source>Enable/disable and reorder sections on the home screen</source>
|
||||
<translation>Abschnitte auf der Startseite aktivieren/deaktivieren und verschieben</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable the dev video player. This is an unfinished video player for testing purposes.</source>
|
||||
<translation>Den Entwickler-Videoplayer aktivieren. Dieser ist ein unfertiger Videoplayer zum Testen.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The version of Playlet Lib to use. These correspond to tagged releases on Github. Releases that do not have a playlet-lib.zip file are disabled.</source>
|
||||
<translation>Die Version der Playlet Library, die genutzt werden soll. Die Versionen entsprechen den markierten Releases auf GitHub. Releases, die die Datei playlet-lib.zip nicht enthalten, sind deaktiviert.</translation>
|
||||
@@ -1084,10 +1080,6 @@
|
||||
<source>Developer preferences</source>
|
||||
<translation>Entwicklereinstellungen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use dev video player</source>
|
||||
<translation>Entwickler-Videoplayer nutzen</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Playlet Library version</source>
|
||||
<translation>Playlet Library Version</translation>
|
||||
|
||||
@@ -952,14 +952,6 @@
|
||||
<source>Developer preferences</source>
|
||||
<translation>Developer preferences</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use dev video player</source>
|
||||
<translation>Use dev video player</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable the dev video player. This is an unfinished video player for testing purposes.</source>
|
||||
<translation>Enable the dev video player. This is an unfinished video player for testing purposes.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Playlet Library version</source>
|
||||
<translation>Playlet Library version</translation>
|
||||
|
||||
@@ -1052,14 +1052,6 @@
|
||||
<source>Clear search history from Playlet. This affects the search suggestions. This does not affect the watch history on Invidious.</source>
|
||||
<translation>Borrar el historial de búsqueda de Playlet. Esto afectará a las sugerencias. Esto no afectará al historial de reproducción de Invidious.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use dev video player</source>
|
||||
<translation>Utilizar reproductor de video de desarrollo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable the dev video player. This is an unfinished video player for testing purposes.</source>
|
||||
<translation>Activar el reproductor de video de desarrollo. Este es un reproductor de video no completado para realizar pruebas.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Error closing video</source>
|
||||
<translation>Error al cerrar el vídeo</translation>
|
||||
|
||||
@@ -1092,14 +1092,6 @@
|
||||
<source>Developer preferences</source>
|
||||
<translation>Preferencias de desarrollador</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use dev video player</source>
|
||||
<translation>Usar reproductor de video de desarrollador</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable the dev video player. This is an unfinished video player for testing purposes.</source>
|
||||
<translation>Habilita el reproductor de video para desarrollador. Este es un reproductor de video sin terminar con el fin de probar nuevas funciones.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Playlet Library version</source>
|
||||
<translation>Versión de Playlet Library</translation>
|
||||
|
||||
@@ -836,14 +836,6 @@
|
||||
<source>Developer preferences</source>
|
||||
<translation>Préférences du développeur</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use dev video player</source>
|
||||
<translation>Utiliser le lecteur vidéo dev</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable the dev video player. This is an unfinished video player for testing purposes.</source>
|
||||
<translation>Activer le lecteur vidéo de dev. Il s'agit d'un lecteur vidéo inachevé à des fins de test.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Playlet Library version</source>
|
||||
<translation>Version de Playlet Library</translation>
|
||||
|
||||
@@ -500,10 +500,6 @@
|
||||
<source>Developer</source>
|
||||
<translation>Desenvolvedor</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Use dev video player</source>
|
||||
<translation>Usar o dev player de vídeo</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Developer preferences</source>
|
||||
<translation>Preferências do desenvolvedor</translation>
|
||||
@@ -720,10 +716,6 @@
|
||||
<source>Show a notification when a video is added to the queue</source>
|
||||
<translation>Mostrar uma notificação quando um vídeo é adicionado à fila</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>Enable the dev video player. This is an unfinished video player for testing purposes.</source>
|
||||
<translation>Ativar o player de vídeo dev. Este é um player de vídeo inacabado para fins de teste.</translation>
|
||||
</message>
|
||||
<message>
|
||||
<source>The version of Playlet Lib to use. These correspond to tagged releases on Github. Releases that do not have a playlet-lib.zip file are disabled.</source>
|
||||
<translation>A versão do Playlet Lib para usar. Estes correspondem a lançamentos marcados no Github. As versões que não têm um arquivo playlet-lib.zip estão desativadas.</translation>
|
||||
|
||||
@@ -305,8 +305,6 @@ namespace Locale
|
||||
|
||||
Developer = "Developer"
|
||||
DeveloperPreferences = "Developer preferences"
|
||||
UseDevVideoPlayer = "Use dev video player"
|
||||
UseDevVideoPlayerDescription = "Enable the dev video player. This is an unfinished video player for testing purposes."
|
||||
PlayletLibraryVersion = "Playlet Library version"
|
||||
PlayletLibraryVersionDescription = "The version of Playlet Lib to use. These correspond to tagged releases on Github. Releases that do not have a playlet-lib.zip file are disabled."
|
||||
ClearCache = "Clear cache"
|
||||
|
||||
Reference in new issue
Block a user