Skip to content

add date, directors, actors and country to chaines-tv.orange.fr #2794

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

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

GreenSnakeLinux
Copy link

add date, directors, actors and country to chaines-tv.orange.fr
add/rename channels

add logo for CANAL+BOX OFFICE and CANAL+CINEMA(S) (Missing from channels.json)

Copy link
Collaborator

@freearhey freearhey left a comment

Choose a reason for hiding this comment

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

Test failed:

npm test --- chaines-tv.orange.fr

> test
> run-script-os chaines-tv.orange.fr


> test:default
> TZ=Pacific/Nauru npx jest --runInBand chaines-tv.orange.fr


 RUNS  sites/chaines-tv.orange.fr/chaines-tv.orange.fr.test.js
/iptv-org/epg/node_modules/jest-offline/index.js:5
  throw new Error('Network requests forbidden in offline mode');
  ^

Error: Network requests forbidden in offline mode

Node.js v22.12.0

@BellezaEmporium
Copy link
Contributor

You need to update the tests at the same instance. You've modified the configuration only.

@freearhey
Copy link
Collaborator

All channel data is taken from the iptv-org/database repository. If you find any errors please open a new issue there.

https://github.com/iptv-org/epg?tab=readme-ov-file#database

Copy link
Collaborator

@freearhey freearhey left a comment

Choose a reason for hiding this comment

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

The config now passes the tests, but when trying to download the guide I get HTTP error 451 (Unavailable For Legal Reasons). But maybe it's my VPN and someone else will have different results.

@GreenSnakeLinux
Copy link
Author

No issue on my side. Can you choose the country in your VPN ? Choose France.

@freearhey
Copy link
Collaborator

Unfortunately, I can't.

@BellezaEmporium
Copy link
Contributor

Testing once i'm done with the current checks with my PR.

Copy link
Contributor

@BellezaEmporium BellezaEmporium left a comment

Choose a reason for hiding this comment

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

PASS sites/chaines-tv.orange.fr/chaines-tv.orange.fr.test.js
√ can generate valid url (5 ms)
√ can parse response (2 ms)
√ can handle empty guide

Test Suites: 1 passed, 1 total
Tests: 3 passed, 3 total
Snapshots: 0 total
Time: 0.634 s, estimated 1 s
Ran all test suites matching /chaines-tv.orange.fr/i.

npm run grab --- --site=chaines-tv.orange.fr

grab
npx tsx scripts/commands/epg/grab.ts --site=chaines-tv.orange.fr

starting...
config:
output: guide.xml
maxConnections: 1
gzip: false
site: chaines-tv.orange.fr
loading channels...
found 345 channel(s)
run:
[1/690] chaines-tv.orange.fr (fr) - TF1.fr - Jun 28, 2025 (22 programs)
[2/690] chaines-tv.orange.fr (fr) - TF1.fr - Jun 29, 2025 (20 programs)
[3/690] chaines-tv.orange.fr (fr) - France2.fr - Jun 29, 2025 (50 programs)
[4/690] chaines-tv.orange.fr (fr) - France4.fr - Jun 29, 2025 (88 programs)
[5/690] chaines-tv.orange.fr (fr) - LCP.fr - Jun 29, 2025 (52 programs)
[6/690] chaines-tv.orange.fr (fr) - Franceinfo.fr - Jun 29, 2025 (23 programs)

@BellezaEmporium
Copy link
Contributor

Forgot to say that my tests might be biased due to the facts i'm subscribed with Orange.

Would need to try with another operator or VPN.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants