Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Database Problem on FireTVStick 4K .... Kodi 18.5 and Mediathekvew 0.6.2 #143

Closed
MartinHH76 opened this issue Dec 25, 2019 · 11 comments
Closed
Labels
done The issue was soled or implemented

Comments

@MartinHH76
Copy link

MartinHH76 commented Dec 25, 2019

Hello everybody.
I do not know when this happened exactly the first time, but formerly I had Kodi 18.2 with Mediathekview 0.xx . Firstly, the update did not work, but finally, after I had copied the filmliste-v2.db into the correct folder on the Stick everything seems to work fine from there on.

Now since a couple of days I decided to update Kodi to the latest recommend Version (18.5) and installed Mediathekview 0.6.2 there. I did so, because mediathekview seems not to update any more and in the Blogs is told that all works(ed) fine and were fixed! Damn it. I experienced something else and do not know how to downgrade or fix. It seems that the DB update is really broken. The functionality of mysql-server does not work either. No wonder since the plug-in needs to download the normal database file first.

It would be good if one had the ability to change the location of mediathekview database to download and to change the type of file.

I am a bit helpless in this case and appreciate some help what to do ?

@MartinHH76
Copy link
Author

MartinHH76 commented Jan 2, 2020

Ah, okay nun auf Deutsch ....
Also ich denke, das Problem liegt in dem Link zum Server denn der aktuelle aktive link zur mediathek filmliste ist wie folgt ...
Datei ./resources/lib/storesqlite.py
DATABASE_URL = 'https://liste.mediathekview.de/filmliste-v2.db.xz'
jedoch ist dieser link tot

hier sollte ein update erfolgen ... und wenn wie in der Zeile davor
DATABASE_URL = 'https://mvupdate.yeasoft.com/filmliste-v2.db.xz'

Workaround A)

  • Non-Programming -
  1. download via file 'https://mvupdate.yeasoft.com/filmliste-v2.db.xz' z.B. mit wget
    command: wget https://mvupdate.yeasoft.com/filmliste-v2.db.xz
  2. entpacken im entspr. Archiver (tar funktioniert hier leider auch nicht - eigentlich tar xvJf *.xz )
    z.B. /usr/bin/unxz filmliste-v2.db.xz (ca. 60 MB)
    man hält dann filmliste-v2.db (ca. 320 MB)
  3. kopieren in das Verzeichnis
    <Interal Storage>/Android/data/org.xbmc.kodi/files/.kodi/userdata/addon_data/plugin.video.mediathekview/

PS: auf meinem FireTV4K Stick ist
<Interal Storage> = /storage/emulated/0

Workaround B)
-minimal Programming-
Editieren der Datei storesqlite.py

  1. download git project
    git clone https://github.com/mediathekview/plugin.video.mediathekview.git
  2. edit file
    open file plugin.video.mediathekview/resources/lib/storesqlite.py
    and change lines

#-- Constants --
#DATABASE_URL = 'https://mvupdate.yeasoft.com/filmliste-v2.db.xz'
DATABASE_URL = 'https://liste.mediathekview.de/filmliste-v2.db.xz'
DATABASE_AKT = 'filmliste-v2.db.update'

abändern auf :
#-- Constants--
DATABASE_URL = 'https://mvupdate.yeasoft.com/filmliste-v2.db.xz'
#DATABASE_URL = 'https://liste.mediathekview.de/filmliste-v2.db.xz'
DATABASE_AKT = 'filmliste-v2.db.update'

also eine Zeile aus- und die andere Zeile einkommtieren. Und anschließend in das richtige Verzeichnis auf dem Android kopieren.
in etwa wie folgendes....
/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.mediathekview/resources/lib

  1. und unter den Einstellungen muss für Database SQLlite die Option 'schnelles update' deaktiviert werden.

  1. Optional könnte man noch eine Auswahl programmieren, dass wenn der eine Link nicht aktiv ist, dann den anderen Link verwendet.
    Datei storesqlite.py :
    ....
    import requests
    ....
    -# -- Constants --
    DATABASE_URL1 = 'https://liste.mediathekview.de/filmliste-v2.db.xz'
    DATABASE_URL2 = 'https://mvupdate.yeasoft.com/filmliste-v2.db.xz'
    DATABASE_AKT = 'filmliste-v2.db.update'
    ....
    def get_native_info(self, full):
    """
    Returns a tuple containing:
    - The URL of the requested update type dispatcher
    - the base name of the downloadable file

     Args:
         full(bool): if `True` a full update is requested
     """
     if check_url(DATABASE_URL1):
         DATABASE_URL = DATABASE_URL1
     else:
         DATABASE_URL = DATABASE_URL2
    
     if full and self.settings.updnative:
         return (DATABASE_URL, DATABASE_AKT)
     return None
    

    def check_url(url):
    """
    codes (some of several):
    200 fine,ok
    307 redirect
    400 bad request
    401 unauthorized
    403 forbidden
    404 not accessible ...
    """
    r = requests.head(url)
    return r.status_code < 400
    ....

Meine Version der storesqlite.py ist hier angefügt.
storesqlite.py.txt


Aber das kann ja keine gewünschte Dauerlösung sein.
Viel Erfolg !

@MartinHH76
Copy link
Author

MartinHH76 commented Jan 2, 2020

wie das aber mit der Variente MySQL Server funktioniert, ist mir noch etwas schleierhaft.
Muss dafür etwa auch erst einmal die SQLlite Datenbankdatei filmliste-v2.db
lokal entpackt vorliegen, um sie dann in den Server hochzuladen ?

Ich danke schon einmal im Voraus die Antwort.

@DaDirnbocher
Copy link

DATABASE_URL = 'https://liste.mediathekview.de/filmliste-v2.db.xz'
jedoch ist dieser link tot

Vielleicht gab es ja ein temporäres Problem, jedenfalls bekam ich gerade von dem Link ein knapp 60 MB grosses *.xz, also tot scheint der link nicht zu sein.

@MartinHH76
Copy link
Author

MartinHH76 commented Jan 5, 2020

Stimmt, nun -nach ca. 2 Wochen- funktioniert der Link / Redirekt wieder.
Jedoch kommt gleich beim Start von Kodi immer noch die Meldung "Mediathekview error : view log". Das Log ist hier aber nicht sehr hilfreich: Es wird versucht auf /tmp, bzw. /usr/tmp zuzugreifen, was so gar nicht existiert, folglich wird ein Update der SqliteDB weiterhin nicht durchgeführt.

Irgendwelche Ideen ? Danke im voraus.

Log Datein von .kodi/ :
2020-01-05 15:47:32.184 T:3157 NOTICE: -----------------------------------------------------------------------
2020-01-05 15:47:32.184 T:3157 NOTICE: Starting Kodi (18.5 Git:20191116-37f51f6e63). Platform: Android ARM 32-bit
2020-01-05 15:47:32.184 T:3157 NOTICE: Using Release Kodi x32 build
2020-01-05 15:47:32.184 T:3157 NOTICE: Kodi compiled 2019-11-16 by Clang 7.0.2 (https://android.googlesource.com/toolchain/clang 003100370607242ddd5815e4a043907ea9004281) (https://android.googlesource.com/toolchain/llvm 1d739ffb0366421d383e04ff80ec2ee591315116) for Android ARM 32-bit API level 21 (API level 21)
2020-01-05 15:47:32.184 T:3157 NOTICE: Running on Amazon AFTMM with Android 7.1.2 API level 25, kernel: Linux ARM 32-bit version 4.4.120+
2020-01-05 15:47:32.186 T:3157 NOTICE: FFmpeg version/source: 4.0.4-Kodi
2020-01-05 15:47:32.187 T:3157 NOTICE: Host CPU: ARMv7 Processor rev 4 (v7l), 4 cores available
2020-01-05 15:47:32.187 T:3157 NOTICE: Product: mantis, Device: mantis, Board: mantis - Manufacturer: Amazon, Brand: Amazon, Model: AFTMM, Hardware: mt8695
2020-01-05 15:47:32.199 T:3157 NOTICE: External storage path = /storage/emulated/0; status = ok
2020-01-05 15:47:32.200 T:3157 NOTICE: ARM Features: Neon enabled
2020-01-05 15:47:32.201 T:3157 NOTICE: special://xbmc/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets
2020-01-05 15:47:32.201 T:3157 NOTICE: special://xbmcbin/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets
2020-01-05 15:47:32.202 T:3157 NOTICE: special://xbmcbinaddons/ is mapped to: /data/user/0/org.xbmc.kodi/cache/apk/assets/addons
2020-01-05 15:47:32.202 T:3157 NOTICE: special://masterprofile/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/userdata
2020-01-05 15:47:32.203 T:3157 NOTICE: special://envhome/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files
2020-01-05 15:47:32.203 T:3157 NOTICE: special://home/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi
2020-01-05 15:47:32.204 T:3157 NOTICE: special://temp/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp
2020-01-05 15:47:32.204 T:3157 NOTICE: special://logpath/ is mapped to: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp
2020-01-05 15:47:32.204 T:3157 NOTICE: The executable running is: /data/app/org.xbmc.kodi-1/lib/arm/libkodi.so
2020-01-05 15:47:32.220 T:3157 NOTICE: Local hostname: 192.168.1.19
2020-01-05 15:47:32.226 T:3157 NOTICE: Log File is located: /storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/temp/kodi.log
2020-01-05 15:47:32.226 T:3157 NOTICE: -----------------------------------------------------------------------
2020-01-05 15:47:32.230 T:3157 INFO: loading settings
2020-01-05 15:47:32.234 T:3157 NOTICE: special://profile/ is mapped to: special://masterprofile/
2020-01-05 15:47:32.289 T:3157 DEBUG: CSkinSettings: no tag found
2020-01-05 15:47:32.289 T:3157 NOTICE: No settings file to load (special://xbmc/system/advancedsettings.xml)
2020-01-05 15:47:32.290 T:3157 NOTICE: No settings file to load (special://masterprofile/advancedsettings.xml)
2020-01-05 15:47:32.290 T:3157 NOTICE: Default Video Player: VideoPlayer
2020-01-05 15:47:32.290 T:3157 NOTICE: Default Audio Player: paplayer
2020-01-05 15:47:32.290 T:3157 NOTICE: Disabled debug logging due to GUI setting. Level 0.
2020-01-05 15:47:32.295 T:3157 NOTICE: Log level changed to "LOG_LEVEL_NORMAL"
2020-01-05 15:47:32.346 T:3157 NOTICE: Running database version Addons27
2020-01-05 15:47:32.564 T:3157 NOTICE: ADDON: audioencoder.kodi.builtin.aac v1.0.0 installed
2020-01-05 15:47:32.564 T:3157 NOTICE: ADDON: audioencoder.kodi.builtin.wma v1.0.0 installed
2020-01-05 15:47:32.564 T:3157 NOTICE: ADDON: game.controller.default v1.0.8 installed
2020-01-05 15:47:32.564 T:3157 NOTICE: ADDON: game.controller.snes v1.0.8 installed
2020-01-05 15:47:32.564 T:3157 NOTICE: ADDON: inputstream.adaptive v2.4.2 installed
2020-01-05 15:47:32.564 T:3157 NOTICE: ADDON: kodi.binary.global.audioengine v1.0.1 installed
2020-01-05 15:47:32.564 T:3157 NOTICE: ADDON: kodi.binary.global.filesystem v1.0.2 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.global.general v1.0.3 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.global.gui v5.12.0 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.global.main v1.0.14 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.global.network v1.0.0 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.audiodecoder v2.0.0 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.audioencoder v2.0.0 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.game v1.1.0 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.imagedecoder v2.0.0 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.inputstream v2.0.8 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.peripheral v1.3.7 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.pvr v5.10.3 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.screensaver v2.0.0 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.vfs v2.0.0 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.videocodec v1.0.1 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.binary.instance.visualization v2.0.1 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: kodi.resource v1.0.0 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: metadata.album.universal v3.1.2 installed
2020-01-05 15:47:32.565 T:3157 NOTICE: ADDON: metadata.artists.universal v4.3.2 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: metadata.common.allmusic.com v3.2.1 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: metadata.common.fanart.tv v3.6.2 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: metadata.common.imdb.com v3.1.4 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: metadata.common.musicbrainz.org v2.2.1 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: metadata.common.theaudiodb.com v2.0.3 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: metadata.common.themoviedb.org v3.1.10 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: metadata.local v1.0.0 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: metadata.themoviedb.org v5.1.10 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: metadata.tvshows.themoviedb.org v3.4.0 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: peripheral.joystick v1.4.8 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: plugin.video.mediathek v0.9.3 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: plugin.video.mediathekview v0.6.2 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: plugin.video.ng v1.0.0 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: plugin.video.popcornflix v6.0.5 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: plugin.video.ted.talks v4.3.1 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: plugin.video.zdf_de_2016 v1.0.16 installed
2020-01-05 15:47:32.566 T:3157 NOTICE: ADDON: repository.xbmc.org v3.1.6 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: resource.images.weathericons.default v1.1.8 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: resource.language.en_gb v2.0.1 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: resource.uisounds.kodi v1.0.0 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: screensaver.xbmc.builtin.black v1.0.33 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: screensaver.xbmc.builtin.dim v1.0.58 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.beautifulsoup4 v4.6.2 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.cache v1.0.3 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.certifi v2019.9.11 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.chardet v3.0.4 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.defusedxml v0.6.0 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.elementtree v1.2.8 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.idna v2.8 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.ijson v2.5 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.lib3sat v1.0.0 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.libmediathek3 v1.5.0 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.libzdf v2.1.7 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.mediathekxmlservice v1.0.0 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.myconnpy v1.1.7 installed
2020-01-05 15:47:32.567 T:3157 NOTICE: ADDON: script.module.parsedom v2.5.2 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: script.module.pil v1.1.7 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: script.module.pycryptodome v3.4.3 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: script.module.requests v2.22.0 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: script.module.routing v0.2.3 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: script.module.t1mlib v1.0.18 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: script.module.urllib3 v1.25.6 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: service.xbmc.versioncheck v0.5.1 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: skin.estouchy v2.0.27 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: skin.estuary v2.0.26 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: vfs.libarchive v1.0.5 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: vfs.rar v2.0.7 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: webinterface.default v18.x-2.4.6 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: xbmc.addon v18.5.0 installed
2020-01-05 15:47:32.568 T:3157 NOTICE: ADDON: xbmc.core v0.1.0 installed
2020-01-05 15:47:32.569 T:3157 NOTICE: ADDON: xbmc.gui v5.14.0 installed
2020-01-05 15:47:32.569 T:3157 NOTICE: ADDON: xbmc.json v10.3.0 installed
2020-01-05 15:47:32.569 T:3157 NOTICE: ADDON: xbmc.metadata v2.1.0 installed
2020-01-05 15:47:32.569 T:3157 NOTICE: ADDON: xbmc.python v2.26.0 installed
2020-01-05 15:47:32.569 T:3157 NOTICE: ADDON: xbmc.webinterface v1.0.0 installed
2020-01-05 15:47:32.899 T:3206 NOTICE: Float is supported
2020-01-05 15:47:32.899 T:3206 NOTICE: Multi channel Float is supported
2020-01-05 15:47:33.364 T:3206 NOTICE: Found 1 Lists of Devices
2020-01-05 15:47:33.366 T:3206 NOTICE: Enumerated AUDIOTRACK devices:
2020-01-05 15:47:33.367 T:3206 NOTICE: Device 1
2020-01-05 15:47:33.367 T:3206 NOTICE: m_deviceName : AudioTrack
2020-01-05 15:47:33.367 T:3206 NOTICE: m_displayName : android
2020-01-05 15:47:33.367 T:3206 NOTICE: m_displayNameExtra: audiotrack
2020-01-05 15:47:33.367 T:3206 NOTICE: m_deviceType : AE_DEVTYPE_HDMI
2020-01-05 15:47:33.367 T:3206 NOTICE: m_channels : FL, FR, FC, LFE, SL, SR, BL, BR, BC, BLOC, BROC
2020-01-05 15:47:33.367 T:3206 NOTICE: m_sampleRates : 32000,44100,48000,88200,96000,176400,192000
2020-01-05 15:47:33.367 T:3206 NOTICE: m_dataFormats : AE_FMT_S16LE,AE_FMT_FLOAT,AE_FMT_RAW,AE_FMT_RAW
2020-01-05 15:47:33.368 T:3206 NOTICE: m_streamTypes : STREAM_TYPE_AC3,STREAM_TYPE_DTSHD_CORE,STREAM_TYPE_DTS_1024,STREAM_TYPE_DTS_2048,STREAM_TYPE_DTS_512,STREAM_TYPE_EAC3
2020-01-05 15:47:33.369 T:3207 NOTICE: Trying to open: samplerate: 44100, channelMask: 12, encoding: 4
2020-01-05 15:47:33.379 T:3207 NOTICE: CAESinkAUDIOTRACK::Initializing with: m_sampleRate: 44100 format: AE_FMT_FLOAT (AE) method: PCM stream-type: PCM-STREAM min_buffer_size: 22688 m_frames: 1418 m_frameSize: 8 channels: 2
2020-01-05 15:47:33.456 T:3157 NOTICE: CDecoderFilter: loading filters from special://masterprofile/decoderfilter.xml
2020-01-05 15:47:33.563 T:3157 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.MPEG2
2020-01-05 15:47:33.581 T:3157 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.HEVC
2020-01-05 15:47:33.583 T:3157 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.MPEG4
2020-01-05 15:47:33.583 T:3157 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.H263
2020-01-05 15:47:33.584 T:3157 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.AVC
2020-01-05 15:47:33.585 T:3157 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.VPX
2020-01-05 15:47:33.585 T:3157 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.VP9
2020-01-05 15:47:33.586 T:3157 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.DVHE.STN
2020-01-05 15:47:33.586 T:3157 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.DVHE.STH
2020-01-05 15:47:33.586 T:3157 NOTICE: Mediacodec decoder: OMX.MTK.VIDEO.DECODER.DVAV.SER
2020-01-05 15:47:33.587 T:3157 NOTICE: Mediacodec decoder: OMX.dolby.ac3.decoder
2020-01-05 15:47:33.587 T:3157 NOTICE: Mediacodec decoder: OMX.dolby.eac3.decoder
2020-01-05 15:47:33.587 T:3157 NOTICE: Mediacodec decoder: OMX.google.mp3.decoder
2020-01-05 15:47:33.587 T:3157 NOTICE: Mediacodec decoder: OMX.google.amrnb.decoder
2020-01-05 15:47:33.587 T:3157 NOTICE: Mediacodec decoder: OMX.google.amrwb.decoder
2020-01-05 15:47:33.589 T:3157 NOTICE: Mediacodec decoder: OMX.google.aac.decoder
2020-01-05 15:47:33.589 T:3157 NOTICE: Mediacodec decoder: OMX.google.g711.alaw.decoder
2020-01-05 15:47:33.589 T:3157 NOTICE: Mediacodec decoder: OMX.google.g711.mlaw.decoder
2020-01-05 15:47:33.589 T:3157 NOTICE: Mediacodec decoder: OMX.google.vorbis.decoder
2020-01-05 15:47:33.589 T:3157 NOTICE: Mediacodec decoder: OMX.google.opus.decoder
2020-01-05 15:47:33.589 T:3157 NOTICE: Mediacodec decoder: OMX.google.raw.decoder
2020-01-05 15:47:33.589 T:3157 NOTICE: Mediacodec decoder: OMX.google.mpeg2.decoder
2020-01-05 15:47:33.590 T:3157 NOTICE: Mediacodec decoder: OMX.google.mpeg4.decoder
2020-01-05 15:47:33.590 T:3157 NOTICE: Mediacodec decoder: OMX.google.h263.decoder
2020-01-05 15:47:33.590 T:3157 NOTICE: Mediacodec decoder: OMX.google.h264.decoder
2020-01-05 15:47:33.590 T:3157 NOTICE: Mediacodec decoder: OMX.google.vp8.decoder
2020-01-05 15:47:33.590 T:3157 NOTICE: Mediacodec decoder: OMX.google.vp9.decoder
2020-01-05 15:47:33.592 T:3157 NOTICE: CAndroidUtils: window resolution: 1920x1080
2020-01-05 15:47:33.592 T:3157 NOTICE: CAndroidUtils: Current resolution: 1920x1080 1920x1080 @ 59.939999 - Full Screen
2020-01-05 15:47:33.592 T:3157 NOTICE: Previous line repeats 1 times.
2020-01-05 15:47:33.593 T:3157 NOTICE: EGL_VERSION = 1.4 Android META-EGL
2020-01-05 15:47:33.593 T:3157 NOTICE: EGL_VENDOR = Android
2020-01-05 15:47:33.593 T:3157 NOTICE: EGL_EXTENSIONS = EGL_KHR_get_all_proc_addresses EGL_ANDROID_presentation_time EGL_KHR_swap_buffers_with_damage EGL_ANDROID_create_native_client_buffer EGL_ANDROID_front_buffer_auto_refresh EGL_KHR_image EGL_KHR_image_base EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_gl_renderbuffer_image EGL_KHR_fence_sync EGL_KHR_create_context EGL_KHR_surfaceless_context EGL_EXT_create_context_robustness EGL_ANDROID_image_native_buffer EGL_KHR_wait_sync EGL_ANDROID_recordable EGL_KHR_partial_update EGL_EXT_buffer_age EGL_KHR_mutable_render_buffer EGL_EXT_yuv_surface
2020-01-05 15:47:33.593 T:3157 NOTICE: EGL_CLIENT_EXTENSIONS = NULL
2020-01-05 15:47:33.601 T:3157 NOTICE: Checking resolution 16
2020-01-05 15:47:33.601 T:3157 NOTICE: CAndroidUtils: SetNativeResolution: 2: 1920x1080 [email protected]
2020-01-05 15:47:33.607 T:3157 NOTICE: GL_VENDOR = Imagination Technologies
2020-01-05 15:47:33.607 T:3157 NOTICE: GL_RENDERER = PowerVR Rogue GE8300
2020-01-05 15:47:33.607 T:3157 NOTICE: GL_VERSION = OpenGL ES 3.2 build 1.9@4893595
2020-01-05 15:47:33.607 T:3157 NOTICE: GL_SHADING_LANGUAGE_VERSION = OpenGL ES GLSL ES 3.20 build 1.9@4893595
2020-01-05 15:47:33.607 T:3157 NOTICE: GL_EXTENSIONS = GL_EXT_debug_marker GL_ANDROID_extension_pack_es31a GL_EXT_blend_minmax GL_EXT_buffer_storage GL_EXT_clear_texture GL_EXT_color_buffer_float GL_EXT_conservative_depth GL_EXT_copy_image GL_EXT_discard_framebuffer GL_EXT_draw_buffers GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_gpu_shader5 GL_EXT_multi_draw_arrays GL_EXT_multisampled_render_to_texture GL_EXT_occlusion_query_boolean GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_pvrtc_sRGB GL_EXT_read_format_bgra GL_EXT_robustness GL_EXT_separate_shader_objects GL_EXT_shader_framebuffer_fetch GL_EXT_shader_group_vote GL_EXT_shader_io_blocks GL_EXT_shader_non_constant_global_initializers GL_EXT_shader_pixel_local_storage GL_EXT_shader_pixel_local_storage2 GL_EXT_shader_texture_lod GL_EXT_shadow_samplers GL_EXT_sparse_texture GL_EXT_sRGB_write_control GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_filter_anisotropic GL_EXT_texture_format_BGRA8888 GL_EXT_texture_rg GL_EXT_texture_sRGB_decode GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_EXT_YUV_target GL_IMG_bindless_texture GL_IMG_framebuffer_downsample GL_IMG_multisampled_render_to_texture GL_IMG_program_binary GL_IMG_read_format GL_IMG_shader_binary GL_IMG_texture_compression_pvrtc GL_IMG_texture_compression_pvrtc2 GL_IMG_texture_format_BGRA8888 GL_IMG_texture_npot GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_depth_texture GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_EGL_image GL_OES_EGL_image_external GL_OES_EGL_image_external_essl3 GL_OES_EGL_sync GL_OES_element_index_uint GL_OES_fragment_precision_high GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_get_program_binary GL_OES_gpu_shader5 GL_OES_mapbuffer GL_OES_packed_depth_stencil GL_OES_required_internalformat GL_OES_rgb8_rgba8 GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_image_atomic GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_standard_derivatives GL_OES_surfaceless_context GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_float GL_OES_texture_half_float GL_OES_texture_npot GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_vertex_array_object GL_OES_vertex_half_float GL_OVR_multiview GL_OVR_multiview2 GL_OVR_multiview_multisampled_render_to_texture
2020-01-05 15:47:33.735 T:3157 NOTICE: CAndroidUtils: SetNativeResolution: 2: 1920x1080 [email protected]
2020-01-05 15:47:34.589 T:3267 NOTICE: Running database version Addons27
2020-01-05 15:47:34.596 T:3267 NOTICE: Running database version ViewModes6
2020-01-05 15:47:34.615 T:3267 NOTICE: Running database version Textures13
2020-01-05 15:47:34.642 T:3267 NOTICE: Running database version MyMusic72
2020-01-05 15:47:34.676 T:3267 NOTICE: Running database version MyVideos116
2020-01-05 15:47:34.684 T:3267 NOTICE: Running database version TV32
2020-01-05 15:47:34.697 T:3267 NOTICE: Running database version Epg12
2020-01-05 15:47:34.924 T:3157 NOTICE: load skin from: /data/user/0/org.xbmc.kodi/cache/apk/assets/addons/skin.estuary (version: 2.0.26)
2020-01-05 15:47:35.941 T:3157 WARNING: JSONRPC: Could not parse type "Setting.Details.SettingList"
2020-01-05 15:47:36.046 T:3157 NOTICE: Register - new keyboard device registered on application->keyboard: Keyboard (0000:0000)
2020-01-05 15:47:36.047 T:3157 NOTICE: Register - new mouse device registered on application->mouse: Mouse (0000:0000)
2020-01-05 15:47:36.210 T:3157 NOTICE: Loading player core factory settings from special://xbmc/system/playercorefactory.xml.
2020-01-05 15:47:36.221 T:3157 NOTICE: Loaded playercorefactory configuration
2020-01-05 15:47:36.222 T:3157 NOTICE: Loading player core factory settings from special://masterprofile/playercorefactory.xml.
2020-01-05 15:47:36.222 T:3157 NOTICE: special://masterprofile/playercorefactory.xml does not exist. Skipping.
2020-01-05 15:47:36.632 T:3157 NOTICE: initialize done
2020-01-05 15:47:36.670 T:3157 NOTICE: Running the application...
2020-01-05 15:47:36.933 T:3157 NOTICE: starting zeroconf publishing
2020-01-05 15:47:36.933 T:3350 NOTICE: ES: Starting UDP Event server on port 9777
2020-01-05 15:47:36.934 T:3350 NOTICE: UDP: Listening on port 9777 (ipv6 : false)
2020-01-05 15:47:38.003 T:3344 ERROR: EXCEPTION Thrown (PythonToCppException) : -->Python callback/script returned the following error<--
- NOTE: IGNORING THIS CAN LEAD TO MEMORY LEAKS!
Error Type: <type 'exceptions.IOError'>
Error Contents: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
Traceback (most recent call last):
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.mediathekview/service.py", line 29, in
from resources.lib.service import MediathekViewService
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.mediathekview/resources/lib/service.py", line 17, in
from resources.lib.updater import MediathekViewUpdater
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/plugin.video.mediathekview/resources/lib/updater.py", line 24, in
import ijson
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.ijson/lib/ijson/init.py", line 28, in
backend = _default_backend()
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.ijson/lib/ijson/init.py", line 24, in _default_backend
return importlib.import_module('ijson.backends.' + backend)
File "/home/jenkins/workspace/Android-ARM-Leia/tools/depends/xbmc-depends/arm-linux-androideabi-21-release/lib/python2.7/importlib/init.py", line 37, in import_module
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.ijson/lib/ijson/backends/yajl2.py", line 12, in
yajl = backends.find_yajl_ctypes(2)
File "/storage/emulated/0/Android/data/org.xbmc.kodi/files/.kodi/addons/script.module.ijson/lib/ijson/backends/init.py", line 34, in find_yajl_ctypes
so_name = util.find_library('yajl')
File "/home/jenkins/workspace/Android-ARM-Leia/tools/depends/xbmc-depends/arm-linux-androideabi-21-release/lib/python2.7/ctypes/util.py", line 274, in find_library
File "/home/jenkins/workspace/Android-ARM-Leia/tools/depends/xbmc-depends/arm-linux-androideabi-21-release/lib/python2.7/ctypes/util.py", line 99, in _findLib_gcc
File "/home/jenkins/workspace/Android-ARM-Leia/tools/depends/xbmc-depends/arm-linux-androideabi-21-release/lib/python2.7/tempfile.py", line 463, in NamedTemporaryFile
File "/home/jenkins/workspace/Android-ARM-Leia/tools/depends/xbmc-depends/arm-linux-androideabi-21-release/lib/python2.7/tempfile.py", line 275, in gettempdir
File "/home/jenkins/workspace/Android-ARM-Leia/tools/depends/xbmc-depends/arm-linux-androideabi-21-release/lib/python2.7/tempfile.py", line 217, in _get_default_tempdir
IOError: [Errno 2] No usable temporary directory found in ['/tmp', '/var/tmp', '/usr/tmp', '/']
-->End of Python script error report<--
2020-01-05 15:48:55.281 T:5721 ERROR: DoWork - Direct texture file loading failed for androidapp://sources/apps/com.amazon.ftv.screensaver.png
2020-01-05 15:49:33.126 T:3157 NOTICE: Stopping player
2020-01-05 15:49:33.126 T:3157 NOTICE: Storing total System Uptime
2020-01-05 15:49:33.128 T:3157 NOTICE: Saving settings
2020-01-05 15:49:33.155 T:3157 NOTICE: Saving skin settings
2020-01-05 15:49:33.163 T:3157 NOTICE: Stopping all
2020-01-05 15:49:33.164 T:3157 NOTICE: ES: Stopping event server
2020-01-05 15:49:33.166 T:3157 NOTICE: stopping zeroconf publishing
2020-01-05 15:49:34.056 T:3350 NOTICE: ES: UDP Event server stopped
2020-01-05 15:49:34.170 T:3157 NOTICE: Application stopped
2020-01-05 15:49:34.371 T:3157 NOTICE: XBApplicationEx: destroying...
2020-01-05 15:49:34.394 T:3157 NOTICE: unload skin
2020-01-05 15:49:34.476 T:3157 NOTICE: CWinSystemAndroid::DestroyWindow
2020-01-05 15:49:34.487 T:3157 NOTICE: unload sections
2020-01-05 15:49:34.518 T:3157 NOTICE: CWinSystemAndroid::DestroyWindowSystem
2020-01-05 15:49:34.575 T:3157 NOTICE: XBApplicationEx: application stopped

@DaDirnbocher
Copy link

Irgendwelche Ideen ? Danke im voraus.

ijson in der Version 2.5? Wenn ja, dann hilft ein Downgrade:

https://forum.mediathekview.de/post/18722

@codingPF
Copy link
Member

Hi @MartinHH76,

ich habe für dieses Thema eine fix erstellt der ganz ohne ijson auskommt. Das scheint mir auch der richtige Weg zu sein um Komplexität da raus zu nehmen.
Leider habe ich keine FireTVStick.
Hast du Interesse daran hier zu unterstützen?

@Marmos76
Copy link

Das wäre super. Kann ich gern ausprobieren. Wo hast Du es ? Local oder bereits committed ?
Viele Grüße,
M.

@codingPF
Copy link
Member

Super, schau mal hier in den Anhang...geht das so?
plugin.video.mediathekview-0.6.5.zip

@Marmos76
Copy link

Marmos76 commented Apr 29, 2020

Yeahhhhhhh!
Works fine on an amazon Fire K4 Stick mit Kodi 18.6 !! Das ist das was ich benötigt habe!!
Wie hast Du das hinbekommen ? Ich hatte in den Source Code geschaut und habe den Code komplett nicht verstanden wie die Sqlite Datei heruntergeladen wird ... also den Speicherort.

Dankeschön !!

@codingPF
Copy link
Member

Sehr schön...
Ne, dafür musste schon etwas mehr umgebaut werden.
Es wäre schön wenn du noch einen ein paar mal schaust, dass auch neue Sendungen sauber in die Liste aufgenommen werden - also ob der (delta)Updater korrekt funktioniert.

@codingPF codingPF added the done The issue was soled or implemented label Apr 29, 2020
@codingPF
Copy link
Member

Released to official Kodi Repo in v0.6.4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
done The issue was soled or implemented
Projects
None yet
Development

No branches or pull requests

4 participants