Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Update tvtv.us#2668

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
BellezaEmporium merged 16 commits intomasterfromupdate-tvtv.us-2
Apr 5, 2025
Merged

Update tvtv.us#2668

BellezaEmporium merged 16 commits intomasterfromupdate-tvtv.us-2
Apr 5, 2025

Conversation

freearhey
Copy link
Collaborator

@freearheyfreearhey commentedJan 31, 2025
edited
Loading

Technically this update solves issue#332 by loading a bunch of additional data about each program: description, image, production date, season and episode number, crew names and ratings.

However, this will require sending a separate request for each program in the list, and there should be a delay (at least 5 seconds) between requests to avoid blocking. As a result, it may take 5 minutes or more to load a guide for just one channel.

So, the code responsible for loading additional data remains in the config, but is disabled for now.

npmtest --- tvtv.us>test> run-script-os tvtv.us> test:default> TZ=Pacific/Nauru npx jest --runInBand tvtv.us PASS  sites/tvtv.us/tvtv.us.test.js  ✓ can generate valid url (5 ms)  ✓ can parse response (4 ms)  ✓ can handle empty guide (1 ms)Test Suites: 1 passed, 1 totalTests:       3 passed, 3 totalSnapshots:   0 totalTime:        0.407 s, estimated 1 sRan alltest suites matching /tvtv.us/i.
npm run grab --- --site=tvtv.us --delay=2000> grab> npx tsx scripts/commands/epg/grab.ts --site=tvtv.us --delay=2000starting...config:  output: guide.xml  maxConnections: 1  gzip:false  site: tvtv.us  delay: 2000loading channels...  found 2299 channel(s)run#1:  [1/4598] tvtv.us (en) - 33691 - Mar 31, 2025 (24 programs)  [2/4598] tvtv.us (en) - 33691 - Apr 1, 2025 (26 programs)  [3/4598] tvtv.us (en) - 83157 - Apr 1, 2025 (47 programs)  [4/4598] tvtv.us (en) - 5StarMaxEast.us - Apr 1, 2025 (15 programs)...

@freearheyfreearhey marked this pull request as ready for reviewMarch 31, 2025 06:18
@BellezaEmporiumBellezaEmporium merged commitaf46560 intomasterApr 5, 2025
2 checks passed
@BellezaEmporiumBellezaEmporium deleted the update-tvtv.us-2 branchApril 5, 2025 19:32
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@BellezaEmporiumBellezaEmporiumBellezaEmporium approved these changes

@PopeyeTheSai10rPopeyeTheSai10rPopeyeTheSai10r approved these changes

@tohenktohenkAwaiting requested review from tohenk

@AlstruitAlstruitAwaiting requested review from Alstruit

Assignees
No one assigned
Labels
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@freearhey@BellezaEmporium@PopeyeTheSai10r

[8]ページ先頭

©2009-2025 Movatter.jp