From patchwork Fri Oct 24 10:15:12 2008 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Manfred Schmidt-Voigt X-Patchwork-Id: 12679 Received: from moutng.kundenserver.de ([212.227.126.186]) by www.linuxtv.org with esmtp (Exim 4.63) (envelope-from ) id 1KtJhr-0007pF-Pt for vdr@linuxtv.org; Fri, 24 Oct 2008 12:15:50 +0200 Received: from [192.168.123.109] (f054064200.adsl.alicedsl.de [78.54.64.200]) by mrelayeu.kundenserver.de (node=mrelayeu8) with ESMTP (Nemesis) id 0ML31I-1KtJhJ0tPD-0000Ae; Fri, 24 Oct 2008 12:15:13 +0200 Message-ID: <4901A030.5060904@mannitec.de> Date: Fri, 24 Oct 2008 12:15:12 +0200 From: Manfred Schmidt-Voigt Organization: private User-Agent: Mozilla-Thunderbird 2.0.0.17 (X11/20081018) MIME-Version: 1.0 To: "Vdr@Linuxtv.Org" X-Provags-ID: V01U2FsdGVkX18TQfGxEYq9QfdbXDzZDsPGZ5fPlS/f13SJsEI W2Kt1mUyTXYZtERaJGgoZUB1FG0fa/7iVltzpgwMVbQ02DlUIs TteeP/Lbr859/752L9dJQ== X-LSpam-Score: -2.5 (--) X-LSpam-Report: No, score=-2.5 required=5.0 tests=AWL=0.130, BAYES_00=-2.599 autolearn=ham Subject: [vdr] [PATCH] epg2timers TVTV access X-BeenThere: vdr@linuxtv.org X-Mailman-Version: 2.1.9 Precedence: list Reply-To: manfred.schmidt-voigt@mannitec.de, VDR Mailing List List-Id: VDR Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 10:15:50 -0000 Status: O X-Status: X-Keywords: X-UID: 18155 Hi all, I don't know, how many are using this script but I still like it. But TVTV is not that reliable as in former times before the facelift of the site. Sometimes the server is not reachable, sometimes the content is not available or only for the next days. But if you can get the information it realy good. But in the last days I couldn't get my "Merkliste" from the TVTV Server. The reason seems to bee that they have changed again something in there webserver directory structure. I have now created a small patch (see attachement) to the epg2timer_1.5.2a which reflects theses changes. Maybe it could help out also other frustrated users. regards Manfred ... it's only VDR (But I like it) (Stones???) ... diff -NaurwB epg2timers_1.5.2a/epg2timers.cxx epg2timers_1.5.2a_with_tvtvpatch/epg2timers.cxx --- epg2timers_1.5.2a/epg2timers.cxx 2008-06-16 22:04:19.000000000 +0200 +++ epg2timers_1.5.2a_with_tvtvpatch/epg2timers.cxx 2008-10-24 11:46:21.000000000 +0200 @@ -209,7 +209,7 @@ static const char date_line[] = "\t\t\t\t  "; static const char start_time_line[] = "\t\t\t\t\t\t\t\t\t"; static const char stop_time_line[] = "\t\t\t\t\t\t\t\t\t\tbis "; -static const char channel_line[] = "\t\t\t\t\t\t\t\t\t"; static const char subtitle_line[] = "\t\t\t\t\t\t\t\t\t\t> $LOG -wget -q --post-data "login=true&loginName=$USER&loginPassword=$PASS" "http://tvtv.de/tvtv/mytvtv/index.vm?mainTemplate=web/joblist.vm&jl_format=2&jl_view=1&jl_images=1&jl_timeline=1&jl_controls=1&lang=de" -O merkliste.html >> $LOG +wget -q --post-data "login=true&loginName=$USER&loginPassword=$PASS" "http://www.tvtv.de:80/tvtv/index.vm?mainTemplate=web/joblist.vm&jl_format=3&jl_view=1&jl_images=1&jl_timeline=1&jl_controls=1&lang=de" -O if [ -s $MERKLISTE ] ; then # convert merkliste.html to timers.conf format.