linux user group brescia

immagine del castello

Archivio della mailing list

[LugBS] aiuto per patch clive

wgenzo8 a inwind.it wgenzo8 a inwind.it
Ven 10 Dic 2010 10:47:25 UTC
Salve,
da alcuni giorni, a causa di alcune modifiche nella gestione di youtube, con 
clive ottengo il messaggio di errore http://404  quando tento di scaricare 
video.

Ho trovato sul web altri che lamentano il problema e questa fix ma non so come 
applicarla:

>From 163ffde2b07582806f622486c9a4e8287d553ae4 Mon Sep 17 00:00:00 2001
From: legatvs <legatvs.git a gmail.com>
Date: Sat, 24 Jul 2010 15:08:26 +0300
Subject: [PATCH] fix youtube http/404 issue.

---
ChangeLog | 1 +
lib/clive/Host/Youtube.pm | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index b5931aa..445cbe6 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
Version 2.2.12

Bugfixes:
+ * [youtube] http/404, ported from quvi, fix by Daniel Schaal (quvi #7)
* break.com support, thanks to Werner Elsler for the fix (#57)


diff --git a/lib/clive/Host/Youtube.pm b/lib/clive/Host/Youtube.pm
index 279b6d5..e922d9a 100644
--- a/lib/clive/Host/Youtube.pm
+++ b/lib/clive/Host/Youtube.pm
@@ -57,6 +57,8 @@ sub parsePage {
my $xurl
= "http://youtube.com/get_video?video_id=$tmp->{id}&t=$tmp->{t}";

+ $xurl .= "&asv=2"; # Should fix the http/404 issue (#58).
+
my $config = clive::Config->instance->config;

my $fmt;
-- 
1.7.2


Mi dareste una mano per cortesia ad inserire la patch nel modo giusto e nel 
file giusto (non ho trovato info al riguardo)?
Grazie
Andrea




Maggiori informazioni sulla lista Lug