Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- COMMENTS FOR
- FIRST FILE TO MODIFY:
- Line 6 of emby.py needs to be like this to be compatible with jellyfin 10.4.3 (otherwise the post request to scan won't be received correctly by jellyfin):
- embyApiBaseUrl = config['protocol'] + '://' + config['ip'] + ':' + config['port'] + '/jellyfin/'
- SECOND FILE TO MODIFY:
- config.json has a line to enter the mountPoint but it seems to be ignored. A dirty hack to fix it would be writting the mount point on line 77 of db.py
- Change this:
- embyChange['Path'] = file.path
- with this:
- embyChange['Path'] = '/mnt/unionfs/' + file.path
- IMPORTANT BUT NO IDEA HOW TO FIX:
- If we enter any date more recent than 2019-10-22T00:00:00 in config.json then the script doesn't read added files. I tried to find the reason adding the following to line 193 of googleDriveService.py:
- print (f'change date: {changeDate}')
- It prints 2019-10-22 12:37:33.868000+00:00 as change date. I would expect the script to display current date... I guess that's the reason why it doesn't detect any files added to the teamdrive after 22nd Nov 2019...
- REMEMBER: My coding knowledge is close to zero
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement