{"action":"created","issue":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/14947","repository_url":"https://api.github.com/repos/xbmc/xbmc","labels_url":"https://api.github.com/repos/xbmc/xbmc/issues/14947/labels{/name}","comments_url":"https://api.github.com/repos/xbmc/xbmc/issues/14947/comments","events_url":"https://api.github.com/repos/xbmc/xbmc/issues/14947/events","html_url":"https://github.com/xbmc/xbmc/issues/14947","id":384185922,"node_id":"MDU6SXNzdWUzODQxODU5MjI=","number":14947,"title":"External subtitles not loaded when \"Play next video automatically\" enabled.","user":{"login":"sergiopistone","id":40037617,"node_id":"MDQ6VXNlcjQwMDM3NjE3","avatar_url":"https://avatars0.githubusercontent.com/u/40037617?v=4","gravatar_id":"","url":"https://api.github.com/users/sergiopistone","html_url":"https://github.com/sergiopistone","followers_url":"https://api.github.com/users/sergiopistone/followers","following_url":"https://api.github.com/users/sergiopistone/following{/other_user}","gists_url":"https://api.github.com/users/sergiopistone/gists{/gist_id}","starred_url":"https://api.github.com/users/sergiopistone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sergiopistone/subscriptions","organizations_url":"https://api.github.com/users/sergiopistone/orgs","repos_url":"https://api.github.com/users/sergiopistone/repos","events_url":"https://api.github.com/users/sergiopistone/events{/privacy}","received_events_url":"https://api.github.com/users/sergiopistone/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-11-26T06:04:51Z","updated_at":"2018-12-20T14:50:59Z","closed_at":null,"author_association":"NONE","body":"<!--- Please fill out this template to the best of your ability. You can always edit this issue once you have created it. -->\r\n<!--- Read the following link before you create a new problem report: https://kodi.wiki/view/HOW-TO:Submit_a_bug_report  -->\r\n## Bug report\r\n### Describe the bug\r\nHere is a clear and concise description of what the problem is:\r\n<!--- Provide a more detailed introduction to the issue itself, and why you consider it to be a bug -->\r\n<!--- A bug report that is not clear will be closed -->\r\n<!--- Put your text below this line -->\r\nI've created a media source for TV Shows pointing to a local file system folder (probably not relevant but, just in case, the information provider is set to \"Local information only\" as I use Ember Media Manager for collecting shows info).\r\nWhen playing the files through the Media Library node AND \"Play next video automatically\" is enabled for \"Episodes\", the external subtitles files are not displayed nor loaded (the list of available subtitles while playing the video is empy). The subtitle files are named appropriately though (using the same name as the video, but with a language suffix and the subtitle type extension), and they are loaded and displayed properly when the same files are played through the media source node directly (instead of \"TV Shows\", use Videos -> Files -> %Media Source Name%) or even when played through the Media Library \"TV Shows\" node but with play next episodes disabled.\r\n\r\nThe problem might be related to this other issue: https://github.com/xbmc/xbmc/issues/14841\r\n\r\nThe following forum thread mentions the problem described (and also provides a work-around to the issue): https://forum.kodi.tv/showthread.php?tid=326482\r\n\r\n## Expected Behavior\r\nHere is a clear and concise description of what was expected to happen:\r\n<!--- Tell us what should happen -->\r\n<!--- Put your text below this line -->\r\nThe external subtitles files should be loaded and displayed, in the same way they are when files are played through through the files nodes or when play next episodes automatically is disabled.\r\n\r\n## Actual Behavior\r\n<!--- Tell us what happens instead -->\r\n<!--- Put your text below this line -->\r\nAs stated above, the external subtitles files are not loaded when playing the files through the Media Library node if \"Play next video automatically\" is enabled for \"Episodes\". \r\n\r\n## Possible Fix\r\n<!--- Not obligatory, but suggest a fix or reason for the bug -->\r\n<!--- Put your text below this line -->\r\nThis seems to be related to the different way Kodi addresses the files when playing through the Media Library node vs when playing through the Files node (see attached screenshots).\r\n\r\n### To Reproduce\r\nSteps to reproduce the behavior:\r\n<!--- Provide a link to a live example, or an unambiguous set of steps to -->\r\n<!--- reproduce this bug. Include code to reproduce, if relevant -->\r\n<!--- Put your text below this line -->\r\n1. Create a TV Shows media source pointing to a local folder with shows containing external subtitle files.\r\n2. Enable \"Play next video automatically\" for Episodes by going to Settings -> Player -> Video\r\n3. Go to TV Shows and attempt to play an episode of one of the added shows. Subtitles will not be displayed, attempting to browse the available subtitles won't show them either.\r\n\r\n### Debuglog\r\n<!--- Put your text below this line -->\r\n<!--- A debuglog is always mandatory when creating an issue. Provide one! -->\r\nThe debuglog can be found here:\r\n[kodi.log](https://github.com/xbmc/xbmc/files/2614222/kodi.log)\r\n\r\n### Screenshots \r\nHere are some links or screenshots to help explain the problem:\r\n<!--- Put your text below this line -->\r\nBrowse subtitles, when playing file through TV Shows node with play next episode automatically enabled.\r\n![image](https://user-images.githubusercontent.com/40037617/48994943-717e0100-f124-11e8-9ff8-4f26691a3951.png)\r\nBrowse subtitles, when playing file through created media source node or through TV Shows node with play next episode automatically disabled.\r\n![image](https://user-images.githubusercontent.com/40037617/48994969-a25e3600-f124-11e8-82bc-90ff0b34a044.png)\r\n\r\n(Notice the URL the subtitles are being searched on)\r\n\r\n\r\n### Your Environment\r\nUsed Operating system:\r\n<!--- Include as many relevant details about the environment you experienced the bug in -->\r\n<!--- Put your text below this line. Checkboxes can easily be ticked once issue is created -->\r\n - [ ] Android\r\n - [ ] iOS\r\n - [ ] Linux\r\n - [ ] OSX\r\n - [ ] Raspberri-Pi\r\n - [x] Windows\r\n - [ ] Windows UWP\r\n\r\n - Operating system version/name: Windows 10\r\n - Kodi version: Kodi 18 (Leia) RC1\r\n\r\n<!--- End of this issue -->\r\n*note: Once the issue is made we require you to update it with new information or Kodi versions should that be required.\r\nTeam Kodi will consider your problem report however, we will not make any promises the problem will be solved.*"},"comment":{"url":"https://api.github.com/repos/xbmc/xbmc/issues/comments/449023627","html_url":"https://github.com/xbmc/xbmc/issues/14947#issuecomment-449023627","issue_url":"https://api.github.com/repos/xbmc/xbmc/issues/14947","id":449023627,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTAyMzYyNw==","user":{"login":"pkerling","id":4533697,"node_id":"MDQ6VXNlcjQ1MzM2OTc=","avatar_url":"https://avatars1.githubusercontent.com/u/4533697?v=4","gravatar_id":"","url":"https://api.github.com/users/pkerling","html_url":"https://github.com/pkerling","followers_url":"https://api.github.com/users/pkerling/followers","following_url":"https://api.github.com/users/pkerling/following{/other_user}","gists_url":"https://api.github.com/users/pkerling/gists{/gist_id}","starred_url":"https://api.github.com/users/pkerling/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pkerling/subscriptions","organizations_url":"https://api.github.com/users/pkerling/orgs","repos_url":"https://api.github.com/users/pkerling/repos","events_url":"https://api.github.com/users/pkerling/events{/privacy}","received_events_url":"https://api.github.com/users/pkerling/received_events","type":"User","site_admin":false},"created_at":"2018-12-20T14:50:59Z","updated_at":"2018-12-20T14:50:59Z","author_association":"MEMBER","body":"\"If you want this investigated I recommend to pack a minimal zip file that reliably reproduces the issue.\"\r\n\r\nI see none in the thread."}}
{"actor":{"display_login":"pkerling"}}