Change indentation of XML and JSON files

This commit is contained in:
Odd Stråbø 2024-06-10 14:36:12 +00:00
parent 2753531bc5
commit 7c0e986bd2
4 changed files with 106 additions and 82 deletions

View file

@ -1,42 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<addon id="plugin.video.jellyfin" <addon id="plugin.video.jellyfin"
name="Jellyfin" name="Jellyfin"
version="" version=""
provider-name="Jellyfin Contributors, angelblue05"> provider-name="Jellyfin Contributors, angelblue05">
<requires> <requires>
</requires> </requires>
<extension point="xbmc.python.pluginsource" <extension point="xbmc.python.pluginsource"
library="default.py"> library="default.py">
<provides>video audio image</provides> <provides>video audio image</provides>
</extension> </extension>
<extension point="xbmc.service" library="service.py" start="login"> <extension point="xbmc.service" library="service.py" start="login">
</extension> </extension>
<extension point="kodi.context.item"> <extension point="kodi.context.item">
<menu id="kodi.core.main"> <menu id="kodi.core.main">
<item library="context.py"> <item library="context.py">
<label>30401</label> <label>30401</label>
<visible>[!String.IsEmpty(ListItem.DBID) + !String.IsEqual(ListItem.DBID,-1) | !String.IsEmpty(ListItem.Property(jellyfinid))] + !String.IsEmpty(Window(10000).Property(jellyfin_context))</visible> <visible>[!String.IsEmpty(ListItem.DBID) + !String.IsEqual(ListItem.DBID,-1) |
</item> !String.IsEmpty(ListItem.Property(jellyfinid))] +
<item library="context_play.py"> !String.IsEmpty(Window(10000).Property(jellyfin_context))</visible>
<label>30402</label> </item>
<visible>[[!String.IsEmpty(ListItem.DBID) + !String.IsEqual(ListItem.DBID,-1) | !String.IsEmpty(ListItem.Property(jellyfinid))] + [String.IsEqual(ListItem.DBTYPE,movie) | String.IsEqual(ListItem.DBTYPE,episode)]] + !String.IsEmpty(Window(10000).Property(jellyfin_context_transcode))</visible> <item library="context_play.py">
</item> <label>30402</label>
</menu> <visible>[[!String.IsEmpty(ListItem.DBID) + !String.IsEqual(ListItem.DBID,-1) |
</extension> !String.IsEmpty(ListItem.Property(jellyfinid))] + [String.IsEqual(ListItem.DBTYPE,movie) |
<extension point="xbmc.addon.metadata"> String.IsEqual(ListItem.DBTYPE,episode)]] +
<platform>all</platform> !String.IsEmpty(Window(10000).Property(jellyfin_context_transcode))</visible>
<language>en</language> </item>
<license>GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007</license> </menu>
<forum>https://forum.jellyfin.org</forum> </extension>
<website>https://jellyfin.org/</website> <extension point="xbmc.addon.metadata">
<source>https://github.com/jellyfin/jellyfin-kodi</source> <platform>all</platform>
<summary lang="en"></summary> <language>en</language>
<description lang="en">Welcome to Jellyfin for Kodi!&#10;A whole new way to manage and view your media library. The Jellyfin addon for Kodi combines the best of Kodi - ultra smooth navigation, beautiful UIs and playback of any file under the sun, and Jellyfin - the most powerful fully open source multi-client media metadata indexer and server.&#10;&#10;Jellyfin for Kodi is the absolute best way to enjoy the incredible Kodi playback engine combined with the power of Jellyfin's centralized database. Features:&#10;* Direct integration with the Kodi library for native Kodi speed&#10;* Instant synchronization with the Jellyfin server&#10;* Full support for Movie, TV and Music collections&#10;* Jellyfin Server direct stream and transcoding support - use Kodi when you are away from home!</description> <license>GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007</license>
<news> <forum>https://forum.jellyfin.org</forum>
</news> <website>https://jellyfin.org/</website>
<assets> <source>https://github.com/jellyfin/jellyfin-kodi</source>
<icon>resources/icon.png</icon> <summary lang="en"></summary>
<fanart>resources/fanart.png</fanart> <description lang="en">Welcome to Jellyfin for Kodi!&#10;A whole new way to manage and view your
</assets> media library. The Jellyfin addon for Kodi combines the best of Kodi - ultra smooth
</extension> navigation, beautiful UIs and playback of any file under the sun, and Jellyfin - the most
powerful fully open source multi-client media metadata indexer and server.&#10;&#10;Jellyfin
for Kodi is the absolute best way to enjoy the incredible Kodi playback engine combined with
the power of Jellyfin's centralized database. Features:&#10;* Direct integration with the Kodi
library for native Kodi speed&#10;* Instant synchronization with the Jellyfin server&#10;*
Full support for Movie, TV and Music collections&#10;* Jellyfin Server direct stream and
transcoding support - use Kodi when you are away from home!</description>
<news>
</news>
<assets>
<icon>resources/icon.png</icon>
<fanart>resources/fanart.png</fanart>
</assets>
</extension>
</addon> </addon>

59
.github/renovate.json vendored
View file

@ -1,26 +1,37 @@
{ {
"extends": [ "extends": [
"config:base", "config:base",
":dependencyDashboard", ":dependencyDashboard",
":timezone(Etc/UTC)", ":timezone(Etc/UTC)",
":preserveSemverRanges" ":preserveSemverRanges"
], ],
"internalChecksFilter": "strict", "internalChecksFilter": "strict",
"rebaseWhen": "conflicted", "rebaseWhen": "conflicted",
"packageRules": [ "packageRules": [
{ {
"description": "Add the ci and github-actions GitHub label to GitHub Action bump PRs", "description": "Add the ci and github-actions GitHub label to GitHub Action bump PRs",
"matchManagers": ["github-actions"], "matchManagers": [
"labels": ["ci", "github-actions"] "github-actions"
}, ],
{ "labels": [
"description": "Add the ci and github-actions GitHub label to GitHub Action bump PRs", "ci",
"matchManagers": ["pip_requirements"], "github-actions"
"labels": ["pip", "dependencies"] ]
} },
{
], "description": "Add the ci and github-actions GitHub label to GitHub Action bump PRs",
"pip_requirements": { "matchManagers": [
"fileMatch": ["requirements(-[a-z0-9]+)?\\.txt$"] "pip_requirements"
} ],
"labels": [
"pip",
"dependencies"
]
}
],
"pip_requirements": {
"fileMatch": [
"requirements(-[a-z0-9]+)?\\.txt$"
]
}
} }

View file

@ -1,6 +1,6 @@
{ {
"recommendations": [ "recommendations": [
"ms-vscode-remote.remote-containers", "ms-vscode-remote.remote-containers",
"ms-python.black-formatter" "ms-python.black-formatter"
] ]
} }

28
.vscode/settings.json vendored
View file

@ -1,16 +1,16 @@
{ {
"editor.formatOnSave": true, "editor.formatOnSave": true,
"python.formatting.provider": "black", "python.formatting.provider": "black",
"python.linting.enabled": true, "python.linting.enabled": true,
"python.linting.flake8Enabled": true, "python.linting.flake8Enabled": true,
"python.linting.mypyEnabled": true, "python.linting.mypyEnabled": true,
"python.testing.pytestEnabled": true, "python.testing.pytestEnabled": true,
"python.analysis.diagnosticMode": "workspace", "python.analysis.diagnosticMode": "workspace",
"files.associations": { "files.associations": {
"requirements-*.txt": "pip-requirements" "requirements-*.txt": "pip-requirements"
}, },
"sonarlint.connectedMode.project": { "sonarlint.connectedMode.project": {
"connectionId": "jellyfin", "connectionId": "jellyfin",
"projectKey": "jellyfin_jellyfin-kodi" "projectKey": "jellyfin_jellyfin-kodi"
}, },
} }