Skip to content

[WIP] Add zap2epg TV grabber to tvheadend - #4680

Merged
th0ma7 merged 11 commits into
SynoCommunity:masterfrom
th0ma7:zap2epg
Jun 19, 2021
Merged

th0ma7 merged 11 commits into
SynoCommunity:masterfrom
th0ma7:zap2epg

Conversation

@th0ma7

@th0ma7 th0ma7 commented Jun 14, 2021 •

Copy link
Copy Markdown
Contributor

Motivation: TVH lacks of built-in TV grabber as the XMLTV project is pretty much all using perl with target compiled CPAN modules making cross-build not sustainable with the framework. Changes in this PR incorporate zap2epg python EPG grabber directly to TVH. This allows using built-in routine tasks from TVH without needing additional cron jobs.
Linked issues: Superseeds previous zap2it standalone package #4608 and include requests python wheels which closes #4678

Checklist

  • Build rule all-supported completed successfully
  • Package upgrade completed successfully
  • New installation of package completed successfully

Notes

@th0ma7 th0ma7 mentioned this pull request Jun 14, 2021
3 tasks done
@th0ma7

th0ma7 commented Jun 15, 2021

Copy link
Copy Markdown
Contributor Author

@hgy59 I thought it was that easy of adding a WHEELS section to the spk to get the python requests library to work.

I'm still getting ModuleNotFoundError: No module named 'requests'.
Installer log file is relatively useless:

# cat tvheadend_install.log 
Tue Jun 15 16:27:47 EDT 2021
===> Step preuninst. USER=tvheadend GROUP=sc-media SHARE_PATH=
Tue Jun 15 16:27:51 EDT 2021
===> Step postuninst. USER=tvheadend GROUP=sc-media SHARE_PATH=

Advices/pointers to solve this would be much appreciated...
(now thinking, does it install python wheels only at install time or also during upgrades?)

@th0ma7 th0ma7 mentioned this pull request Jun 16, 2021
3 tasks

@hgy59 hgy59 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update some outdated files.

Comment thread spk/tvheadend/Makefile Resolved
Comment thread spk/tvheadend/src/service-setup.sh Resolved
Comment thread spk/tvheadend/src/service-setup.sh Resolved
Comment thread spk/tvheadend/Makefile Resolved
Comment thread spk/tvheadend/src/service-setup.sh Resolved
Comment thread spk/tvheadend/src/service-setup.sh Resolved
@th0ma7

th0ma7 commented Jun 17, 2021

Copy link
Copy Markdown
Contributor Author

PR pending merge of edit4ever/script.module.zap2epg#37 to confirm download URL.

@th0ma7

th0ma7 commented Jun 17, 2021

Copy link
Copy Markdown
Contributor Author

please update some outdated files.

Thnx for the review @hgy59, much appreciated. As mentionned some of the changes requested are already present in PR #4545.

@th0ma7 th0ma7 mentioned this pull request Jun 19, 2021
3 tasks
@th0ma7
th0ma7 merged commit 63d036d into SynoCommunity:master Jun 19, 2021
@th0ma7
th0ma7 deleted the zap2epg branch June 19, 2021 09:52
Comment thread cross/zap2epg/Makefile
PKG_NAME = zap2epg
PKG_VERS = 3.0
PKG_EXT = tar.gz
#PKG_DIST_NAME = v$(PKG_VERS).$(PKG_EXT)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

leftover

Comment thread cross/zap2epg/Makefile

include ../../mk/spksrc.install-resources.mk

.PHONY: zap2it_install

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

replace zap2it by zap2epg

@hgy59

hgy59 commented Jun 19, 2021

Copy link
Copy Markdown
Contributor

sorry my latest review is too late...

@th0ma7

th0ma7 commented Jun 20, 2021

Copy link
Copy Markdown
Contributor Author

sorry my latest review is too late...

@hgy59 never too late! I'll port it over to #4686

AlexPresso pushed a commit to AlexPresso/spksrc that referenced this pull request Jan 30, 2025
* tvheadend-zap2epg: Add zap2epg EPG grabber with needed python wheels

Co-authored-by: hgy59 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add requests to python3 package

2 participants