mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-12-13 10:33:16 +00:00
Flake8 linting
This commit is contained in:
parent
b1c9f95a86
commit
6d61a83b54
6 changed files with 7 additions and 6 deletions
|
|
@ -437,8 +437,7 @@ class Music(KodiDb):
|
|||
''' This updates: Favorite, LastPlayedDate, Playcount, PlaybackPositionTicks
|
||||
Poster with progress bar
|
||||
'''
|
||||
server_address = self.server.auth.get_server_info(self.server.auth.server_id)['address']
|
||||
API = api.API(item, server_address)
|
||||
|
||||
obj = self.objects.map(item, 'SongUserData')
|
||||
|
||||
try:
|
||||
|
|
|
|||
|
|
@ -410,7 +410,7 @@ class TVShows(KodiDb):
|
|||
raise PathValidationException("Failed to validate path. User stopped.")
|
||||
|
||||
obj['Path'] = obj['Path'].replace(obj['Filename'], "")
|
||||
|
||||
|
||||
'''check dvd directries and point it to ./VIDEO_TS/VIDEO_TS.IFO'''
|
||||
if validate_dvd_dir(obj['Path'] + obj['Filename']):
|
||||
obj['Path'] = obj['Path'] + obj['Filename'] + '/VIDEO_TS/'
|
||||
|
|
@ -422,7 +422,7 @@ class TVShows(KodiDb):
|
|||
obj['Path'] = obj['Path'] + obj['Filename'] + '/BDMV/'
|
||||
obj['Filename'] = 'index.bdmv'
|
||||
LOG.debug("Bluray directry %s", obj['Path'])
|
||||
|
||||
|
||||
else:
|
||||
obj['Path'] = "plugin://plugin.video.jellyfin/%s/" % obj['SeriesId']
|
||||
params = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue