In working with my SageTV addon I've been testing various network path playback options, both from the Python add-on and using XBMC's filemode.
As discussed on IRC the built-in command PlayMedia does strange things with leading \ in a path such as:
To get around this I have to inject "\\\\" before the path in order for it to work properly. To not have to do this workaround I tried using a smb: style path such as:
But if I use this style path, the built-in PlayMedia command will fail to play the file every time.
I did more testing just using XBMC's filemode for video playback. I found that files that are growing would not playback in filemode with a smb:// style path as the source, but would playback using a \\PVR\ style source path. When using smb:// I would see the following in the log:
Files that are not growing playback fine from the smb:// style path and do not show any attempt at connecting with a username and password in the log .
As discussed on IRC the built-in command PlayMedia does strange things with leading \ in a path such as:
Code:
\\PVR\Recorded TV\
To get around this I have to inject "\\\\" before the path in order for it to work properly. To not have to do this workaround I tried using a smb: style path such as:
Code:
smb://PVR/Recorded TV/
But if I use this style path, the built-in PlayMedia command will fail to play the file every time.
I did more testing just using XBMC's filemode for video playback. I found that files that are growing would not playback in filemode with a smb:// style path as the source, but would playback using a \\PVR\ style source path. When using smb:// I would see the following in the log:
Code:
12:17:23 T:5144 DEBUG: Trying to connect to \\PVR\Media with username() and password(XXXX)
12:17:23 T:5144 ERROR: CWINFileSMB: Unable to open file '\' Error '32
Files that are not growing playback fine from the smb:// style path and do not show any attempt at connecting with a username and password in the log .