linuxserver / docker-tvheadend

GNU General Public License v3.0
169 stars 90 forks source link

Picons jumbled up in EPG #205

Closed redfoot0 closed 2 years ago

redfoot0 commented 2 years ago

linuxserver.io


Expected Behavior

Icons should be assigned to correct channels

Current Behavior

Some assigned to correct channels, other not assigned correct e.g. "47" icon assigned to BBC One HD, BBC One icon assigned to BBC Two and vice versa

Steps to Reproduce

  1. New default container setup
  2. Tick Over-the-air: UK Freeview as an EPG grabber module (required expert settings enabled)
  3. Run wizard to configure UK TV via local dvb card on raspberry pi 4b
  4. Do not change any defaults i.e. picons setup is default

Environment

OS: Debian 11.5 - Raspberry Pi OS Lite 64bit CPU architecture: arm64 How docker service was installed:

official docker repo

Command used to create docker container (run/create/compose/screenshot)

compose config: version: "3" services: tvheadend: image: lscr.io/linuxserver/tvheadend:latest container_name: tvheadend environment: - PUID=1000 - PGID=1000 - TZ=Europe/London volumes: - /home/user/tvheadend:/config - /media/data/share/videos/tvrecordings:/recordings ports: - 9981:9981 - 9982:9982 devices: - /dev/dvb:/dev/dvb #optional restart: unless-stopped ## Docker logs

[custom-init] No custom services found, skipping... [custom-init] Legacy service folder /config/custom-services.d is empty, deleting... s6-rc: info: service s6rc-oneshot-runner: starting s6-rc: info: service s6rc-oneshot-runner successfully started s6-rc: info: service fix-attrs: starting s6-rc: info: service 00-legacy: starting s6-rc: info: service 00-legacy successfully started s6-rc: info: service fix-attrs successfully started s6-rc: info: service legacy-cont-init: starting cont-init: info: running /etc/cont-init.d/01-envfile cont-init: info: /etc/cont-init.d/01-envfile exited 0 cont-init: info: running /etc/cont-init.d/01-migrations [migrations] started [migrations] no migrations found cont-init: info: /etc/cont-init.d/01-migrations exited 0 cont-init: info: running /etc/cont-init.d/10-adduser


      _         ()
     | |  ___   _    __
     | | / __| | |  /  \
     | | \__ \ | | | () |
     |_| |___/ |_|  \__/

Brought to you by linuxserver.io

To support LSIO projects visit: https://www.linuxserver.io/donate/

GID/UID

User uid: 1000 User gid: 1000

cont-init: info: /etc/cont-init.d/10-adduser exited 0 cont-init: info: running /etc/cont-init.d/30-config Setting permissions cont-init: info: /etc/cont-init.d/30-config exited 0 cont-init: info: running /etc/cont-init.d/50-gid-video cont-init: info: /etc/cont-init.d/50-gid-video exited 0 cont-init: info: running /etc/cont-init.d/99-custom-files [custom-init] Legacy files folder /config/custom-cont-init.d is empty, deleting... cont-init: info: /etc/cont-init.d/99-custom-files exited 0 s6-rc: info: service legacy-cont-init successfully started s6-rc: info: service init-mods: starting s6-rc: info: service init-mods successfully started s6-rc: info: service init-mods-package-install: starting s6-rc: info: service init-mods-package-install successfully started s6-rc: info: service init-mods-end: starting s6-rc: info: service init-mods-end successfully started s6-rc: info: service init-services: starting s6-rc: info: service init-services successfully started s6-rc: info: service legacy-services: starting services-up: info: copying legacy longrun tvheadend (no readiness notification) s6-rc: info: service legacy-services successfully started s6-rc: info: service 99-ci-service-check: starting [ls.io-init] done. s6-rc: info: service 99-ci-service-check successfully started 2022-09-20 16:42:41.933 [ INFO] main: Log started 2022-09-20 16:42:41.934 [ INFO] http: Starting HTTP server 0.0.0.0:9981 2022-09-20 16:42:41.934 [ INFO] htsp: Starting HTSP server 0.0.0.0:9982 2022-09-20 16:42:41.937 [ INFO] config: backup: migrating config from 4.3-2030~gca756e3f7 (running 4.3-2033~g4741b3c19) 2022-09-20 16:42:41.937 [ INFO] config: backup: running, output file /config/backup/4.3-2030~gca756e3f7.tar.bz2 2022-09-20 16:42:41.939 [ INFO] spawn: Executing "/bin/tar" 2022-09-20 16:42:45.040 [ INFO] config: backup: completed 2022-09-20 16:42:45.049 [ INFO] config: loaded 2022-09-20 16:42:45.050 [ INFO] config: scanfile (re)initialization with path 2022-09-20 16:42:45.051 [ INFO] transcode: 'video' context type registered 2022-09-20 16:42:45.051 [ INFO] transcode: 'audio' context type registered 2022-09-20 16:42:45.051 [ INFO] transcode: '&TVHH264Decoder' decoder helper registered 2022-09-20 16:42:45.051 [ INFO] transcode: '&TVHTHEORADecoder' decoder helper registered 2022-09-20 16:42:45.051 [ INFO] transcode: '&TVHAACDecoder' decoder helper registered 2022-09-20 16:42:45.051 [ INFO] transcode: '&TVHVORBISDecoder' decoder helper registered 2022-09-20 16:42:45.051 [ INFO] transcode: '&TVHOPUSDecoder' decoder helper registered 2022-09-20 16:42:45.051 [ INFO] transcode: '&TVHMPEG2VIDEOEncoder' encoder helper registered 2022-09-20 16:42:45.051 [ INFO] transcode: '&TVHH264Encoder' encoder helper registered 2022-09-20 16:42:45.051 [ INFO] transcode: '&TVHHEVCEncoder' encoder helper registered 2022-09-20 16:42:45.051 [ INFO] transcode: '&TVHAACEncoder' encoder helper registered 2022-09-20 16:42:45.052 [ INFO] codec: 'mpeg2video' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'mp2' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'aac' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'vorbis' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'flac' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'libx264' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'libx265' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'libvpx' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'libvpx-vp9' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'libtheora' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'libvorbis' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'libopus' encoder registered 2022-09-20 16:42:45.052 [ INFO] codec: 'webtv-vorbis' codec profile created 2022-09-20 16:42:45.052 [ INFO] codec: 'webtv-vp8' codec profile created 2022-09-20 16:42:45.052 [ INFO] codec: 'webtv-h264' codec profile created 2022-09-20 16:42:45.052 [ INFO] codec: 'webtv-aac' codec profile created 2022-09-20 16:42:45.063 [ INFO] descrambler: adding CAID 2600/FFFF as ConstCW interval 10000ms pc 20 ep default (BISS) 2022-09-20 16:42:45.063 [ INFO] descrambler: adding CAID 0E00/FFFF as MultiPID interval 1000ms pc 2 ep default (PowerVu) 2022-09-20 16:42:45.077 [ INFO] iptv: Using 2 input thread(s) 2022-09-20 16:42:45.096 [ INFO] linuxdvb: adapter added /dev/dvb/adapter0 2022-09-20 16:42:45.115 [ INFO] dvr: Creating new configuration '' 2022-09-20 16:42:45.117 [ INFO] epggrab: module uk_freesat created 2022-09-20 16:42:45.117 [ INFO] epggrab: module uk_freesat_eit created 2022-09-20 16:42:45.117 [ INFO] epggrab: module uk_freeview created 2022-09-20 16:42:45.117 [ INFO] epggrab: module nz_freeview2 created 2022-09-20 16:42:45.117 [ INFO] epggrab: module nz_freeview1 created 2022-09-20 16:42:45.117 [ INFO] epggrab: module viasat_baltic created 2022-09-20 16:42:45.117 [ INFO] epggrab: module Bulsatcom_39E created 2022-09-20 16:42:45.117 [ INFO] epggrab: module uk_cable_virgin created 2022-09-20 16:42:45.117 [ INFO] epggrab: module eit created 2022-09-20 16:42:45.117 [ INFO] epggrab: module psip created 2022-09-20 16:42:45.128 [ INFO] epggrab: module opentv-skyit created 2022-09-20 16:42:45.129 [ INFO] epggrab: module opentv-skyuk created 2022-09-20 16:42:45.130 [ INFO] epggrab: module opentv-skynz created 2022-09-20 16:42:45.130 [ INFO] epggrab: module opentv-ausat created 2022-09-20 16:42:45.130 [ INFO] epggrab: module xmltv created 2022-09-20 16:42:45.134 [ INFO] spawn: Executing "/usr/bin/tv_find_grabbers" 2022-09-20 16:42:46.070 [ INFO] scanfile: DVB-S - loaded 1 regions with 116 networks 2022-09-20 16:42:46.070 [ INFO] scanfile: DVB-T - loaded 45 regions with 1130 networks 2022-09-20 16:42:46.070 [ INFO] scanfile: DVB-C - loaded 19 regions with 67 networks 2022-09-20 16:42:46.070 [ INFO] scanfile: ATSC-T - loaded 2 regions with 12 networks 2022-09-20 16:42:46.070 [ INFO] scanfile: ATSC-C - loaded 1 regions with 5 networks 2022-09-20 16:42:46.070 [ INFO] scanfile: ISDB-T - loaded 2 regions with 1297 networks 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_wg created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_file created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_tr created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_zz_sdjson_sqlite created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_is created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_eu_epgdata created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_na_dtv created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_zz_sdjson created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_na_dd created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_combiner created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_it created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_fi_sv created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_uk_tvguide created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_na_tvmedia created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_ar created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_fr created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_ch_search created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_fi created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_huro created 2022-09-20 16:42:54.411 [ INFO] epggrab: module /usr/bin/tv_grab_eu_xmltvse created 2022-09-20 16:42:54.414 [ INFO] tbl-eit: module eit - scraper disabled by config 2022-09-20 16:42:54.414 [ INFO] tbl-eit: module uk_freeview - scraper disabled by config 2022-09-20 16:42:54.416 [ INFO] epgdb: gzip format detected, inflating (ratio 22.2% deflated size 1835198) 2022-09-20 16:42:54.502 [ INFO] epgdb: parsing 8258958 bytes 2022-09-20 16:42:55.410 [ INFO] epgdb: loaded v3 2022-09-20 16:42:55.410 [ INFO] epgdb: config 1 2022-09-20 16:42:55.410 [ INFO] epgdb: broadcasts 21898 2022-09-20 16:42:55.414 [ INFO] dvr: Purging obsolete autorec entries for current schedule 2022-09-20 16:42:55.424 [ NOTICE] START: HTS Tvheadend version 4.3-2033~g4741b3c19 started, running as PID:182 UID:1000 GID:1000, CWD:/run/s6/legacy-services/tvheadend CNF:/config 2022-09-20 16:42:55.426 [ INFO] htsp: Got connection from 192.168.1.90 2022-09-20 16:42:55.426 [ INFO] htsp: 192.168.1.90: Welcomed client software: Kodi Media Center (HTSPv34) 2022-09-20 16:42:55.426 [ INFO] htsp: 192.168.1.90 [ Kodi Media Center ]: Disconnected 2022-09-20 16:42:57.086 [ INFO] htsp: Got connection from 192.168.1.90 2022-09-20 16:42:57.086 [ INFO] htsp: 192.168.1.90: Welcomed client software: Kodi Media Center (HTSPv34) 2022-09-20 16:42:57.087 [ INFO] htsp: 192.168.1.90 [ Kodi Media Center ]: Identified as user '' 2022-09-20 16:43:09.368 [ INFO] mpegts: 490MHz in DVB-T Network - tuning on Sony CXD2880 #0 : DVB-T #0 2022-09-20 16:43:09.368 [ INFO] subscription: 0001: "epggrab" subscribing to mux "490MHz", weight: 4, adapter: "Sony CXD2880 #0 : DVB-T #0", network: "DVB-T Network", service: "Raw PID Subscription" 2022-09-20 16:43:10.598 [WARNING] linuxdvb: Unhandled ERROR_BLOCK_COUNT scale: 0 2022-09-20 16:43:10.598 [WARNING] linuxdvb: Unhandled TOTAL_BLOCK_COUNT scale: 0 2022-09-20 16:45:41.502 [ ERROR] http: 192.168.1.90: HTTP/1.1 HEAD (2) /imagecache/70 -- 404 2022-09-20 16:49:47.883 [ INFO] htsp: 192.168.1.90 [ | Kodi Media Center ]: Disconnected 2022-09-20 16:50:18.383 [ INFO] htsp: Got connection from 192.168.1.90 2022-09-20 16:50:18.392 [ INFO] htsp: 192.168.1.90: Welcomed client software: Kodi Media Center (HTSPv34) 2022-09-20 16:50:18.395 [ INFO] htsp: 192.168.1.90 [ Kodi Media Center ]: Identified as user '' 2022-09-20 16:50:46.333 [ ERROR] http: 192.168.1.90: HTTP/1.1 HEAD (2) /imagecache/70 -- 404 2022-09-20 16:50:46.398 [ ERROR] http: 192.168.1.90: HTTP/1.1 HEAD (2) /imagecache/70 -- 404 2022-09-20 16:50:46.814 [ ERROR] http: 192.168.1.90: HTTP/1.1 HEAD (2) /imagecache/70 -- 404 2022-09-20 16:51:31.662 [ ERROR] http: 192.168.1.90: HTTP/1.1 HEAD (2) /imagecache/70 -- 404 2022-09-20 16:53:10.090 [ INFO] htsp: Got connection from 192.168.1.112 2022-09-20 16:53:10.090 [ INFO] htsp: 192.168.1.112: Welcomed client software: Kodi Media Center (HTSPv34) 2022-09-20 16:53:10.090 [ INFO] htsp: 192.168.1.112 [ Kodi Media Center ]: Identified as user '' 2022-09-20 16:53:14.368 [WARNING] epggrab: UK: Freeview - data completion timeout for 490MHz in DVB-T Network 2022-09-20 16:53:14.368 [ INFO] subscription: 0001: "epggrab" unsubscribing 2022-09-20 16:53:15.369 [ INFO] mpegts: 529.833MHz in DVB-T Network - tuning on Sony CXD2880 #0 : DVB-T #0 2022-09-20 16:53:15.369 [ INFO] subscription: 0003: "epggrab" subscribing to mux "529.833MHz", weight: 4, adapter: "Sony CXD2880 #0 : DVB-T #0", network: "DVB-T Network", service: "Raw PID Subscription" 2022-09-20 16:53:45.354 [ INFO] htsp: 192.168.1.112 [ | Kodi Media Center ]: Disconnected 2022-09-20 16:54:18.447 [ INFO] subscription: 0005: "192.168.1.90 [ | Kodi Media Center ]" subscribing on channel "HGTV", weight: 100, adapter: "Sony CXD2880 #0 : DVB-T #0", network: "DVB-T Network", mux: "529.833MHz", service: "HGTV", profile="htsp", hostname="192.168.1.90", username="192.168.1.90", client="Kodi Media Center" 2022-09-20 17:03:20.368 [WARNING] epggrab: UK: Freeview - data completion timeout for 529.833MHz in DVB-T Network 2022-09-20 17:03:20.368 [ INFO] subscription: 0003: "epggrab" unsubscribing

github-actions[bot] commented 2 years ago

Thanks for opening your first issue here! Be sure to follow the bug or feature issue templates!

redfoot0 commented 2 years ago

TVH side, the icons are assigned correctly. The issue was with Kodi - had the same issue on 2 different Kodi installations, 1 x 19.3, 1 x 19.4. Had to set tvh client config back to default and clear pvr related data and configure tvh client from scratch. The icons assigned correctly