-
-
Notifications
You must be signed in to change notification settings - Fork 114
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #878 from oddstr13/pr-editorconfig-1
Editorconfig pre-commit and indentation adjustment
- Loading branch information
Showing
11 changed files
with
131 additions
and
107 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> | ||
<addon id="plugin.video.jellyfin" | ||
name="Jellyfin" | ||
version="" | ||
provider-name="Jellyfin Contributors, angelblue05"> | ||
<requires> | ||
</requires> | ||
<extension point="xbmc.python.pluginsource" | ||
library="default.py"> | ||
<provides>video audio image</provides> | ||
</extension> | ||
<extension point="xbmc.service" library="service.py" start="login"> | ||
</extension> | ||
<extension point="kodi.context.item"> | ||
<menu id="kodi.core.main"> | ||
<item library="context.py"> | ||
<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> | ||
</item> | ||
<item library="context_play.py"> | ||
<label>30402</label> | ||
<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> | ||
</menu> | ||
</extension> | ||
<extension point="xbmc.addon.metadata"> | ||
<platform>all</platform> | ||
<language>en</language> | ||
<license>GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007</license> | ||
<forum>https://forum.jellyfin.org</forum> | ||
<website>https://jellyfin.org/</website> | ||
<source>https://github.com/jellyfin/jellyfin-kodi</source> | ||
<summary lang="en"></summary> | ||
<description lang="en">Welcome to Jellyfin for Kodi! 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. 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: * Direct integration with the Kodi library for native Kodi speed * Instant synchronization with the Jellyfin server * Full support for Movie, TV and Music collections * 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 id="plugin.video.jellyfin" | ||
name="Jellyfin" | ||
version="" | ||
provider-name="Jellyfin Contributors, angelblue05"> | ||
<requires> | ||
</requires> | ||
<extension point="xbmc.python.pluginsource" | ||
library="default.py"> | ||
<provides>video audio image</provides> | ||
</extension> | ||
<extension point="xbmc.service" library="service.py" start="login"> | ||
</extension> | ||
<extension point="kodi.context.item"> | ||
<menu id="kodi.core.main"> | ||
<item library="context.py"> | ||
<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> | ||
</item> | ||
<item library="context_play.py"> | ||
<label>30402</label> | ||
<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> | ||
</menu> | ||
</extension> | ||
<extension point="xbmc.addon.metadata"> | ||
<platform>all</platform> | ||
<language>en</language> | ||
<license>GNU GENERAL PUBLIC LICENSE. Version 3, 29 June 2007</license> | ||
<forum>https://forum.jellyfin.org</forum> | ||
<website>https://jellyfin.org/</website> | ||
<source>https://github.com/jellyfin/jellyfin-kodi</source> | ||
<summary lang="en"></summary> | ||
<description lang="en">Welcome to Jellyfin for Kodi! 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. 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: * Direct integration with the Kodi | ||
library for native Kodi speed * Instant synchronization with the Jellyfin server * | ||
Full support for Movie, TV and Music collections * 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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,6 @@ | ||
# Tool: black | ||
77637622125a187c5b9cbe72b78c8bd3b26f754a | ||
# Fix editorconfig lints | ||
be8333a80c2650c75444281a9b720da438b2b6d0 | ||
# Change indentation of XML and JSON files | ||
7c0e986bd283c764cc16f0c756a03a04e4073ad0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,37 @@ | ||
{ | ||
"extends": [ | ||
"config:base", | ||
":dependencyDashboard", | ||
":timezone(Etc/UTC)", | ||
":preserveSemverRanges" | ||
], | ||
"internalChecksFilter": "strict", | ||
"rebaseWhen": "conflicted", | ||
"packageRules": [ | ||
{ | ||
"description": "Add the ci and github-actions GitHub label to GitHub Action bump PRs", | ||
"matchManagers": ["github-actions"], | ||
"labels": ["ci", "github-actions"] | ||
}, | ||
{ | ||
"description": "Add the ci and github-actions GitHub label to GitHub Action bump PRs", | ||
"matchManagers": ["pip_requirements"], | ||
"labels": ["pip", "dependencies"] | ||
} | ||
|
||
], | ||
"pip_requirements": { | ||
"fileMatch": ["requirements(-[a-z0-9]+)?\\.txt$"] | ||
} | ||
} | ||
"extends": [ | ||
"config:base", | ||
":dependencyDashboard", | ||
":timezone(Etc/UTC)", | ||
":preserveSemverRanges" | ||
], | ||
"internalChecksFilter": "strict", | ||
"rebaseWhen": "conflicted", | ||
"packageRules": [ | ||
{ | ||
"description": "Add the ci and github-actions GitHub label to GitHub Action bump PRs", | ||
"matchManagers": [ | ||
"github-actions" | ||
], | ||
"labels": [ | ||
"ci", | ||
"github-actions" | ||
] | ||
}, | ||
{ | ||
"description": "Add the ci and github-actions GitHub label to GitHub Action bump PRs", | ||
"matchManagers": [ | ||
"pip_requirements" | ||
], | ||
"labels": [ | ||
"pip", | ||
"dependencies" | ||
] | ||
} | ||
], | ||
"pip_requirements": { | ||
"fileMatch": [ | ||
"requirements(-[a-z0-9]+)?\\.txt$" | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"recommendations": [ | ||
"ms-vscode-remote.remote-containers", | ||
"ms-python.black-formatter" | ||
] | ||
"recommendations": [ | ||
"ms-vscode-remote.remote-containers", | ||
"ms-python.black-formatter" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,16 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
"python.formatting.provider": "black", | ||
"python.linting.enabled": true, | ||
"python.linting.flake8Enabled": true, | ||
"python.linting.mypyEnabled": true, | ||
"python.testing.pytestEnabled": true, | ||
"python.analysis.diagnosticMode": "workspace", | ||
"files.associations": { | ||
"requirements-*.txt": "pip-requirements" | ||
}, | ||
"sonarlint.connectedMode.project": { | ||
"connectionId": "jellyfin", | ||
"projectKey": "jellyfin_jellyfin-kodi" | ||
}, | ||
"editor.formatOnSave": true, | ||
"python.formatting.provider": "black", | ||
"python.linting.enabled": true, | ||
"python.linting.flake8Enabled": true, | ||
"python.linting.mypyEnabled": true, | ||
"python.testing.pytestEnabled": true, | ||
"python.analysis.diagnosticMode": "workspace", | ||
"files.associations": { | ||
"requirements-*.txt": "pip-requirements" | ||
}, | ||
"sonarlint.connectedMode.project": { | ||
"connectionId": "jellyfin", | ||
"projectKey": "jellyfin_jellyfin-kodi" | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters