Win The Newest version of MediaPortal TVServer - TVServerXBMC plugin
#31
(2015-09-27, 23:20)Perlian Wrote: Just started today installing my raspberry pi 2 with openelec xmbc kodi with mediaportal as backend pvr. I followed all manuals but my live TV refuses to stream to my rb2. The only time it worked was when i selected ffmpeg instead of tsreader in the xmbc addon. This resulted in a greenish kind of blurred image. Nog sure if this was the result of a buffer/network problem or the not activated mpeg2 codec. So i just want tot make sure by asking here, can you use tsreader within the addon with MePo on a Windows 7 machine? Or do I need tot use the ffmpeg way of playback in the xmbc addon on a raspberry pi 2?
If I use the tsreader on my raspberry I always get a not allowed error as if the live TV and recorder TV are not shared correctly but I know that this not a problem.

You can use tsreader for playback on Windows, and also with OpenELEC on Raspberry Pi 2. I do both all the time.

I've no idea what is wrong, as you have not provided any logs.
Reply
#32
(2015-09-28, 00:10)mcelliott Wrote:
(2015-09-27, 23:20)Perlian Wrote: Just started today installing my raspberry pi 2 with openelec xmbc kodi with mediaportal as backend pvr. I followed all manuals but my live TV refuses to stream to my rb2. The only time it worked was when i selected ffmpeg instead of tsreader in the xmbc addon. This resulted in a greenish kind of blurred image. Nog sure if this was the result of a buffer/network problem or the not activated mpeg2 codec. So i just want tot make sure by asking here, can you use tsreader within the addon with MePo on a Windows 7 machine? Or do I need tot use the ffmpeg way of playback in the xmbc addon on a raspberry pi 2?
If I use the tsreader on my raspberry I always get a not allowed error as if the live TV and recorder TV are not shared correctly but I know that this not a problem.

You can use tsreader for playback on Windows, and also with OpenELEC on Raspberry Pi 2. I do both all the time.

I've no idea what is wrong, as you have not provided any logs.

This evening I will try it again and see if I can get the logs.
Reply
#33
Just tried with SSH enabled on the Raspberry PI to login via putty to the correct IP address with pi/raspberry but "Acces Denied".
This is strange, no connection possible from my laptop ...
Reply
#34
(2015-09-28, 22:44)Perlian Wrote: Just tried with SSH enabled on the Raspberry PI to login via putty to the correct IP address with pi/raspberry but "Acces Denied".
This is strange, no connection possible from my laptop ...

Just learned that I use the wrong credentials. The correct one should be:

Login: root
Password: openelec

Hopefully this evening I have a log-file ...
Reply
#35
Somehow it cannot open the timeshift file on the share. This is very strange because it is on a Windows 7 machine with no firewalls enabled and the share itself is located on the same machine. It is a RAM-disk that is shared where Everybody has full control.
This error log is created when I use my share-names as settings within MediaPortal (so: instead of locical path: R:\ I used \\Perlian4\R)

12:04:05 T:1970032640 DEBUG: ------ Window Init (DialogBusy.xml) ------

12:04:05 T:1632441408 NOTICE: AddOnLog: MediaPortal PVR Client: Channel timeshift buffer: \\Perlian4\r\live14-0.ts.tsbuffer

12:04:05 T:1632441408 NOTICE: AddOnLog: MediaPortal PVR Client: Sleeping 5 ms before opening stream: rtsp://192.168.1.115/stream14.0

12:04:05 T:1632441408 NOTICE: AddOnLog: MediaPortal PVR Client: Creating a new TsReader...

12:04:05 T:1632441408 DEBUG: AddOnLog: MediaPortal PVR Client: PatParser:Reset()

12:04:05 T:1632441408 NOTICE: AddOnLog: MediaPortal PVR Client: TsReader open '\\Perlian4\r\live14-0.ts.tsbuffer'

12:04:05 T:1632441408 DEBUG: AddOnLog: MediaPortal PVR Client: Multiseat mode; need to translate '\\Perlian4\r\live14-0.ts.tsbuffer' to UNC filename.

12:04:05 T:1632441408 NOTICE: AddOnLog: MediaPortal PVR Client: Translate path \\Perlian4\r\live14-0.ts.tsbuffer -> smb://Perlian4/r/live14-0.ts.tsbuffer

12:04:05 T:1632441408 INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://Perlian4/r/live14-0.ts.tsbuffer.

12:04:06 T:1632441408 DEBUG: CSMBFile::Open - opened r/live14-0.ts.tsbuffer, fd=-1

12:04:06 T:1632441408 INFO: SMBFile->Open: Unable to open file : 'smb://Perlian4/r/live14-0.ts.tsbuffer'

unix_err:'6e' error : 'Connection timed out'

12:04:06 T:1632441408 INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://Perlian4/r/live14-0.ts.tsbuffer.

12:04:06 T:1632441408 DEBUG: CSMBFile::Open - opened r/live14-0.ts.tsbuffer, fd=-1

12:04:06 T:1632441408 INFO: SMBFile->Open: Unable to open file : 'smb://Perlian4/r/live14-0.ts.tsbuffer'

unix_err:'6e' error : 'Connection timed out'

12:04:06 T:1632441408 INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://Perlian4/r/live14-0.ts.tsbuffer.

12:04:06 T:1632441408 DEBUG: CSMBFile::Open - opened r/live14-0.ts.tsbuffer, fd=-1

12:04:06 T:1632441408 INFO: SMBFile->Open: Unable to open file : 'smb://Perlian4/r/live14-0.ts.tsbuffer'

unix_err:'6e' error : 'Connection timed out'
Reply
#36
But when I use the normal way (logical path within the MediaPortal TV-server and Share names in Kodi plugin) I get:

15:11:08 T:1785488448 NOTICE: AddOnLog: MediaPortal PVR Client: Channel timeshift buffer: R:\\live14-0.ts.tsbuffer

15:11:08 T:1785488448 NOTICE: AddOnLog: MediaPortal PVR Client: Sleeping 5 ms before opening stream: rtsp://192.168.1.115/stream14.0

15:11:08 T:1785488448 NOTICE: AddOnLog: MediaPortal PVR Client: Creating a new TsReader...

15:11:08 T:1785488448 DEBUG: AddOnLog: MediaPortal PVR Client: PatParser:Reset()

15:11:08 T:1785488448 NOTICE: AddOnLog: MediaPortal PVR Client: TsReader open 'R:\\live14-0.ts.tsbuffer'

15:11:08 T:1785488448 DEBUG: AddOnLog: MediaPortal PVR Client: Multiseat mode; need to translate 'R:\\live14-0.ts.tsbuffer' to UNC filename.

15:11:08 T:1785488448 NOTICE: AddOnLog: MediaPortal PVR Client: Translate path R:\\live14-0.ts.tsbuffer -> smb://PERLIAN4/R/live14-0.ts.tsbuffer

15:11:08 T:1785488448 INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://PERLIAN4/R/live14-0.ts.tsbuffer.

15:11:08 T:1785488448 DEBUG: CSMBFile::Open - opened R/live14-0.ts.tsbuffer, fd=-1

15:11:08 T:1785488448 INFO: SMBFile->Open: Unable to open file : 'smb://PERLIAN4/R/live14-0.ts.tsbuffer'

unix_err:'d' error : 'Permission denied'

15:11:08 T:1785488448 ERROR: AddOnLog: MediaPortal PVR Client: Permission denied. Check the file or share access rights for 'smb://PERLIAN4/R/live14-0.ts.tsbuffer'

15:11:08 T:1785488448 DEBUG: CAddonCallbacksAddon - QueueNotification - MediaPortal PVR Client - Error Message : 'Permission denied'

15:11:08 T:1785488448 ERROR: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile(), open file smb://PERLIAN4/R/live14-0.ts.tsbuffer failed.

15:11:08 T:1785488448 DEBUG: AddOnLog: MediaPortal PVR Client: MultiFileReader: buffer file opened return code 1.

15:11:08 T:1785488448 ERROR: AddOnLog: MediaPortal PVR Client: Failed to open file 'R:\\live14-0.ts.tsbuffer' as 'smb://PERLIAN4/R/live14-0.ts.tsbuffer'

15:11:08 T:1785488448 ERROR: AddOnLog: MediaPortal PVR Client: Cannot open timeshift buffer R:\\live14-0.ts.tsbuffer

15:11:08 T:1785488448 NOTICE: AddOnLog: MediaPortal PVR Client: TsReader: closing file
Reply
#37
I've seen lots of reports of problems with MediaPortal and RAM disks over the years.

First things first (and sorry if you've already answered this), does it work if MediaPortal is installed on the same PC? That is, do all channels and recordings play fine in MediaPortal?

Secondly, exclude any possible 'different' configurations. In this case the RAM disk. Relatively few people use these, so it will be a less tested scenario.
Reply
#38
MediaPortal works without any problems on the same PC. It runs with a cardserver and all channels can be watched. It is used by the whole family and has no problems. Even when I change the RAMdisk into a location on my SSD it does not work:

opening live stream for channel 'RTL 4 HD'

16:58:34 T:1633678400 NOTICE: AddOnLog: MediaPortal PVR Client: Open Live stream for channel uid=296

16:58:35 T:1969553408 DEBUG: ------ Window Init (DialogBusy.xml) ------

16:58:36 T:1633678400 NOTICE: AddOnLog: MediaPortal PVR Client: Channel timeshift buffer: D:\buffer\live16-1.ts.tsbuffer

16:58:36 T:1633678400 NOTICE: AddOnLog: MediaPortal PVR Client: Sleeping 5 ms before opening stream: rtsp://192.168.1.115/stream16.1

16:58:36 T:1633678400 NOTICE: AddOnLog: MediaPortal PVR Client: Creating a new TsReader...

16:58:36 T:1633678400 DEBUG: AddOnLog: MediaPortal PVR Client: PatParser:Reset()

16:58:36 T:1633678400 NOTICE: AddOnLog: MediaPortal PVR Client: TsReader open 'D:\buffer\live16-1.ts.tsbuffer'

16:58:36 T:1633678400 DEBUG: AddOnLog: MediaPortal PVR Client: Multiseat mode; need to translate 'D:\buffer\live16-1.ts.tsbuffer' to UNC filename.

16:58:36 T:1633678400 NOTICE: AddOnLog: MediaPortal PVR Client: Translate path D:\buffer\live16-1.ts.tsbuffer -> smb://PERLIAN4/buffer/live16-1.ts.tsbuffer

16:58:36 T:1633678400 INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://PERLIAN4/buffer/live16-1.ts.tsbuffer.

16:58:36 T:1633678400 DEBUG: CSMBFile::Open - opened buffer/live16-1.ts.tsbuffer, fd=-1

16:58:36 T:1633678400 INFO: SMBFile->Open: Unable to open file : 'smb://PERLIAN4/buffer/live16-1.ts.tsbuffer'

unix_err:'2' error : 'No such file or directory'
Reply
#39
No idea then. You're not providing a full description of the problem, so it's hard to know what to suggest.
Reply
#40
Situation:

1 Mediacenter with windows 7, MediaPortal 1.10, 2 Anysee tuners + Phoenix Card reader connected to the tv downstairs.
1 Raspberry Pi 2 With Openelec Kodi XMBC (will be connected to to the tv upstairs).

MediaPortal is fully working. We watch television downstairs on the mediacenter. Everything works free-to-air and Encrypted channels.
I wanted to install a Raspberry Pi 2 upstairs so we can use MediaPortal to watch television. Downstairs we also have a second computer
with Windows 7. I installed the MediaPortal client and was able to watch Live television without any problems over the network.

Steps I did (following http://kodi.wiki/view/MediaPortal_TV-Server):

1) Install plugin in MediaPortal and made sure that the paths for Recorded TV & Live TV are shared and Permissions --> set to full control
2) Installed the MediaPortal PVR Plugin on the Raspberry Pi 2 and point to the IP-address of my MediaPortal server. Alle channels (+ EPG) and recordings are loaded succesfully
3) Try to start the Live-TV on the RaspPI (within TVguide choose change channel). Nothing happends. Log file shows the Unable to open file : 'smb://PERLIAN4/buffer/live16-1.ts.tsbuffer'

I tried:

a) Change the Live-TV buffer to the SSD but still no Live-tv possible (see last log-file)
b) Change the locations of live-tv and recordings on the MP server to the shares instead of using logical file paths (So using \\Perlian4\R instead of R:\)

Someone any idea what I could try next ?
Reply
#41
Add smb://perlian4/ as source in Kodi's filemanager!
Reply
#42
(2015-10-06, 13:51)pünktchen Wrote: Add smb://perlian4/ as source in Kodi's filemanager!

I will try that this as soon as possible, sounds promising ...
Reply
#43
Added the smb://perlian4/ within the filemanager and did some testing with the shares:

1) tested with my live-tv buffer on the RAM-disk:

Permission denied (see log):

Thread DVDPlayer start, auto delete: false
10:38:34 T:1710154816 NOTICE: Creating InputStream
10:38:34 T:1710154816 DEBUG: PVRManager - OpenLiveStream - opening live stream on channel 'RTL 4 HD'
10:38:34 T:1710154816 DEBUG: opening live stream for channel 'RTL 4 HD'
10:38:34 T:1710154816 NOTICE: AddOnLog: MediaPortal PVR Client: Open Live stream for channel uid=296
10:38:34 T:1970253824 DEBUG: ------ Window Init (DialogBusy.xml) ------
10:38:35 T:1710154816 NOTICE: AddOnLog: MediaPortal PVR Client: Channel timeshift buffer: R:\\live14-0.ts.tsbuffer
10:38:35 T:1710154816 NOTICE: AddOnLog: MediaPortal PVR Client: Sleeping 5 ms before opening stream: rtsp://192.168.1.115/stream14.0
10:38:35 T:1710154816 NOTICE: AddOnLog: MediaPortal PVR Client: Creating a new TsReader...
10:38:35 T:1710154816 DEBUG: AddOnLog: MediaPortal PVR Client: PatParser:Reset()
10:38:35 T:1710154816 NOTICE: AddOnLog: MediaPortal PVR Client: TsReader open 'R:\\live14-0.ts.tsbuffer'
10:38:35 T:1710154816 DEBUG: AddOnLog: MediaPortal PVR Client: Multiseat mode; need to translate 'R:\\live14-0.ts.tsbuffer' to UNC filename.
10:38:35 T:1710154816 NOTICE: AddOnLog: MediaPortal PVR Client: Translate path R:\\live14-0.ts.tsbuffer -> smb://PERLIAN4/R/live14-0.ts.tsbuffer
10:38:35 T:1710154816 INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://PERLIAN4/R/live14-0.ts.tsbuffer.
10:38:35 T:1710154816 DEBUG: CSMBFile::Open - opened R/live14-0.ts.tsbuffer, fd=-1
10:38:35 T:1710154816 INFO: SMBFile->Open: Unable to open file : 'smb://PERLIAN4/R/live14-0.ts.tsbuffer'
unix_err:'d' error : 'Permission denied'
10:38:35 T:1710154816 ERROR: AddOnLog: MediaPortal PVR Client: Permission denied. Check the file or share access rights for 'smb://PERLIAN4/R/live14-0.ts.tsbuffer'
10:38:35 T:1710154816 DEBUG: CAddonCallbacksAddon - QueueNotification - MediaPortal PVR Client - Error Message : 'Permission denied'


2) tested with my live-tv buffer on a locical drive:

Unable to open file (see log):

Thread DVDPlayer start, auto delete: false
10:54:39 T:1761637440 NOTICE: Creating InputStream
10:54:39 T:1761637440 DEBUG: PVRManager - OpenLiveStream - opening live stream on channel 'RTL 5 HD'
10:54:39 T:1761637440 DEBUG: opening live stream for channel 'RTL 5 HD'
10:54:39 T:1761637440 NOTICE: AddOnLog: MediaPortal PVR Client: Open Live stream for channel uid=297
10:54:40 T:1969852416 DEBUG: ------ Window Init (DialogBusy.xml) ------
10:54:41 T:1761637440 NOTICE: AddOnLog: MediaPortal PVR Client: Channel timeshift buffer: D:\buffer\live14-0.ts.tsbuffer
10:54:41 T:1761637440 NOTICE: AddOnLog: MediaPortal PVR Client: Sleeping 5 ms before opening stream: rtsp://192.168.1.115/stream14.0
10:54:41 T:1761637440 NOTICE: AddOnLog: MediaPortal PVR Client: Creating a new TsReader...
10:54:41 T:1761637440 DEBUG: AddOnLog: MediaPortal PVR Client: PatParser:Reset()
10:54:41 T:1761637440 NOTICE: AddOnLog: MediaPortal PVR Client: TsReader open 'D:\buffer\live14-0.ts.tsbuffer'
10:54:41 T:1761637440 DEBUG: AddOnLog: MediaPortal PVR Client: Multiseat mode; need to translate 'D:\buffer\live14-0.ts.tsbuffer' to UNC filename.
10:54:41 T:1761637440 NOTICE: AddOnLog: MediaPortal PVR Client: Translate path D:\buffer\live14-0.ts.tsbuffer -> smb://PERLIAN4/buffer/live14-0.ts.tsbuffer
10:54:41 T:1761637440 INFO: AddOnLog: MediaPortal PVR Client: FileReader::OpenFile() smb://PERLIAN4/buffer/live14-0.ts.tsbuffer.
10:54:41 T:1761637440 DEBUG: CSMBFile::Open - opened buffer/live14-0.ts.tsbuffer, fd=-1
10:54:41 T:1761637440 INFO: SMBFile->Open: Unable to open file : 'smb://PERLIAN4/buffer/live14-0.ts.tsbuffer'
unix_err:'2' error : 'No such file or directory'

So strange since I know that the persmissions are set to full control for Everyone ...
Reply
#44
Just removed the windows 7 MP machine from the workgroup. I read that this could also influence the smb-mappings. But ahhhhh also not working ---> Again: INFO: SMBFile->Open: Unable to open file : 'smb://PERLIAN4/buffer/live14-0.ts.tsbuffer'
Reply
#45
Working !! Steps I took:

1) Removed MediaPortal machine from WORKGROUP
2) added an Administrator user to the MP machine and used him as executing user for the TVservice of MP
3) added this user to the MediaPortal add-on in Kodi

I now store my live-tv buffer on my SSD. I will try to see if I can use my RAM disk as live-tv buffer but for now I think I will leave it ...
But I think that I will not have the Permission Denied since I now use this new Admin user. Next week I will give it another try for this to work.
I do not want to harm my SSD since there are lots of write actions performed.

Before all this I did notuse a user within the Add-on because I thought that if I give everyone Full control on my MP machine that this would be enough...
Reply



Logout Mark Read Team Forum Stats Members Help
The Newest version of MediaPortal TVServer - TVServerXBMC plugin0
This forum uses Lukasz Tkacz MyBB addons.