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: ensure real filename from videodb in playlists #12311

Closed
wants to merge 1 commit into from

Conversation

koying
Copy link
Contributor

@koying koying commented Jun 16, 2017

fixes issue when downloading subtitles side-by-side

@koying koying added the WIP PR that is still being worked on label Jun 16, 2017
@MilhouseVH
Copy link
Contributor

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

@koying
Copy link
Contributor Author

koying commented Jun 21, 2017

Ok, thanks for the feedback

@mlburgett
Copy link

@koying, is there any info I can gather or tests I can run, to help with the 'watched statuses' issue @MilhouseVH refers to above?

@Rechi Rechi added the v18 Leia label Jun 29, 2017
@koying koying force-pushed the fixsubtitlesL branch 2 times, most recently from 8c19f7e to e531f34 Compare June 30, 2017 07:21
@koying
Copy link
Contributor Author

koying commented Jun 30, 2017

@MilhouseVH Would you mind trying the current version, please

@MilhouseVH
Copy link
Contributor

@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 #0630 build.

@mlburgett
Copy link

@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)

@da-anda
Copy link
Member

da-anda commented Aug 20, 2017

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 ?

@FernetMenta
Copy link
Contributor

@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.

@da-anda
Copy link
Member

da-anda commented Aug 20, 2017 via email

@FernetMenta
Copy link
Contributor

@da-anda what do you call the "identity of the item"?

@da-anda
Copy link
Member

da-anda commented Aug 21, 2017

@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.

@FernetMenta
Copy link
Contributor

@da-anda right. IMO we should make those methods private like the comment in the code suggests:
https://github.com/xbmc/xbmc/blob/master/xbmc/FileItem.cpp#L1698
Making use of SetPath is a step in the wrong direction an makes a fix harder.

@pogo1975
Copy link

pogo1975 commented Sep 2, 2017

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...

@MilhouseVH
Copy link
Contributor

@koying: I don't know if this is ever going to be merged, but would you mind rebasing?

@Rechi Rechi removed the v18 Leia label Apr 16, 2019
@jenkins4kodi jenkins4kodi added the Rebase needed PR that does not apply/merge cleanly to current base branch label May 23, 2019
@jenkins4kodi
Copy link
Contributor

@koying this needs a rebase

@koying koying closed this May 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Rebase needed PR that does not apply/merge cleanly to current base branch WIP PR that is still being worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants