Kodi Community Forum

Full Version: Can't get UNC paths to format properly.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
MePo likes to add //HTPC to all my UNC paths so I exclude the hostname/IP.

All I'm typing in is "/d:/TS" and my other clients are getting this:

Client: Open Live stream for channel uid=13
04:44:57 T:1563667208 NOTICE: AddOnLog: MediaPortal PVR Client: Channel timeshift buffer: D:\TS\live5-0.ts.tsbuffer
04:44:57 T:1563667208 NOTICE: AddOnLog: MediaPortal PVR Client: Creating a new TsReader...
04:44:57 T:1563667208 NOTICE: AddOnLog: MediaPortal PVR Client: TsReader open 'D:\TS\live5-0.ts.tsbuffer'
04:44:57 T:1563667208 NOTICE: AddOnLog: MediaPortal PVR Client: Translate path D:\TS\live5-0.ts.tsbuffer -> smb://HTPCsmb://D:/TS/live5-0.ts.tsbuffer
04:46:25 T:1563667208 ERROR: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile(), open file smb://HTPCsmb://D:/TS/live5-0.ts.tsbuffer failed.
04:46:25 T:1563667208 ERROR: AddOnLog: MediaPortal PVR Client: Failed to open file 'D:\TS\live5-0.ts.tsbuffer' as 'smb://HTPCsmb://D:/TS/live5-0.ts.tsbuffer'
04:46:25 T:1563667208 ERROR: AddOnLog: MediaPortal PVR Client: Cannot open timeshift buffer D:\TS\live5-0.ts.tsbuffer
04:46:25 T:1563667208 NOTICE: AddOnLog: MediaPortal PVR Client: TsReader: closing file
04:46:25 T:1563667208 NOTICE: AddOnLog: MediaPortal PVR Client: CloseLiveStream: True

How am I supposed to format the UNC path so remote PVRs know the path is back on the HTPC host?

Also tried ffmpeg and I get a whole different issue. No idea what's going on anymore.

05:18:57 T:1567433784 NOTICE: Thread PVRGUIInfo start, auto delete: false
05:18:57 T:1567491808 NOTICE: Thread EPGUpdater start, auto delete: false
05:18:57 T:1567443392 NOTICE: virtual void EPG::CEpgContainer::Start() - EPG thread started
05:19:07 T:1525304288 ERROR: CGUIEPGGridContainer - void EPG::CGUIEPGGridContainer::UpdateItems() - invalid start and end time set
05:19:12 T:1525304288 NOTICE: DVDPlayer: Opening: pvr://channels/tv/All channels/32.pvr
05:19:12 T:1525304288 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
05:19:12 T:1651658104 NOTICE: Thread DVDPlayer start, auto delete: false
05:19:12 T:1651658104 NOTICE: Creating InputStream
05:19:12 T:1651658104 NOTICE: AddOnLog: MediaPortal PVR Client: Open Live stream for channel uid=1
05:19:15 T:1651658104 NOTICE: AddOnLog: MediaPortal PVR Client: Channel stream URL: rtsp://htpc/stream6.0
05:19:15 T:1651658104 NOTICE: AddOnLog: MediaPortal PVR Client: OpenLiveStream: success for channel id 1 (KVUE-DT) on card 6
05:19:15 T:1651658104 NOTICE: AddOnLog: MediaPortal PVR Client: GetLiveStreamURL for uid=1 is 'rtsp://htpc/stream6.0'
05:19:15 T:1651658104 NOTICE: Creating Demuxer
05:19:18 T:1651658104 ERROR: bool CDVDPlayer::OpenDemuxStream() - Error creating demuxer
05:19:18 T:1651658104 NOTICE: CDVDPlayer::OnExit()
05:19:18 T:1651658104 NOTICE: AddOnLog: MediaPortal PVR Client: CloseLiveStream: True
05:19:18 T:1525304288 NOTICE: CDVDPlayer::CloseFile()
05:19:18 T:1525304288 NOTICE: DVDPlayer: waiting for threads to exit
05:19:18 T:1525304288 NOTICE: DVDPlayer: finished waiting
05:19:18 T:1525304288 NOTICE: CDVDPlayer::CloseFile()
05:19:18 T:1525304288 NOTICE: DVDPlayer: waiting for threads to exit
05:19:18 T:1525304288 NOTICE: DVDPlayer: finished waiting
05:19:28 T:1567264856 NOTICE: Thread BackgroundLoader start, auto delete: false
05:19:32 T:1648924512 NOTICE: Previous line repeats 1 times.
05:19:32 T:1648924512 NOTICE: Thread LanguageInvoker start, auto delete: false
Where are you typing /d:/TS ? I don't understand what you did without more information.

The correct way to get this working is to:
1) share your timeshift and recordings folders and make sure that the user that will run XBMC/Kodi can access these shares
2) Test in XBMC/Kodi that you can play the shared recordings by first adding them as a network source to the video list.
If that works, the pvr addon should be able to play Live-TV too.

The cause of the rtsp problem is that XBMC/Kodi's ffmpeg library cannot resolve the name htpc to your server's IP address, so make sure that you have enabled the "Convert hostname to IP-adress" option in the addon settings.