mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2026-04-27 14:00:34 +00:00
Tool: black
This commit is contained in:
parent
aee80e5dd5
commit
091f409f94
5 changed files with 4 additions and 12 deletions
1
.github/tools/reformat_changelog.py
vendored
1
.github/tools/reformat_changelog.py
vendored
|
|
@ -7,7 +7,6 @@ from typing import Dict, List, Pattern, Union, TypedDict
|
|||
|
||||
from emoji.core import emojize, demojize, replace_emoji
|
||||
|
||||
|
||||
ITEM_FORMAT = "+ {title} (#{issue}) @{username}"
|
||||
OUTPUT_EMOJI = False
|
||||
|
||||
|
|
|
|||
|
|
@ -184,16 +184,12 @@ def jellyfin_tables(cursor):
|
|||
"""Create the tables for the jellyfin database.
|
||||
jellyfin, view, version
|
||||
"""
|
||||
cursor.execute(
|
||||
"""CREATE TABLE IF NOT EXISTS jellyfin(
|
||||
cursor.execute("""CREATE TABLE IF NOT EXISTS jellyfin(
|
||||
jellyfin_id TEXT UNIQUE, media_folder TEXT, jellyfin_type TEXT, media_type TEXT,
|
||||
kodi_id INTEGER, kodi_fileid INTEGER, kodi_pathid INTEGER, parent_id INTEGER,
|
||||
checksum INTEGER, jellyfin_parent_id TEXT)"""
|
||||
)
|
||||
cursor.execute(
|
||||
"""CREATE TABLE IF NOT EXISTS view(
|
||||
view_id TEXT UNIQUE, view_name TEXT, media_type TEXT)"""
|
||||
)
|
||||
checksum INTEGER, jellyfin_parent_id TEXT)""")
|
||||
cursor.execute("""CREATE TABLE IF NOT EXISTS view(
|
||||
view_id TEXT UNIQUE, view_name TEXT, media_type TEXT)""")
|
||||
cursor.execute("CREATE TABLE IF NOT EXISTS version(idVersion TEXT)")
|
||||
|
||||
columns = cursor.execute("SELECT * FROM jellyfin")
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ import xbmcvfs
|
|||
from . import LazyLogger
|
||||
from .translate import translate
|
||||
|
||||
|
||||
#################################################################################################
|
||||
|
||||
LOG = LazyLogger(__name__)
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@ from ..helper.exceptions import HTTPException
|
|||
from ..helper.utils import settings
|
||||
from ..helper import LazyLogger
|
||||
|
||||
|
||||
LOG = LazyLogger(__name__)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,6 @@ from pathlib import Path
|
|||
|
||||
import pytest
|
||||
|
||||
|
||||
BASEDIR = Path(__file__).parent.parent
|
||||
TRANSLATIONS_BASE = BASEDIR / "resources" / "language"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue