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: ensure real filename from videodb in playlists #12311
Conversation
Thanks @koying, this has fixed the subtitle download issue: https://forum.kodi.tv/showthread.php?tid=298462&pid=2606809#pid2606809 Unfortunately it doesn't appear to have had any effect on the watched statuses: https://forum.kodi.tv/showthread.php?tid=298461&pid=2605996#pid2605996 |
Ok, thanks for the feedback |
@koying, is there any info I can gather or tests I can run, to help with the 'watched statuses' issue @MilhouseVH refers to above? |
8c19f7e
to
e531f34
Compare
@MilhouseVH Would you mind trying the current version, please |
@mlburgett can you try build #0629b which includes the latest commit from @koying. Note this PR continues to be be included in regular test builds, so this updated PR with the new commit will be in tonight's |
@MilhouseVH, I don't see any change using #0629b, all my tv->recordings continue to show 'watched' status. Partially watched recordings do still show correct status (as they have since this first showed up) |
I suppose the new "DynPath" thingy could/should be use here instead of altering the actual "path" that basically acts like the file ID? @FernetMenta ? |
@da-anda nope, DynPath only get evaluated by inputstream at a time when the file gets opened for playback. |
@FernetMenta but if you create a new file item you will loose the identity
of the item. Shouldn't it be a goal to always keep the identity regardless
where the file is processed?
Am 20.08.2017 11:54 vorm. schrieb "Rainer Hochecker" <
notifications@github.com>:
… @da-anda <https://github.com/da-anda> nope, DynPath only get evaluated by
inputstream at a time when the file gets opened for playback.
but yes, id (path) should never be changed on a fileitem. better construct
a new item insteead of chaning an existing one.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#12311 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/ABGwUamJBcgZSwmtvlDgZsKFPQ4Qoqyzks5saAJYgaJpZM4N84_U>
.
|
@da-anda what do you call the "identity of the item"? |
@FernetMenta well, the VFS path is basically the identiy of the fileItem, isn't it? As soon as you change the "path" property to something else you a) change the file type (your own words) and b) some things that rely on the VFS path won't work anymore (like some context menu stuff IIRC). Therefor IMO we neither should pass around stub fileItems (like we f.e. do for VideoInfoDialog which makes it impossible to implement a context menu there atm) nor alter the path. |
@da-anda right. IMO we should make those methods private like the comment in the code suggests: |
i dont know if it was reported but whitout this patch if you disable play next video automaticly subtitles works well and downloading subtitles works, with this patch applied if you enable play next video automaticly subtitles works but if next video is played subs remains from the first one... |
@koying: I don't know if this is ever going to be merged, but would you mind rebasing? |
ce6ed30
to
8984134
Compare
@koying this needs a rebase |
fixes issue when downloading subtitles side-by-side