racacax / XML-TV-Fr

46 stars 30 forks source link

Comment ajouter des chaînes ? #31

Open Write opened 2 years ago

Write commented 2 years ago

Bonjour,

C'est une question un peu bête, mais j'avoue ne pas avoir réussi, par exemple j'essaie d'ajouter des chaînes allemandes qui sont bien disponibles sur téléloisirs,

J'ai bien rajouté les chaînes dans ./config/channels.json, j'ai même ajouté "priority" au cas où

  "ZDFinfo.de":{
      "priority":[
       "Teleloisirs"
   ]
  },
  "one.de":{
      "priority":[
       "Teleloisirs"
   ]
  },

Et dans ./resources/channel_config/channels_teleloisirs.json ajouté tout en bas :


  "ZDFinfo.de": "programme-zdf-info-3506.html",
  "one.de": "programme-one-3502.html"

Pourtant rien, au lancement du script il me signal instantanément qu'il n'existe rien pour ces deux chaînes.

php example/script_all.php

[EPG GRAB] ZDFinfo.de (2/67) : 2022-05-31 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-01 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-02 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-03 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-04 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-05 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-06 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-07 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-08 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-09 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-10 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-11 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-12 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-13 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-14 | HS
[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-15 | HS
[EPG GRAB] one.de (3/67) : 2022-05-31 | HS
[EPG GRAB] one.de (3/67) : 2022-06-01 | HS
[EPG GRAB] one.de (3/67) : 2022-06-02 | HS
[EPG GRAB] one.de (3/67) : 2022-06-03 | HS
[EPG GRAB] one.de (3/67) : 2022-06-04 | HS
[EPG GRAB] one.de (3/67) : 2022-06-05 | HS
[EPG GRAB] one.de (3/67) : 2022-06-06 | HS
[EPG GRAB] one.de (3/67) : 2022-06-07 | HS
[EPG GRAB] one.de (3/67) : 2022-06-08 | HS
[EPG GRAB] one.de (3/67) : 2022-06-09 | HS
[EPG GRAB] one.de (3/67) : 2022-06-10 | HS
[EPG GRAB] one.de (3/67) : 2022-06-11 | HS
[EPG GRAB] one.de (3/67) : 2022-06-12 | HS
[EPG GRAB] one.de (3/67) : 2022-06-13 | HS
[EPG GRAB] one.de (3/67) : 2022-06-14 | HS
[EPG GRAB] one.de (3/67) : 2022-06-15 | HS

Merci !!

racacax commented 2 years ago

Bonjour, C'est bien la bonne manière si la chaine existe bien. Je remarque dans "priority" qu'il est écrit "Teleloisirs". Or, le nom du provider est "TeleLoisirs" avec un L majuscule (voir https://github.com/racacax/XML-TV-Fr/tree/master/src/Component/Provider). Peut-être que ceci pourrait solutionner le problème. Si le problème reste le même, je peux investiguer car ça peut très bien venir du provider TeleLoisirs en lui même qui pourrait être HS.

Le mer. 1 juin 2022 à 01:30, Joffrey @.***> a écrit :

Bonjour,

C'est une question un peu bête, mais j'avoue ne pas avoir réussi, par exemple j'essaie d'ajouter des chaînes allemandes qui sont bien disponibles sur téléloisirs,

J'ai bien rajouté les chaînes dans ./config/channels.json, j'ai même ajouté "priority" au cas où

"ZDFinfo.de":{

  "priority":[

   "Teleloisirs"

]

},

"one.de":{

  "priority":[

   "Teleloisirs"

]

},

Et dans ./resources/channel_config/channels_teleloisirs.json ajouté tout en bas :

"ZDFinfo.de": "programme-zdf-info-3506.html",

"one.de": "programme-one-3502.html"

Pourtant rien, au lancement du script il me signal instantanément qu'il n'existe rien pour ces deux chaînes.

php example/script_all.php

[EPG GRAB] ZDFinfo.de (2/67) : 2022-05-31 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-01 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-02 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-03 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-04 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-05 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-06 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-07 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-08 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-09 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-10 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-11 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-12 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-13 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-14 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-15 | HS

[EPG GRAB] one.de (3/67) : 2022-05-31 | HS

[EPG GRAB] one.de (3/67) : 2022-06-01 | HS

[EPG GRAB] one.de (3/67) : 2022-06-02 | HS

[EPG GRAB] one.de (3/67) : 2022-06-03 | HS

[EPG GRAB] one.de (3/67) : 2022-06-04 | HS

[EPG GRAB] one.de (3/67) : 2022-06-05 | HS

[EPG GRAB] one.de (3/67) : 2022-06-06 | HS

[EPG GRAB] one.de (3/67) : 2022-06-07 | HS

[EPG GRAB] one.de (3/67) : 2022-06-08 | HS

[EPG GRAB] one.de (3/67) : 2022-06-09 | HS

[EPG GRAB] one.de (3/67) : 2022-06-10 | HS

[EPG GRAB] one.de (3/67) : 2022-06-11 | HS

[EPG GRAB] one.de (3/67) : 2022-06-12 | HS

[EPG GRAB] one.de (3/67) : 2022-06-13 | HS

[EPG GRAB] one.de (3/67) : 2022-06-14 | HS

[EPG GRAB] one.de (3/67) : 2022-06-15 | HS

Merci !!

— Reply to this email directly, view it on GitHub https://github.com/racacax/XML-TV-Fr/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIADQ3U5QGOWC7KJYGGLFTVM2OHXANCNFSM5XPD7H7A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

Write commented 2 years ago

Merci de la réponse, Malheureusement le problème est le meme avec le L majuscule, Et sans la propriété priority aussi :/, Merci

Le 1 juin 2022 à 11:49, racacax - notifications(a)github.com @.***> a écrit :

 Bonjour, C'est bien la bonne manière si la chaine existe bien. Je remarque dans "priority" qu'il est écrit "Teleloisirs". Or, le nom du provider est "TeleLoisirs" avec un L majuscule (voir https://github.com/racacax/XML-TV-Fr/tree/master/src/Component/Provider). Peut-être que ceci pourrait solutionner le problème. Si le problème reste le même, je peux investiguer car ça peut très bien venir du provider TeleLoisirs en lui même qui pourrait être HS.

Le mer. 1 juin 2022 à 01:30, Joffrey @.***> a écrit :

Bonjour,

C'est une question un peu bête, mais j'avoue ne pas avoir réussi, par exemple j'essaie d'ajouter des chaînes allemandes qui sont bien disponibles sur téléloisirs,

J'ai bien rajouté les chaînes dans ./config/channels.json, j'ai même ajouté "priority" au cas où

"ZDFinfo.de":{

"priority":[

"Teleloisirs"

]

},

"one.de":{

"priority":[

"Teleloisirs"

]

},

Et dans ./resources/channel_config/channels_teleloisirs.json ajouté tout en bas :

"ZDFinfo.de": "programme-zdf-info-3506.html",

"one.de": "programme-one-3502.html"

Pourtant rien, au lancement du script il me signal instantanément qu'il n'existe rien pour ces deux chaînes.

php example/script_all.php

[EPG GRAB] ZDFinfo.de (2/67) : 2022-05-31 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-01 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-02 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-03 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-04 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-05 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-06 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-07 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-08 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-09 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-10 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-11 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-12 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-13 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-14 | HS

[EPG GRAB] ZDFinfo.de (2/67) : 2022-06-15 | HS

[EPG GRAB] one.de (3/67) : 2022-05-31 | HS

[EPG GRAB] one.de (3/67) : 2022-06-01 | HS

[EPG GRAB] one.de (3/67) : 2022-06-02 | HS

[EPG GRAB] one.de (3/67) : 2022-06-03 | HS

[EPG GRAB] one.de (3/67) : 2022-06-04 | HS

[EPG GRAB] one.de (3/67) : 2022-06-05 | HS

[EPG GRAB] one.de (3/67) : 2022-06-06 | HS

[EPG GRAB] one.de (3/67) : 2022-06-07 | HS

[EPG GRAB] one.de (3/67) : 2022-06-08 | HS

[EPG GRAB] one.de (3/67) : 2022-06-09 | HS

[EPG GRAB] one.de (3/67) : 2022-06-10 | HS

[EPG GRAB] one.de (3/67) : 2022-06-11 | HS

[EPG GRAB] one.de (3/67) : 2022-06-12 | HS

[EPG GRAB] one.de (3/67) : 2022-06-13 | HS

[EPG GRAB] one.de (3/67) : 2022-06-14 | HS

[EPG GRAB] one.de (3/67) : 2022-06-15 | HS

Merci !!

— Reply to this email directly, view it on GitHub https://github.com/racacax/XML-TV-Fr/issues/31, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIADQ3U5QGOWC7KJYGGLFTVM2OHXANCNFSM5XPD7H7A . You are receiving this because you are subscribed to this thread.Message ID: @.***>

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.