habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Téléchargement automatique de Replay TV

Re: habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Messagede Blupi » Ven 8 Fév 2013 18:13

En vrai, j'utilise Textpad qui est très bien à mon goût.

A force de chercher j'ai trouvé :
<category>
<id>1873</id>
<name>Chasseurs de pythons</name>
<toDownload>true</toDownload>
<extension>mp4</extension>
</category>

et

category>
<id>1877</id>
<name>Incroyable</name>
<toDownload>true</toDownload>
<extension>mp4</extension>
</category>

J'ai cliquer sur "Recherche" du menu et les index se sont bien créés, j'ai supprimer les lignes des 2 épisodes qui m'intéressent, mais j'obtiens ces messages d'erreur :
Norvège.jpg
Norvège.jpg (21.8 Kio) Vu 15012 fois
ouragan.jpg
ouragan.jpg (21.5 Kio) Vu 15012 fois
error.jpg
error.jpg (32.3 Kio) Vu 15012 fois


Avez-vous une idée de mon problème ? (J'ai mis à jour habiTv avec la v3.6.1 et mon java est à jour v7 update13)
Merci d'avance
Blupi
Passionné de documentaires animaliers
Avatar de l’utilisateur
Blupi
 
Messages: 21
Inscription: Ven 1 Fév 2013 17:51

Re: habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Messagede aazerty » Ven 8 Fév 2013 18:29

Bonjour ,

@Blupi : je viens de télécharger "incoyable" "... Thailande" sans PB .

Ne fais l'essai que pour 1 seul épisode à la fois .
Supprime les fichiers .index
Modifie grabconfig , mets à False les rubriques que tu ne veux pas utiliser (provisoirement) .
Relance la procédure . Just to see !!!

A+ .
!!! DUBITATIF !!!
Avatar de l’utilisateur
aazerty
 
Messages: 2086
Inscription: Sam 10 Déc 2011 14:41

Re: habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Messagede dabiboo » Ven 8 Fév 2013 18:42

de mon côté le téléchargement se lance. Peux-tu me montrer la log C:/tools/habitv/habitv.log ?

D'après ce que je peux voir ça peut être un problème temporaire de connexion, tu as réessayé plusieurs fois (bouton "recherche") ?
dabiboo
 
Messages: 189
Inscription: Mer 15 Aoû 2012 11:06

Re: habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Messagede Blupi » Ven 8 Fév 2013 19:40

@ aazerty
J'ai recréé les index et j'ai refais le test avec une seule vidéo, la dernière Mission prédateurs qui est arrivée ce soir sur le replay qui est téléchargeable avec Captvty, donc cette vidéo ne pose pas de problème et pourtant je n'arrive pas à la télécharger avec habiTv j'ai le même message d'erreur :

Norvège2.jpg
Norvège2.jpg (21.95 Kio) Vu 8108 fois


@ dabiboo
Je te mets mon fichier "habitv.log"

Code: Tout sélectionner
Waiting for Searching episode for default
Searching episode for m6w9 is starting
Episode to retreive m6w9-Incroyable-Mission prédateurs : Norvège 2
Waiting for download of m6w9-Incroyable-Mission prédateurs : Norvège 2
Download of m6w9-Incroyable-Mission prédateurs : Norvège 2 is starting
Searching episode for m6w9 done
cmd wasbin\rtmpdump.exe -r "rtmpe://groupemsix.fcod.llnwd.net/a2883/e1/mp4:production/regienum/Incroyable_c11272974_Mission-predateurs-N.mp4?s=1360348665&e=1360435065&h=f527b9f51e40876226331371c8a4178b" -c 1935 -m 10 -o "downloads/Incroyable-Mission_prédateurs___Norvège_.mp4.tmp"
RTMPDump v2.5 GIT-2012-03-31 (Handshake 10 support by Xeebo)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 10
INFO: Connected...
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
ERROR: Closing connection: NetStream.Failed


com.dabi.habitv.framework.plugin.exception.DownloadFailedException: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at com.dabi.habitv.downloader.rtmpdump.RtmpDumpPluginManager.download(RtmpDumpPluginManager.java:43)
   at com.dabi.habitv.provider.m6w9.M6W9PluginManager.download(M6W9PluginManager.java:108)
   at com.dabi.habitv.core.task.DownloadTask.doCall(DownloadTask.java:82)
   at com.dabi.habitv.core.task.AbstractTask.call(AbstractTask.java:27)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at com.dabi.habitv.framework.plugin.utils.CmdExecutor.execute(CmdExecutor.java:84)
   at com.dabi.habitv.downloader.rtmpdump.RtmpDumpPluginManager.download(RtmpDumpPluginManager.java:41)
   ... 8 more
cmd wasbin\rtmpdump.exe -r "rtmpe://groupemsix.fcod.llnwd.net/a2883/e1/mp4:production/regienum/Incroyable_c11272974_Mission-predateurs-N.mp4?s=1360348666&e=1360435066&h=ea9b5ba2075b881266313caa633d90cb" -c 1935 -m 10 -o "downloads/Incroyable-Mission_prédateurs___Norvège_.mp4.tmp"
RTMPDump v2.5 GIT-2012-03-31 (Handshake 10 support by Xeebo)
(c) 2010 Andrej Stepanchuk, Howard Chu, The Flvstreamer Team; license: GPL
Connecting ...
WARNING: HandShake: Type mismatch: client sent 6, server answered 10
INFO: Connected...
ERROR: HandleCtrl: Ignoring SWFVerification request, use --swfVfy!
ERROR: Closing connection: NetStream.Failed


com.dabi.habitv.framework.plugin.exception.DownloadFailedException: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at com.dabi.habitv.downloader.rtmpdump.RtmpDumpPluginManager.download(RtmpDumpPluginManager.java:43)
   at com.dabi.habitv.provider.m6w9.M6W9PluginManager.download(M6W9PluginManager.java:108)
   at com.dabi.habitv.core.task.DownloadTask.doCall(DownloadTask.java:82)
   at com.dabi.habitv.core.task.AbstractTask.call(AbstractTask.java:27)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at com.dabi.habitv.framework.plugin.utils.CmdExecutor.execute(CmdExecutor.java:84)
   at com.dabi.habitv.downloader.rtmpdump.RtmpDumpPluginManager.download(RtmpDumpPluginManager.java:41)
   ... 8 more
Download failed for m6w9-Incroyable-Mission prédateurs : Norvège 2
com.dabi.habitv.framework.plugin.exception.DownloadFailedException: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at com.dabi.habitv.downloader.rtmpdump.RtmpDumpPluginManager.download(RtmpDumpPluginManager.java:43)
   at com.dabi.habitv.provider.m6w9.M6W9PluginManager.download(M6W9PluginManager.java:108)
   at com.dabi.habitv.core.task.DownloadTask.doCall(DownloadTask.java:82)
   at com.dabi.habitv.core.task.AbstractTask.call(AbstractTask.java:27)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at com.dabi.habitv.framework.plugin.utils.CmdExecutor.execute(CmdExecutor.java:84)
   at com.dabi.habitv.downloader.rtmpdump.RtmpDumpPluginManager.download(RtmpDumpPluginManager.java:41)
   ... 8 more
Episode failed to retreive m6w9-Incroyable-Mission prédateurs : Norvège 2
com.dabi.habitv.framework.plugin.exception.TechnicalException: java.util.concurrent.ExecutionException: com.dabi.habitv.core.task.TaskFailedException: com.dabi.habitv.framework.plugin.exception.DownloadFailedException: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at com.dabi.habitv.core.task.AbstractTask.getResult(AbstractTask.java:66)
   at com.dabi.habitv.core.task.DownloadTask.getResult(DownloadTask.java:18)
   at com.dabi.habitv.core.task.AbstractTask.waitEndOfTreatment(AbstractTask.java:59)
   at com.dabi.habitv.core.task.RetrieveTask.download(RetrieveTask.java:123)
   at com.dabi.habitv.core.task.RetrieveTask.doCall(RetrieveTask.java:76)
   at com.dabi.habitv.core.task.AbstractTask.call(AbstractTask.java:27)
   at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
   at java.util.concurrent.FutureTask.run(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
   at java.lang.Thread.run(Unknown Source)
Caused by: java.util.concurrent.ExecutionException: com.dabi.habitv.core.task.TaskFailedException: com.dabi.habitv.framework.plugin.exception.DownloadFailedException: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at java.util.concurrent.FutureTask$Sync.innerGet(Unknown Source)
   at java.util.concurrent.FutureTask.get(Unknown Source)
   at com.dabi.habitv.core.task.AbstractTask.getResult(AbstractTask.java:64)
   ... 10 more
Caused by: com.dabi.habitv.core.task.TaskFailedException: com.dabi.habitv.framework.plugin.exception.DownloadFailedException: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at com.dabi.habitv.core.task.AbstractTask.call(AbstractTask.java:37)
   ... 5 more
Caused by: com.dabi.habitv.framework.plugin.exception.DownloadFailedException: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at com.dabi.habitv.downloader.rtmpdump.RtmpDumpPluginManager.download(RtmpDumpPluginManager.java:43)
   at com.dabi.habitv.provider.m6w9.M6W9PluginManager.download(M6W9PluginManager.java:108)
   at com.dabi.habitv.core.task.DownloadTask.doCall(DownloadTask.java:82)
   at com.dabi.habitv.core.task.AbstractTask.call(AbstractTask.java:27)
   ... 5 more
Caused by: com.dabi.habitv.framework.plugin.exception.ExecutorFailedException: ERROR: Closing connection: NetStream.Failed
   at com.dabi.habitv.framework.plugin.utils.CmdExecutor.execute(CmdExecutor.java:84)
   at com.dabi.habitv.downloader.rtmpdump.RtmpDumpPluginManager.download(RtmpDumpPluginManager.java:41)
   ... 8 more


Merci à vous deux pour l'intérêt que vous portez à mon petit soucis, mais est-ce qu'il n'aurait pas été préférable que j'ouvre un nouveau sujet car j'ai un peu l'impression de polluer le premier post.
Blupi
Passionné de documentaires animaliers
Avatar de l’utilisateur
Blupi
 
Messages: 21
Inscription: Ven 1 Fév 2013 17:51

Re: habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Messagede aazerty » Ven 8 Fév 2013 20:52

Bonjour ,

@Blupi : je t'indique que tout va bien pour moi .

En cours.JPG
En cours.JPG (30.12 Kio) Vu 8107 fois


Tu peux essayer de créer un fichier batch . A placer dans le répertoire contenant rtmpdump.exe (v2.5) .
Code: Tout sélectionner
@echo on
rtmpdump -r "rtmpe://groupemsix.fcod.llnwd.net/a2883/e1/mp4:production/regienum/Incroyable_c11272974_Mission-predateurs-N.mp4?s=1360348665&e=1360435065&h=f527b9f51e40876226331371c8a4178b" -c 1935 -m 10 -o "Incroyable-Mission_prédateurs_Norvège_2.mp4" --resume
pause
:fin


si rtmpe ne fonctionne pas , mets rtmp .

A+ .

ADDITIF , rtmpe fonctionne .

Norvege_2.JPG
Norvege_2.JPG (120.61 Kio) Vu 8106 fois
!!! DUBITATIF !!!
Avatar de l’utilisateur
aazerty
 
Messages: 2086
Inscription: Sam 10 Déc 2011 14:41

Re: habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Messagede Blupi » Sam 9 Fév 2013 09:29

Ah oui, je reconnais que tu es un bon, :pouce: j'ai créé le fichier batch et tout fonctionne nickel-chrome, je te mets un capture de la fenêtre de téléchargement arrivé à 100% :

download_OK.jpg
download_OK.jpg (98.68 Kio) Vu 8094 fois


Je tiens à te remercier, mais j'aimerais bien comprendre pourquoi ça ne fonctionne pas avec habiTv ??

Je me suis inspiré de ton batch pour récupérer "Norvège 1" je te mets le code que j'ai mis et donne moi ton avis :

Code: Tout sélectionner
@echo on
rtmpdump -r "rtmpe://groupemsix.fcod.llnwd.net/a2883/e1/mp4:production/regienum/Incroyable_c11272974_Mission-predateurs-N.mp4?s=1360398773&e=1360485173&h=7ccc96983f23243c7fd947cbd7afd915" -c 1935 -m 10 -o "Incroyable-Mission_prédateurs___Norvège_.mp4" --resume
pause
:fin


Le téléchargement fonctionne bien, mais la video récupérée est la même que "Norvège 2", ça fait exactement pareil que pour "Namibie 1 et 2" où on récupérait toujours la même vidéo, c'est vraiment très étrange à moins que je ne me sois trompé dans mon batch.
Merci
Blupi
Passionné de documentaires animaliers
Avatar de l’utilisateur
Blupi
 
Messages: 21
Inscription: Ven 1 Fév 2013 17:51

Re: habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Messagede dabiboo » Sam 9 Fév 2013 10:51

C'est effectivement étrange que ça fonctionne lancé indépendamment et pas dans habiTv, peut être un problème de pare-feu/antivirus ? tu peux essayer de le désactiver ?

Sinon tu peux récupérer la ligne de commande rtmpdump dans le fichier habitv.log après une erreur :

Searching episode for m6w9 done
cmd wasbin\rtmpdump.exe -r "rtmpe://groupemsix.fcod.llnwd.net/a2883/e1/mp4:production/regienum/Incroyable_c11272974_Mission-predateurs-N.mp4?s=1360348665&e=1360435065&h=f527b9f51e40876226331371c8a4178b" -c 1935 -m 10 -o "downloads/Incroyable-Mission_prédateurs___Norvège_.mp4.tmp"
RTMPDump v2.5 GIT-2012-03-31 (Handshake 10 support by Xeebo)

en changeant la destination "Incroyable-Mission_prédateurs___Norvège_.mp4.tmp".
dabiboo
 
Messages: 189
Inscription: Mer 15 Aoû 2012 11:06

Re: habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Messagede Blupi » Sam 9 Fév 2013 11:39

J'ai supprimé le fichier habiTv.log pour qu'un nouveau fichier soit généré avec uniquement les logs de tentative de téléchargement de "Norvège 1" et je m'apperçois que le chemin n'est plus le même. ça donne : (voir caractères en rouge)

@echo on
rtmpdump -r "rtmpe://groupemsix.fcod.llnwd.net/a2883/e1/mp4:production/regienum/Incroyable_c11272970_Mission-predateurs-N.mp4?s=1360404447&e=1360490847&h=40c1fb9f5b5c329ab4f735ab65254d54" -c 1935 -m 10 -o "Incroyable-Mission_prédateurs___Norvège_.mp4" --resume
pause
:fin

alors qu"au départ j'avais :

rtmpdump -r "rtmpe://groupemsix.fcod.llnwd.net/a2883/e1/mp4:production/regienum/Incroyable_c11272974_Mission-predateurs-N.mp4?....."

J'ai enfin pu récupérer "Norvège 1", mais effectivement ça ne m'explique pas pourquoi ça ne fonctionne pas dans habiTv.
J'ai désactivé mon pare-feu de windows, j'ai désactiver mon AV (Avast!) mais ça ne change rien.

Autre remarque :
J'ai constaté que si je laisse le chemin par défaut de téléchargement, "downloads/Incroyable-Mission_prédateurs___Norvège_.mp4" le batch ne fonctionne pas par contre si je retire "download/" le batch fonctionne.
download1.jpg
download1.jpg (58.96 Kio) Vu 8087 fois

J'ai pensé qu'il faudrait que ce slash (/) soit remplacé par un anti-slash (\) puisqu'il s'agit d'un chemin Windows, mais malheureusement ça ne change rien.
download2.jpg
download2.jpg (58.89 Kio) Vu 8087 fois

Par contre si je mets le chemin complet "C:\Outils\habiTv\downloads\Incroyable-Mission_prédateurs___Norvège_.mp4" le batch fonctionne. Bizarre!!...
Dernière édition par Blupi le Sam 9 Fév 2013 13:44, édité 1 fois.
Blupi
Passionné de documentaires animaliers
Avatar de l’utilisateur
Blupi
 
Messages: 21
Inscription: Ven 1 Fév 2013 17:51

Re: habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Messagede aazerty » Sam 9 Fév 2013 12:24

Bonjour ,

@Blupi : "Vous avez-dit 'BIZARRE' . Tiens , comme c'est bizarre ?" .

1) J'ai déjà signalé l'anomalie d'écriture . Mais "dabiboo" n'en a pas tenu compte .
2) Les écrirures sous ( ou pour ) DOS utilise l' "\" .
3) Alors que les adresses pour le web utilisent les "/"

Donc écrire dans un batch "downloads/Incroyable..." , ne sera pas reconnu ,
pour 2 raisons , celle évoquée précédemment et le répertoire "downloads" qui n'existe pas .

Autre élément à prendre en considération , remplacer : é,è,ê (ect.) par e . (idem pour i) .

Si , il est envisagé de DL plusieurs épisodes , penser à changer le nom du fichier de destination :
Incroyable-Mission_predateurs_Norvege_1.mp4 et Incroyable-Mission_predateurs_Norvege_2.mp4

On ne peut pas télécharger 2 épisodes différents avec la même adresse : ..._c11272974_... (!!!) .

===
Q à dabiboo : Pourquoi ne peut-on pas avoir (dans habiTv.log) l'adresse du stream , même si tout s'est bien déroulé ?
===

Cordialement .
!!! DUBITATIF !!!
Avatar de l’utilisateur
aazerty
 
Messages: 2086
Inscription: Sam 10 Déc 2011 14:41

Re: habiTv 3.6 : m6w9, tf1, youtube, maxAttempts

Messagede dabiboo » Sam 9 Fév 2013 14:04

@Blupi
C'est effectivement bizarre, est-ce que tu as le même comportement quelque soit l'émission ou la chaine ?

@aazerty
Il n'y a pas d'anomalie le répertoire "downloads" n'est pas présent dans le répertoire "bin" dans lequel s'exécute la commande. Pour que la commande originale fonctionne il faut se placer dans le dossier C:\Outils\habiTv\ (mettre le chemin complet ou ne pas préciser le dossier résout aussi le problème).
La plupart des commandes batch ("copy", "mkdir", ...) ne fonctionnent effectivement qu'avec "\" et pas "/" mais ici, c'est rtmpdump qui va interpréter l'argument "downloads/Incroyable..." et rtmpdump prend les "/".
Ok pour les accents ça peut poser problème sur certains systèmes, je vais voir pour les remplacer.

J'essaye de garder la log de niveau "info" sans informations techniques sauf en cas d'erreur. Je part du principe que si tout se passe bien on n'a pas vraiment besoin d'investiguer :)

Tu peux néanmoins changer ce niveau de log en modifiant le fichier log4.conf dans lib/core.jar (ouvrir avec winzip/winrar...) et changer la propriété :
Code: Tout sélectionner
log4j.logger.com.dabi=INFO, console, file

en
Code: Tout sélectionner
log4j.logger.com.dabi=DEBUG, console, file


mais là il y aura beaucoup d'informations...
dabiboo
 
Messages: 189
Inscription: Mer 15 Aoû 2012 11:06

PrécédenteSuivante

Retourner vers habiTv

Qui est en ligne

Utilisateurs parcourant ce forum: Aucun utilisateur enregistré et 13 invités

cron