The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

[Message Prev][Message Next][Thread Prev][Thread Next][Message Index][Thread Index]

Re: Re: xAP TorrentMon



Hi Stuart,

> It needs a direct link to a .torrent file to download, not a link to
> some other page from which you can obtain the file.

Ok, I've fixed that now, apparantly there's a switch on uknova to include
the links.

I've got a bit further now, TorrentMon extracts the download url from
news.report (in this case I had it match on "apprentice"):

news.story.1
{
link=http://www.uknova.com/download.php/24184/the.apprentice.uk.s02e05.ws.hq.pdtv.xvid.%5Blee%5D.avi.torrent?passkey=xxxx
desc=<a href="http://www.uknova.com/details.php?id=24184";>Details</a>
title=Reality Shows : The.Apprentice.Uk.S02E05.WS.HQ.PDTV.Xvid.[LEE]
datetime=20330822181824
}

If I put:
http://www.uknova.com/download.php/24184/the.apprentice.uk.s02e05.ws.hq.pdtv.xvid.%5Blee%5D.avi.torrent?passkey=xxxx
in my browser it grabs the torrent (note that I've obfuscated the passkey).

But I get the following in TorrentMon:

Source: System
The remote server returned an error: (404) Not Found.
System.Net.WebException: The remote server returned an error: (404) Not
Found.
at System.Net.HttpWebRequest.CheckFinalStatus()
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at System.Net.HttpWebRequest.GetResponse()
at System.Net.WebClient.DownloadFile(String address, String fileName)
at
KCS.xAP.Applications.TorrentMon.MESSAGE_MONITOR.DownloadTorrentThread(Object
state)


Thanks,

Martyn


----- Original Message -----
From: "stuartbooth_co_uk" <lists@xxxxxxx>
To: <xap_automation@xxxxxxx>
Sent: Tuesday, March 28, 2006 6:53 PM
Subject: [xap_automation] Re: xAP TorrentMon


> --- In xap_automation@xxxxxxx, "Martyn Wendon"
> <martynwendon@...> wrote:
>>
>> Can anybody successfully using xAP TorrentMon give some examples
of
> their
>> config files (..\plugins\torrentmon.xml)?
>>
>> I'm having trouble getting it to work.  I think that I have it set
up
>> correctly using the rss feed for uknova (which is successfully
> retrieved by
>> xAP News and sends news.report messages correctly) but it never
> seems to do
>> anything
>
> Unfortunately it won't work in your example:
>
> link=http://www.uknova.com/details.php?id=24172
>
> It needs a direct link to a .torrent file to download, not a link to
> some other page from which you can obtain the file.
>
> I no longer use this feature either because I don't have a suitable
> RSS feed that posts direct links to the files. In fact my episode
> history file hasn't been updated since June last year. Nowadays I just
> use it to copy my completed downloads to my Videos share on my Server.
>
>> apart from generate the occasional error like:
>>
>> The following xAP message caused an error: Block is not formatted
for
>> KCS.xAP.Framework.Schema.xAPNewsReportFeedBlock
>
> Unfortunately my main PC died the other week and I haven't resurrected
> it. Hardware Relief Fund Donations welcomed... Got to decide on a
> repair strategy first. Anyway, I don't have the setup to test that at
> the moment, but it's clearly not liking something it sees in one of
> the message blocks.
>
>> ...which is in response to news.report messages from other sources
> (i.e. not
>> the ones it should be looking at).
>
> It looks at them all to detect the ones it likes. It reads them into
> xAPNewsReportFeedBlock objects so it can look for the data it wants,
> but it doesn't like some of the blocks it's seeing.
>
> If you could post the complete message it should include a sample
> message that caused the error? I can then figure out the problem. Or a
> URL to a problem RSS feed if you have enough information in the error
> message to see what's up. 2x click the entry and it ought to expand
> upon the error.
>
>>
>> Here's my config:
>>
>> <?xml version="1.0" encoding="utf-8"?>
>> <profile>
>>   <section name="TorrentMon">
>>     <entry
name="CompletedTorrentsDirectory">C:\Shared
>> Folders\Downloads\Torrents\Completed</entry>
>>     <entry
name="EnableRSSImporting">True</entry>
>>     <entry name="RSSBackendURL">http://www.uknova.com</entry>
>>     <entry
name="TorrentDetectionDirectory">C:\Shared
>> Folders\Downloads\Torrents\Download Queue</entry>
>>   </section>
>>   <section name="CompletionMonitoring">
>>     <entry name="Spender">C:\shared
Folders\Downloads\Torrents\xAP
>> PVR</entry>
>>   </section>
>> </profile>
>
> My Completion Monitoring is a bit more specific. For example:
>
>    <entry
> name="battlestar.galactica.+([ph]dtvdsripxviddsr)">V:\_TV
> Shows\Battlestar Galactica</entry>
>
> But it'll only work if you manually go and get the .torrent file as
> mentioned. The completion monitoring works a treat for me.
>
> HTH,
>
> S
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>



___________________________________________________________
Win a BlackBerry device from O2 with Yahoo!. Enter now. http://www.yahoo.co.uk/blackberry




xAP_Automation Main Index | xAP_Automation Thread Index | xAP_Automation Home | Archives Home

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.