Weboob-utilisation

Bonsoir,
Je viens d’installer weboob par synaptic (5 paquets).
Je comprends comment cela fonctionne mais “$ qvideoob” ne donne pas grand chose; au maximum j’obtiens une image fixe avec le commentaire “non disponible”.
Cela pour toutes les émissions que j’ai chargées dans “Search”.

Avec youtube même chose.

Avez-vous des suggestions à me faire?
Ciao.

P.S.: wheezy 7.2.0, weboob 0.c-4.1 et 4 autres paquets.

Tu voudras peut-être remplacer ton lien local (/home/dom2013/…) par une image uploadée quelque part… :wink: Au hasard, pix.isalo.org/ pour faire chauffer les serveurs de Laurent (c’est vrai quoi, fait tellement froid là-bas… :stuck_out_tongue:)

Quant à Weboob lui-même (le cœur de ta question), désolé je ne sais pas, je me contente de mon navigateur + GreaseMonkey. C’est moins direct mais ça marche bien. :slightly_smiling:

Pour le rendre plus efficace, il faut lancer la commande : weboob-config update

Salut,

N’y aurait-il pas simplement quelques paquets manquants ?

[08:44:58]:~$ aptitude show weboob Paquet : weboob Nouveau: oui État: non installé Version : 0.c-4.1 Priorité : optionnel Section : python Responsable : Romain Bignon <romain@symlink.me> Architecture : all Taille décompressée : 842 k Dépend: python2.7 | python2.6, python (>= 2.6.6-7~), python (< 2.8), python-weboob-core (>= 0.c-4.1), python-html2text, python-prettytable Casse: boobank (< 0.a-2), boobmsg (< 0.a-2), chatoob (< 0.a-2), galleroob (< 0.a-2), geolooc (< 0.a-2), havesex (< 0.a-2), monboob (< 0.a-2), pastoob (< 0.a-2), radioob (< 0.a-2), traveloob (< 0.a-2), videoob (< 0.a-2), webcontentedit (< 0.a-2), weboorrents (< 0.a-2), wetboobs (< 0.a-2) Remplace: boobank (< 0.a-2), boobmsg (< 0.a-2), chatoob (< 0.a-2), galleroob (< 0.a-2), geolooc (< 0.a-2), havesex (< 0.a-2), monboob (< 0.a-2), pastoob (< 0.a-2), radioob (< 0.a-2), traveloob (< 0.a-2), videoob (< 0.a-2), webcontentedit (< 0.a-2), weboorrents (< 0.a-2), wetboobs (< 0.a-2) ...

Entre nous tu devrais favoriser l’utilisation de la console/terminal avec aptitude, apt-get, où dpkg, à l’usage celle-ci est vraiment le top pour gérer ton system, au contraire de ces utilitaires graphiques tels que synaptic, apper et bien d’autre.

Il aurait donc changé de contrée pour y hiberner, :12 je me disais aussi … :unamused:

Bonjour,
Voilà le résultat des commandes proposées:

dom2013@debian:~$ aptitude show weboob
Paquet : weboob
État: installé
Automatiquement installé: non
Version : 0.c-4.1
Priorité : optionnel
Section : python
Responsable : Romain Bignon romain@symlink.me
Architecture : all
Taille décompressée : 842 k
Dépend: python2.7 | python2.6, python (>= 2.6.6-7~), python (< 2.8),
python-weboob-core (>= 0.c-4.1), python-html2text, python-prettytable
Casse: boobank (< 0.a-2), boobmsg (< 0.a-2), chatoob (< 0.a-2), galleroob (<
0.a-2), geolooc (< 0.a-2), havesex (< 0.a-2), monboob (< 0.a-2), pastoob
(< 0.a-2), radioob (< 0.a-2), traveloob (< 0.a-2), videoob (< 0.a-2),
webcontentedit (< 0.a-2), weboorrents (< 0.a-2), wetboobs (< 0.a-2)
Remplace: boobank (< 0.a-2), boobmsg (< 0.a-2), chatoob (< 0.a-2), galleroob (<
0.a-2), geolooc (< 0.a-2), havesex (< 0.a-2), monboob (< 0.a-2),
pastoob (< 0.a-2), radioob (< 0.a-2), traveloob (< 0.a-2), videoob (<
0.a-2), webcontentedit (< 0.a-2), weboorrents (< 0.a-2), wetboobs (<
0.a-2)

dom2013@debian:~$ weboob-config update
=== [ 0%] Getting updates.weboob.org/0.c/main/
=== [ 12%] The last version of ecrans is already installed
=== [ 25%] The last version of arte is already installed
=== [ 38%] The last version of fourchan is already installed
=== [ 50%] The last version of lefigaro is already installed
=== [ 62%] The last version of radiofrance is already installed
=== [ 75%] The last version of youtube is already installed
=== [ 88%] The last version of minutes20 is already installed
=== [100%] The last version of newsfeed is already installed

C’est plutôt installé mais le résultat est le même; image fixe.

dom2013@debian:~$ qvideoob
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/weboob/applications/qvideoob/minivideo.py”, line 70, in mousePressEvent
video_widget = Video(video, self)
File “/usr/lib/python2.7/dist-packages/weboob/applications/qvideoob/video.py”, line 36, in init
self.ui.titleLabel.setText(video.title)
TypeError: QLabel.setText(QString): argument 1 has unexpected type ‘NotLoadedMeta’

Les informations à côté de l’image sont les suivantes:
Title: Chewing-gum: le mystère des bulles de gomme
Duration: 0:52:22
Author not available
Date
Rating 0
Where Arte

Ciao.

P.S.: c’est l’auteur qui est inconnu non le nom de l’émission que j’avais placé dans la cellule “search”.

Re,

[quote=“Tinnitus”]dom2013@debian:~$ qvideoob
Traceback (most recent call last):
File “/usr/lib/python2.7/dist-packages/weboob/applications/qvideoob/minivideo.py”, line 70, in mousePressEvent
video_widget = Video(video, self)
File “/usr/lib/python2.7/dist-packages/weboob/applications/qvideoob/video.py”, line 36, in init
self.ui.titleLabel.setText(video.title)
TypeError: QLabel.setText(QString): argument 1 has unexpected type ‘NotLoadedMeta’
[/quote]
Ne serait-ce pas ta version python qui serait en cause :think:

[quote=“Tinnitus”]Dépend: python2.7 | python2.6, python (>= 2.6.6-7~), python (< 2.8),
python-weboob-core (>= 0.c-4.1), python-html2text, python-prettytable[/quote]

Sont-ils présents ?

~ $ dpkg -l | grep python2

newfile.odt (51.5 KB)Bonjour,
Réponse à BelZebuth à propos des versions de python2:

:~$ dpkg -l | grep python2
ii libpython2.7 2.7.3-6 amd64 Shared Python runtime library (version 2.7)
ii python2.6 2.6.8-1.1 amd64 Interactive high-level object-oriented language (version 2.6)
ii python2.6-minimal 2.6.8-1.1 amd64 Minimal subset of the Python language (version 2.6)
ii python2.7 2.7.3-6 amd64 Interactive high-level object-oriented language (version 2.7)
ii python2.7-minimal 2.7.3-6 amd64 Minimal subset of the Python language (version 2.7)

Ils semblent être tous là.
Je joins le fichier /var/log/dmesg en pièce jointe sous le nom newfile.odt.
Ciao.

Tu peux essayer de tester avec videoob plutot que qvideoob ?
dans un terminal:

videoob -b arte

un prompt devrait apparaitre, tu peux entrer par exemple:
search cartes

une liste devrait apparaitre tu peux ensuite essayer d’entrer
play (numero devant la video voulue)

Bonjour,
Je viens d’essayer la version “Ben” et cela fonctionne.

Voici le test:
dom2013@debian:~$ videoob -b arte
Welcome to videoob v0.c

Copyright© 2010-2011 Christophe Benz, Romain Bignon, John Obbele
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

Type “help” to display available commands.

Loaded backends: arte

videoob> search cartes

  • (1) Le Dessous des Cartes : Mer Baltique, la Méditerranée du Nord (arte)
    0:12:03 (0/Not available)
    videoob:/search> play 1
    Invoking “mplayer artestras.vo.llnwxd.net/o35/noge … -HBBTV.mp4”.
    MPlayer2 UNKNOWN © 2000-2012 MPlayer Team

Playing artestras.vo.llnwxd.net/o35/noge … -HBBTV.mp4.
Resolving artestras.vo.llnwxd.net for AF_INET6…

Couldn’t resolve name for AF_INET6: artestras.vo.llnwxd.net
Resolving artestras.vo.llnwxd.net for AF_INET…
Connecting to server artestras.vo.llnwxd.net[87.248.221.253]: 80…

Cache size set to 320 KBytes
Cache fill: 0.00% (0 bytes)

Detected file format: QuickTime / MOV (libavformat)
[lavf] stream 0: video (h264), -vid 0
[lavf] stream 1: audio (aac), -aid 0, -alang und
Clip info:
major_brand: mp42
minor_version: 0
compatible_brands: isommp42
creation_time: 2013-11-07 18:48:42
Failed to open VDPAU backend libvdpau_r600.so: cannot open shared object file: No such file or directory
[vdpau] Error when calling vdp_device_create_x11: 1
[ass] auto-open
Selected video codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10 [libavcodec]
Selected audio codec: AAC (Advanced Audio Coding) [libavcodec]
AUDIO: 48000 Hz, 2 ch, s16le, 61.4 kbit/4.00% (ratio: 7675->192000)
AO: [pulse] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback…
VIDEO: 720x406 25.000 fps 810.8 kbps (101.3 kB/s)
VO: [xv] 720x406 => 720x406 Planar YV12
A: 25.5 V: 25.5 A-V: 0.000 ct: 0.000 0/ 0 1% 1% 0.7% 0 0 46%

Exiting… (Quit)
videoob:/search> quit

Merci à tous.
Ciao.