Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for Nexus #2

Merged
merged 1 commit into from
May 20, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion addon.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import sys

import xbmcvfs
import urllib.request, urllib.parse, urllib.error
import urllib.parse
import xbmcgui
Expand All @@ -13,7 +14,7 @@
base_url = sys.argv[0]

__addon__ = xbmcaddon.Addon(id='plugin.program.shortlist')
__addondir__ = xbmc.translatePath( __addon__.getAddonInfo('profile') )
__addondir__ = xbmcvfs.translatePath( __addon__.getAddonInfo('profile') )
__language__ = __addon__.getLocalizedString

addon_handle = int(sys.argv[1])
Expand Down
4 changes: 2 additions & 2 deletions database.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import sys
import os
import pickle
import xbmc
import xbmcvfs
import xbmcaddon

# Database location from plugin info
__addon__ = xbmcaddon.Addon(id='plugin.program.shortlist')
__addondir__ = xbmc.translatePath( __addon__.getAddonInfo('profile') )
__addondir__ = xbmcvfs.translatePath( __addon__.getAddonInfo('profile') )

# Settings to see which database
__database__ = __addon__.getSetting('database').lower()
Expand Down