2017-01-12, 17:02
(2017-01-08, 16:46)dargonswim Wrote: Good afternoon, I have libreelec 7.0.2 on a c2 odroid. Someone helps me to install chromium since I have flix2kodi and does all the connection to netflix but since I do not have chrome it does not do anything to me
I needed to make a symlink from .config/google-chrome to .config/chromium to get flix2kodi find the cookie database.
Code:
ln -s ~/.config/chromium ~/.config/google-chrome
I think this is a bug in chrome_cookie.py:
Code:
def connect():
db_path = expanduser("~")
if generic_utility.windows():
db_path += '\\AppData\\Local\\Google\\Chrome\\User Data\\Default\\Cookies'
elif generic_utility.darwin():
db_path += "/Library/Application Support/Google/Chrome/Default/Cookies"
else:
chrome_channels = [ '', '-beta', '-unstable' ]
for channel in chrome_channels:
db_path_tmp = "%s/.config/google-chrome%s/Default/Cookies" % (db_path, channel)
if os.path.isfile(db_path_tmp):
db_path = db_path_tmp
break
else:
db_path = '/storage/.kodi/userdata/addon_data/browser.chromium/profile/Default/Cookies'
if not os.path.isfile(db_path):
raise ValueError('Cannot find cookie-file in: '+db_path)
Also, make sure to run chromium at least once before trying to run flix2kodi. Otherwise the cookie database won't exist yet.