Posts by nils_92

    Update.


    Seems like it's an issue with the remote or the config I downloaded the MCE remote config and tried the HP remote I used in a different room and it works with a few button that aren't correct however I'm stumped I've definitely used the other remote before and the irrecord works fine.

    Also the 100% is gone as well..


    GOT it:

    I compared a few files and it appears the 0x00000000 parts need to be removed from the config file even though they were added by the irrecord anyhow it works now

    Hi Guys,

    I hope someone can help I've been struggling to get my IR remote to work in Kodi the ir receiver is connected to GPIO 18 and the dt overlay entry is added to my config.

    I was able to record the remote and have put the resulting lircd.conf into /storage/.config/lircd.conf

    The only issue I have is kodi and irw aren't reacting to it also the lircd process is using 100% CPU

    Code
    347 root      20   0    3264   1864   1688 R 100.0  0.2   4:13.84 lircd


    When running lirc manually it complains about a missing file "options.conf" in /etc/lirc/


    Any help appreciated.


    That's my lircd file


    cat /proc/bus/input/devices


    Code
    cat /proc/bus/input/devicesI: Bus=0000 Vendor=0000 Product=0000 Version=0000N: Name="lircd"P: Phys=S: Sysfs=/devices/virtual/input/input0U: Uniq=H: Handlers=sysrq kbd event0 B: PROP=0B: EV=100003B: KEY=3ffff 7fe001f ffff000f 7ffffff ffffffff ffffffff 0 0 0 ffffff ffffff07 ffffffff ffffffff ffffffff ffefffff ffffffff fffffffe
    Code
    dmesg | grep -e lirc -e LIRC[   10.467591] lirc_dev: IR Remote Control driver registered, major 244[   10.512428] lirc_rpi: module is from the staging directory, the quality is unknown, you have been warned.[   11.465045] lirc_rpi: auto-detected active low receiver on GPIO pin 18[   11.465224] lirc_rpi lirc_rpi: lirc_dev: driver lirc_rpi registered at minor = 0[   11.465228] lirc_rpi: driver registered![   11.930368] input: lircd as /devices/virtual/input/input0

    Try getting DVB tools and do a scan with that to see if you get anything so we can say it's a TVH problem or hardware.

    Just google DVB tools on google not sure if I'm allowed to link to other forums here but there are plenty of tutorials showing how to run a manual scan.


    Hope this helps.

    Just adding to my previous post I've now created my first ever plugin for kodi which uses the mobile layout from polini.

    Few things to mention for now:

    1. Make sure it's on the same kodi install as your TVH server
    2. You might need to set the "HTTP CORS origin" via Settings -> General -> Base (e.g. 192.168.1.5:8080)
    3. I've disabled authentication for some machines on my local network so authentication is not implemented yet.

    To be done:

    My aim is to add a configuration option to the add-on so IP, port, user and password can be entered however I'm yet to find a suitable solution for this.

    Please note this add-on is a very early stage I was mostly interested in the EPG and mag layout which both work fine.


    Any issues suggestions etc please do post them.


    webinterface.NiceTVH


    The interface will be reachable via:

    http://{Kodi-IP}:{Kodi-Port}/addons//addons/webinterface.NiceTVH/


    I will add a better description to github once I find some free time for it.


    Screenshots:


    Right now my set-up look like this.

    I've got a RPi 2 in my living room which runs Kodi and TVH connected to a DVB-T and a DVB-T2 USB as well as a custom Zattoo IPTV script to get foreign channels into TVH. Storage for recordings goes to my Mac OS Server via SMB. I do use the same storage for records and time shift though I haven't used time shift much. EPG for the Zattoo IPTV solution is fetched via XMTLTV and for DVB-T via the antenna over the air.


    All powered by one USB hub and haven't had any issues so far. Usually there are two clients connected + occasional recordings.

    Tried this build and it works pretty well considering this early stage however I cannot get the Amazon Prime add-on to work I'm getting error like the ones below any suggestions welcome everything else seems to work well however I do have my tvh backend on a raspberry pi

    Code
    3:42:15 T:2540696480  NOTICE: [Amazon VOD] searching fanart for BREAKING THE CODES at tmdb.com 23:42:22 T:2553279392   ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--                                              - NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!                                             Error Type: <class 'sqlite3.OperationalError'>                                             Error Contents: database is locked                                             Traceback (most recent call last):                                               File "/storage/.kodi/addons/plugin.video.amazon-test/default.py", line 1612, in <module>                                                 createDB()                                               File "/storage/.kodi/addons/plugin.video.amazon-test/default.py", line 1377, in createDB                                                 );''')                                             OperationalError: database is locked                                             -->End of Python script error report<-- 23:42:23 T:3037241344   ERROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.amazon-test/?asin=B00U9SAVCK&mode=PlayVideo&name=The+Imitation+Game&adult=0&trailer=0&selbitrat$ 23:42:25 T:2540696480  NOTICE: [Amazon VOD] Finished Fanart Update 23:42:32 T:2540696480  NOTICE: [Amazon VOD] [('asin', 'B00U9SAVCK'), ('mode', 'PlayVideo'), ('name', 'The Imitation Game'), ('adult', '0'), ('trailer', '0'), ('selbitrate', '0')] 23:42:33 T:2540696480  NOTICE: [Amazon VOD] getURL: https://www.amazon.co.uk/gp/deal/ajax/getNotifierResources.html 23:42:33 T:2540696480  NOTICE: [Amazon VOD] getURL: https://www.amazon.co.uk/gp/video/streaming/player-token.json?callback=onWebToken_208 23:42:34 T:2540696480  NOTICE: [Amazon VOD] getURL: https://atv-eu.amazon.com/cdp/catalog/GetPlaybackResources?asin=B00U9SAVCK&deviceTypeID=AOAGZA014O5RE&firmware=1&customerID=AFAATUDABXF3V&deviceID=1$ 23:42:34 T:2540696480  NOTICE: [Amazon VOD] Convert English Subtitle 23:42:34 T:2540696480  NOTICE: [Amazon VOD] getURL: http://dmqdd6hw24ucf.cloudfront.net/e/f/3/ef380b30-7e20-4444-b34d-56bf5ccb5f74/studiocanal-OPTi2752-Full-Caption2398DF-en-GB-3Play.dfxp 23:42:40 T:2540696480  NOTICE: [Amazon VOD] http://d1l0nb3g075aoz.cloudfront.net/dm/1$AOAGZA014O5RE,51AE880C/videoquality$1080p/d606/9d76/08f3/4d5c-8d9e-e8b90b203840/0a43130d-8ec0-4bd0-a350-a52a15cd63$ 23:42:40 T:3037241344  NOTICE: VideoPlayer: Opening: http://d1l0nb3g075aoz.cloudfront.net/dm/1$AOAGZA014O5RE,51AE880C/videoquality$1080p/d606/9d76/08f3/4d5c-8d9e-e8b90b203840/0a43130d-8ec0-4bd0-a350-a$ 23:42:40 T:3037241344 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED 23:42:40 T:2637165472  NOTICE: Creating InputStream 23:42:41 T:2637165472   ERROR: AddOnLog: InputStream MPEG DASH: Could not open / parse mpdURL (http://d1l0nb3g075aoz.cloudfront.net/dm/1$AOAGZA014O5RE,51AE880C/videoquality$1080p/d606/9d76/08f3/4d5c-8$ Connection to 192.168.20.41 closed by remote host.nputStream - error opening [http://d1l0nb3g075aoz.cloudfront.net/dm/1$AOAGZA014O5RE,51AE880C/videoquality$1080p/d606/9d76/08f3/4d5c-8d9e-e8b90b203840/$ Connection to 192.168.20.41 closed.eoPlayer::OnExit() Nilss-MacBook-Air:~ Nils$ ROR: Playlist Player: skipping unplayable item: 0, path [plugin://plugin.video.amazon-test/?asin=B00U9SAVCK&mode=PlayVideo&name=The+Imitation+Game&adult=0&trailer=0&selbitrat$ 23:42:41 T:3037241344  NOTICE: CVideoPlayer::CloseFile() 23:42:41 T:3037241344  NOTICE: VideoPlayer: waiting for threads to exit 23:42:41 T:3037241344  NOTICE: VideoPlayer: finished waiting 23:42:41 T:3037241344  NOTICE: CVideoPlayer::CloseFile()