Kodi Community Forum
Sony Android TV 6.0.1 - External player can not open files from SMB - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Video Support (https://forum.kodi.tv/forumdisplay.php?fid=264)
+--- Thread: Sony Android TV 6.0.1 - External player can not open files from SMB (/showthread.php?tid=310358)



Sony Android TV 6.0.1 - External player can not open files from SMB - mpiet - 2017-03-24

I have my files on a Qnap NAS (SMB share) and i want kodi to play video files over the sony video player.

My settings:

Code:
<playercorefactory>
        <players>
                <player name="Video" type="ExternalPlayer" audio="false" video="true">
                        <filename>com.sony.dtv.osat.video</filename>
                        <hidexbmc>true</hidexbmc>
                        <playcountminimumtime>120</playcountminimumtime>
                </player>
        </players>
        <rules action="prepend">
                <rule video="true" player="Video"/>
        </rules>
</playercorefactory>

I think the code is ok, because i can play the same files over USB, but not over network. Kodi tries to open the video file, shows for a second a black screen and then shows the file window.
Using EsFileExplorer or other file manager to open files on network and playing over sony player works always.

Can someone give me a hint how to get it working? I will add log later.


RE: Sony Android TV 6.0.1 - External player can not open files from SMB - CiNcH - 2017-03-24

You are simply delegating all playback to the Video app, including the reading of the media file, which the Video app does not support over SMB.


RE: Sony Android TV 6.0.1 - External player can not open files from SMB - mpiet - 2017-03-24

OK, how to put a exception to keep SMB reading in Kodi?


RE: Sony Android TV 6.0.1 - External player can not open files from SMB - mpiet - 2017-03-24

It would be also great, when kodi would mark watched files and to continune playback when a video was not watched to the end.


RE: Sony Android TV 6.0.1 - External player can not open files from SMB - CiNcH - 2017-03-24

I assume Kodi has hardly any control over external players, so it can't tell it where to resume but just to play that file. Using an external player will never be a good solution...


RE: Sony Android TV 6.0.1 - External player can not open files from SMB - mpiet - 2017-03-24

I noticed that when the sony player plays a video from SMB (opened via file browser) there is not file name, just "Streaming is running"


RE: Sony Android TV 6.0.1 - External player can not open files from SMB - mpiet - 2017-03-28

Any idea how to pass the smb files to the sony player?


RE: Sony Android TV 6.0.1 - External player can not open files from SMB - mpiet - 2017-03-29

Here is a debug-log: Link


RE: Sony Android TV 6.0.1 - External player can not open files from SMB - PatK - 2017-03-31

The Android version of VLC supports networked sources, but I don't see how this is a Kodi issue once you've delegated the job of playing a video with an external player.


RE: Sony Android TV 6.0.1 - External player can not open files from SMB - mpiet - 2017-03-31

Yes i know, but VLC have some stuttering issue on my TV. Now i am using Kodi v15.2 for video playback.