linuxserver / docker-webgrabplus

GNU General Public License v3.0
23 stars 22 forks source link

[BUG] Impossible to grab EPG with EU date format (DD/MM/YYYY) #60

Closed Nindohana closed 1 year ago

Nindohana commented 1 year ago

Is there an existing issue for this?

Current Behavior

date in index 12/03/2022 differs from 'today' [ Debug ] date of first show = 12/03/2022

Error when reading the date, can't find any EPG for this wrong date.

Expected Behavior

Should be able to pickup the correct EPG for today. The same configs works in windows.

Steps To Reproduce

Freshly created a new docker container via compose. Updated the config with the channel "France 2" from the "New Caledonia" channel file. Updated the cron job to run every minutes for trying purpose.

Error.

Environment

- OS: Proxmox/Debian
- How docker service was installed: Using Proxmox Helper Script from TTeck

CPU architecture

x86-64

Docker creation

---
version: "2.1"
services:
  webgrabplus:
    image: lscr.io/linuxserver/webgrabplus:latest
    container_name: webgrabplus
    hostname: webgrabplus

    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Pacific/Noumea
    volumes:
      - /home/webgrabplus:/config
      - /home/webgrabplus:/data
    restart: unless-stopped

Container logs

root@webgrabplus:/# docker logs linuxserver.io
bash: docker: command not found

[        ] 
[        ]             WebGrab+Plus/w MDB & REX Postprocess -- version V5.0.1.0            
[        ] 
[        ]                                 Jan van Straaten                                
[        ]                              Francis De Paemeleere                              
[        ] 
[        ]  thanks to Paul Weterings, Mat8861, Blackbear199 and all the contributing users 
[        ] --------------------------------------------------------------------------------
[        ] 
[        ] Job started at 03/12/2022 09:39:00
[  Debug ] 
[  Debug ] Running  on: Unix 6.0.9.0
[  Debug ] Environment: 6.0.11
[  Debug ] 
[  Debug ] Loading timezone data
[  Debug ] Embedded timezones source: WG.common.timezone.timezonesdata.txt
[  Debug ] Reading config file: /config/WebGrab++.config.xml
[  Info  ] Checking License ..
[  Info  ] For License request/update data, see WGLicense.log.txt
[Warning ] timezone=UTC+00:00 mapped with timezone_id "Atlantic/Canary"
[  Debug ] 
[  Info  ] found: /config/siteini.pack/Misc/dummy.ini -- Revision 02
[  Debug ] 
[  Info  ] found: /config/siteini.pack/Networks/canalplus-caledonie.com.ini -- Revision 03
[  Debug ] xmltv input file - /data/guide.xml - found
[  Debug ] 1 superfluous shows removed
[  Info  ] Found existing channel (xmltv_id=Example) in the config file
[  Info  ] Found existing channel (xmltv_id=FRANCE 2) in the config file
[  Info  ] 
[  Info  ] 
[  Info  ] 
[  Info  ]       i=index  .=same  c=change  g=gab  r=replace  n=new
[  Info  ] 
[  Info  ] 
[  Info  ] Group (0) :
[  Info  ] update requested for - 2 - out of - 2 - channels for 1 day(s)
[  Debug ] 
[  Info  ] (   1/2   ) DUMMY -- chan. (xmltv_id=Example) -- mode Force
[  Info  ] 
[  Info  ]    Summary for update of       Example
[  Info  ]      missing shows added       0
[  Info  ]      changed shows updated     0
[  Info  ]      new shows added           1
[  Info  ]      unchanged shows inspected 0
[  Info  ]      total after update        1

[  Debug ] 
[  Info  ] (   2/2   ) CANALPLUS-CALEDONIE.COM -- chan. (xmltv_id=FRANCE 2) -- mode Force
[  Debug ] index_date 'force' option detected
[  Debug ] date in index 12/03/2022 differs from 'today'
[  Debug ] date of first show = 12/03/2022
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 06:00
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 06:30
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 08:00
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 08:15
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 09:30
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 09:55
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 10:15
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 10:20
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 10:40
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 10:50
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 11:20
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 11:55
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 12:45
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 12:54
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 12:55
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 13:44
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 13:45
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 13:50
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 13:55
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 15:05
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 16:15
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 17:05
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 17:55
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 18:05
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 18:40
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 19:55
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 20:00
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 20:35
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 20:38
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 20:39
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 20:45
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 21:10
[  Debug ]    skipped : show that happened before 'today' @ 12/03/2022 22:40
[  Debug ]    skipped : show that happened before 'today' @ 13/03/2022 00:25
[  Debug ]    skipped : show that happened before 'today' @ 13/03/2022 01:55
[  Debug ]    skipped : show that happened before 'today' @ 13/03/2022 03:30
[  Debug ]    skipped : show that happened before 'today' @ 13/03/2022 04:15
[  Debug ]    skipped : show that happened before 'today' @ 13/03/2022 04:30
[  Debug ]    skipped : show that happened before 'today' @ 13/03/2022 05:25
[  Debug ]    skipped  : last show, no next startime to use as stop
[  Info  ] 
[  Info  ]    Summary for update of       FRANCE 2
[  Info  ]      no changes, no update necessary !
[  Info  ]      unchanged shows inspected 0
[  Info  ]      total after update        0

[  Debug ] 
[  Debug ] 1 shows in 2 channels
[  Debug ] 0 updated shows
[  Debug ] 1 new shows added
[  Info  ] 
[  Info  ] 
[        ] Job finished at 03/12/2022 09:39:06 done in 6s
github-actions[bot] commented 1 year ago

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

Nindohana commented 1 year ago

Hello, Any updates on this?

pagdot commented 1 year ago

This seems like an issue with the application (webgrabplus) and not the container provided by linuxserver specifically

Nindohana commented 1 year ago

It seems to me that the container is in English with US date format (MM-DD-YYYY). I confirmed that the application's config is working properly on another system with the correct date and language attributes.