Kodi Community Forum
[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Development (https://forum.kodi.tv/forumdisplay.php?fid=32)
+--- Forum: Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=26)
+---- Forum: PVR (https://forum.kodi.tv/forumdisplay.php?fid=136)
+---- Thread: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 (/showthread.php?tid=125232)



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - Leatherface - 2012-10-13

Getting this when i try to start a recording.

13:29:41 T:139894717564672 NOTICE: Thread PVR Channel Window start, auto delete: false
13:30:33 T:139894958573312 ERROR: PVR - AddTimer - addon 'dm8000:192.168.0.21' returned an error: server error
13:30:33 T:139894958573312 ERROR: PVR - AddTimer - cannot add timer to client '2': server error
13:30:37 T:139894958573312 ERROR: PVRTimers - InstantTimer - unable to add an instant timer on the client



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - sfuchs - 2012-10-13

(2012-10-12, 14:48)Bkam Wrote: jdembski thx Smile

Is there any way to add a bigger buffert size? it buffers every 20-30s and its just a small buffert it count up to 13% and its done
i added my log file if you can see anything in it

http://pastebin.com/B62QdXtT

Just try a newer Nightly Build, I had the same problems with the build from the 10th if I remember right...


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-10-13

If I remember correctly you could use these advanced settings to increase the buffer:
Code:
<advancedsettings>
  <pvr>
      <minvideocachelevel>20</minvideocachelevel>
      <minaudiocachelevel>20</minaudiocachelevel>
  </pvr>
</advancedsettings>

(2012-10-13, 13:34)Leatherface Wrote: Getting this when i try to start a recording.

13:29:41 T:139894717564672 NOTICE: Thread PVR Channel Window start, auto delete: false
13:30:33 T:139894958573312 ERROR: PVR - AddTimer - addon 'dm8000:192.168.0.21' returned an error: server error
13:30:33 T:139894958573312 ERROR: PVR - AddTimer - cannot add timer to client '2': server error
13:30:37 T:139894958573312 ERROR: PVRTimers - InstantTimer - unable to add an instant timer on the client

I will have a look at it tomorrow...


(2012-10-13, 02:50)soussef24 Wrote:
(2012-10-09, 20:23)jdembski Wrote:
(2012-10-08, 14:37)soussef24 Wrote: Hi jdembski,

Are you having any troubles switching channels outside the main channel list (the one with the channel preview), because on my end trying to switch directly using the arrows keys of my remote control, using the up/down buttons on the OSD Menu, or using the minimal channel list always ends up with XBMC hanging...

Not sure if this is particular to your addon or really a general PVR issue!

Hi,

I can confirm that it crashes, BUT: using a current XBMC from this morning it doesn't crash anymore. Can you confirm this?

I'm now using Openelec 1.99.2 (RC2), tried to test several times using either the OSD's Up/Down buttons or Up/Down on the remote, and it doesn't hang, but also it doesn't switch channel, it somehow tries but then returns to the channel list or to the first menu... Someone from this forum thread seems to have pushed some corrections, maybe you are using a later version to the one I'm using on 1.99.2 that includes the corrections...

I'm using a custom OpenELEC and it is working fine. Isn't OpenELEC RC2 still using Eden as the XBMC?


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - sfuchs - 2012-10-14

I'm having trouble with Frodo (tested with several Nightlies from October) and live streaming. It happens, that my stream suddenly stops and the following error message is in my log:

Code:
[DEBUG: ffmpeg[B3C]: [mpegts] PES packet size mismatch
14:15:58 T:2876   DEBUG: Previous line repeats 1 times.
14:15:58 T:2876  NOTICE: CDVDPlayer::OnExit()
14:15:58 T:2876  NOTICE: DVDPlayer: eof, waiting for queues to empty
14:15:58 T:2876  NOTICE: DVDPlayer: closing audio stream
14:15:58 T:2876  NOTICE: Closing audio stream
14:15:58 T:2876  NOTICE: CDVDMessageQueue(audio)::WaitUntilEmpty
14:16:00 T:1148   ERROR: ffmpeg[47C]: [ac3] incomplete frame
14:16:00 T:1148   DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_SYNCHRONIZE
14:16:00 T:2876  NOTICE: Waiting for audio thread to exit
14:16:00 T:1148   DEBUG: CDVDPlayerAudio::Process - Abort received, exiting thread
14:16:00 T:1148  NOTICE: thread end: CDVDPlayerAudio::OnExit()
14:16:00 T:1148   DEBUG: Thread CDVDPlayerAudio 1148 terminating
14:16:00 T:2876  NOTICE: Closing audio device
14:16:00 T:3276  NOTICE: Thread Jobworker start, auto delete: true
14:16:00 T:2852   DEBUG: CSoftAE::Run - Sink restart flagged
14:16:00 T:2852   DEBUG: CAESinkWASAPI::IsCompatible: Formats Incompatible due to different :Sample Rates
14:16:00 T:2852    INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
14:16:00 T:2852    INFO: CAESinkWASAPI::InitializeExclusive: Format is Supported - will attempt to Initialize
14:16:00 T:2852    INFO: CAESinkWASAPI::InitializeExclusive: WASAPI Exclusive Mode Sink Initialized using: AE_FMT_S24NE4, 44100, 2
14:16:00 T:2852   DEBUG: CSoftAE::InternalOpenSink - WASAPI Initialized:
14:16:00 T:2852   DEBUG:   Output Device : Speakers - Lautsprecher (2- High Definition Audio-Gerät)
14:16:00 T:2852   DEBUG:   Sample Rate   : 44100
14:16:00 T:2852   DEBUG:   Sample Format : AE_FMT_S24NE4
14:16:00 T:2852   DEBUG:   Channel Count : 2
14:16:00 T:2852   DEBUG:   Channel Layout: FL,FR
14:16:00 T:2852   DEBUG:   Frames        : 2208
14:16:00 T:2852   DEBUG:   Frame Samples : 4416
14:16:00 T:2852   DEBUG:   Frame Size    : 8
14:16:00 T:2852   DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 2.0
14:16:00 T:2852   DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 17664
14:16:00 T:2852   DEBUG: AERemap: Downmix normalization is disabled
14:16:00 T:2876   DEBUG: Previous line repeats 1 times.
14:16:00 T:2876   DEBUG: CSoftAEStream::~CSoftAEStream - Destructed
14:16:00 T:2876  NOTICE: Deleting audio codec
14:16:00 T:2876  NOTICE: DVDPlayer: closing video stream
14:16:00 T:2876  NOTICE: Closing video stream
14:16:00 T:2876  NOTICE: CDVDMessageQueue(video)::WaitUntilEmpty
14:16:01 T:1168   DEBUG: CDVDPlayerVideo - CDVDMsg::GENERAL_SYNCHRONIZE
14:16:01 T:2876  NOTICE: waiting for video thread to exit
14:16:01 T:1168 WARNING: CDVDMessageQueue(video)::Get - asked for new data packet, with nothing available
14:16:01 T:1168   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true
14:16:01 T:1168  NOTICE: thread end: video_thread
14:16:01 T:1168   DEBUG: Thread CDVDPlayerVideo 1168 terminating
14:16:01 T:2876  NOTICE: deleting video codec
14:16:02 T:2876  NOTICE: DVDPlayer: closing teletext stream
14:16:02 T:2876  NOTICE: Closing teletext stream
14:16:02 T:2876  NOTICE: CDVDMessageQueue(teletext)::WaitUntilEmpty
14:16:02 T:2876  NOTICE: waiting for teletext data thread to exit
14:16:02 T:4044   ERROR: Got MSGQ_ABORT or MSGO_IS_ERROR return true (-1)
14:16:02 T:4044  NOTICE: thread end: data_thread
14:16:02 T:4044   DEBUG: Thread CDVDTeletextData 4044 terminating
14:16:02 T:2876  NOTICE: CDVDPlayer::OnExit() deleting demuxer
14:16:02 T:2876  NOTICE: CDVDPlayer::OnExit() deleting input stream
14:16:02 T:2700   DEBUG: Thread CFileCache 2700 terminating
14:16:02 T:2876   DEBUG: CDVDInputStreamPVRManager::Close - stream closed
14:16:02 T:2876   DEBUG: CAnnouncementManager - Announcement: OnStop from xbmc
14:16:02 T:2876   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnStop
14:16:02 T:2876   DEBUG: Thread CDVDPlayer 2876 terminating
14:16:02 T:4500   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
14:16:02 T:4500   DEBUG: ------ Window Deinit (VideoFullScreen.xml) ------
14:16:02 T:4500   DEBUG: CWinSystemWin32::SetFullScreen (windowed fullscreen) on screen 0 with size 1920x1080, refresh 59.940056
14:16:02 T:4500   DEBUG: CRenderManager::UpdateDisplayLatency - Latency set to 0 msec
14:16:02 T:4500   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
14:16:02 T:4500   DEBUG: ------ Window Init (MyPVR.xml) ------
14:16:02 T:4500    INFO: Loading skin file: MyPVR.xml, load type: LOAD_EVERY_TIME
14:16:02 T:4500   DEBUG: Using already stored xml root node for C:\Users\xbmc\AppData\Roaming\XBMC\addons\skin.aeonmq.4\720p\MyPVR.xml
14:16:02 T:4500   DEBUG: CGUIMediaWindow::GetDirectory (pvr://channels/tv/SKY (TV)/)
14:16:02 T:4500   DEBUG:   ParentPath = []
14:16:02 T:4500   DEBUG: CPVRDirectory::GetDirectory(pvr://channels/tv/SKY (TV))
14:16:02 T:4500 WARNING: Unknown sort method 0
14:16:02 T:4500   DEBUG: CGUIWindowPVRCommon - PVR::CGUIWindowPVRCommon::OnMessageFocus - focus set to window 'epg'
14:16:02 T:4500   DEBUG: CGUIWindowPVRGuide - PVR::CGUIWindowPVRGuide::UpdateData - update window 'epg'. set view to 16
14:16:02 T:4500   DEBUG: Checking repositories for updates (triggered by XBMC.org Add-ons)
14:16:02 T:3276   DEBUG: CFileCache::Open - opening <addons/eden/addons.xml.md5> using cache
14:16:02 T:3276   DEBUG: CurlFile::Open(0EA380F0) http://mirrors.xbmc.org/addons/eden/addons.xml.md5
14:16:02 T:3276    INFO: XCURL::DllLibCurlGlobal::easy_aquire - Created session to http://mirrors.xbmc.org
14:16:02 T:2668  NOTICE: Thread Jobworker start, auto delete: true
14:16:02 T:4152  NOTICE: Previous line repeats 1 times.
14:16:02 T:4152    INFO: WEATHER: Downloading weather
14:16:02 T:4152    INFO: initializing python engine.
14:16:02 T:4152   DEBUG: new python thread created. id=4
14:16:02 T:3496  NOTICE: Thread XBPyThread start, auto delete: false
14:16:02 T:3496   DEBUG: Python thread: start processing
14:16:02 T:3496  NOTICE: -->Python Interpreter Initialized<--
14:16:02 T:3496   DEBUG: XBPyThread::Process - The source file to load is C:\Program Files (x86)\XBMC\addons\weather.wunderground\default.py
14:16:02 T:3496   DEBUG: XBPyThread::Process - Setting the Python path to C:\Program Files (x86)\XBMC\addons\weather.wunderground;C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.beautifulsoup\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.simple.downloader\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.parsedom\lib;C:\Users\xbmc\AppData\Roaming\XBMC\addons\script.module.xbmcswift2\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
14:16:02 T:3496   DEBUG: XBPyThread::Process - Entering source directory C:\Program Files (x86)\XBMC\addons\weather.wunderground
14:16:02 T:3496   DEBUG: Instantiating addon using automatically obtained id of "weather.wunderground" dependent on version 2.0 of the xbmc.python api
14:16:02 T:4500  NOTICE: CDVDPlayer::CloseFile()
14:16:02 T:4500 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
14:16:02 T:4500  NOTICE: DVDPlayer: waiting for threads to exit
14:16:02 T:4500  NOTICE: DVDPlayer: finished waiting
14:16:02 T:4652  NOTICE: Thread CFileCache start, auto delete: false
14:16:02 T:4652    INFO: CFileCache::Process - Hit eof.

If someone please can take a look at the debug infos above, I can't paste the full log to Pastebin at the moment...

Seems to be an AC3 error so that the stream gets stopped


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - Leatherface - 2012-10-14

Recording seems to work now with your recordingfolders branch. Good job Smile


[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-10-14

(2012-10-14, 16:17)Leatherface Wrote: Recording seems to work now with your recordingfolders branch. Good job Smile

Hmm, I didn't change anything in that area...

Btw: the branch 'test' incorporates the fixes from the "fixwindows" branch and the changes from the "recordingfolders" branch.




RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - Leatherface - 2012-10-14

Ok strange maybe a positive side effect of your work Smile
EDIT: Seems it fails on official master but with FernetMantas master it worked.
EDIT2: After recompiling FernetMantas again i have same error there really strange it worked earlier today.
EDIT3: Hmm seems it work sometimes and sometimes not. I think it has something to do with EPG maybe.



RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - N3m3515 - 2012-10-16

i removed this: https://github.com/opdenkamp/xbmc-pvr-addons/commit/ed77bf76a29ad2b727fdae5bcefe1f9c0ec796f7

and now i am able to compile it again on my raspberry pi with raspmbc.


[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-10-16

(2012-10-16, 11:52)N3m3515 Wrote: i removed this: https://github.com/opdenkamp/xbmc-pvr-addons/commit/ed77bf76a29ad2b727fdae5bcefe1f9c0ec796f7

and now i am able to compile it again on my raspberry pi with raspmbc.

You should report that to dushmaniac/opdenkamp.


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - N3m3515 - 2012-10-16

i reported the issue on github. thanks for your help.


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - N3m3515 - 2012-10-16

i got it to work with the latest raspbmc nightly. i can see my bouqet and the epg. but only sd channels can be displayed. all my hd channels are black screens. maybe a codec issue?


[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-10-16

(2012-10-16, 16:41)N3m3515 Wrote: i got it to work with the latest raspbmc nightly. i can see my bouqet and the epg. but only sd channels can be displayed. all my hd channels are black screens. maybe a codec issue?

I have got the same issue - and we are not alone:

http://openelec.tv/index.php?option=com_kunena&func=view&catid=110&id=49447

Maybe we should both also sign up in the thread on the raspberrypi forums...


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - N3m3515 - 2012-10-16

I know that hd channels worked with the tuxbox plugin. There must be some sort of trick on how to load them


RE: [WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jaycronik - 2012-10-16

Hi Jörg,

gibts schon eine pvr-addon Lösung für raspbmc und enigma2 boxen?
Ich hab ne Box mit openpli laufen.

Gruß
Jay


[WIP] PVR Client Addon for XBMC for EPG and full control of Dreambox and DBox2 - jdembski - 2012-10-16

(2012-10-16, 19:57)N3m3515 Wrote: I know that hd channels worked with the tuxbox plugin. There must be some sort of trick on how to load them

Try it again - they do not work with tuxbox anymore, too. I guess something changed in the Astra streams - if I understand the forum reports correctly then other satellites like eutelsat are not affected.


(2012-10-16, 20:11)jaycronik Wrote: Hi Jörg,

gibts schon eine pvr-addon Lösung für raspbmc und enigma2 boxen?
Ich hab ne Box mit openpli laufen.

Gruß
Jay

Opdenkamp pushed a change today which should fix compiling the addons with raspbmc. The VU+ addon can be used with enigma2 boxes too, hence the name "VU+ / Enigma2 Client" Wink