NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Developers v
« Previous 1 … 35 36 37 38 39 … 93 Next »
Whats needed for recording

 
  • 0 Vote(s) - 0 Average
Whats needed for recording
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#21
2008-01-24, 03:18 AM
OK, while sub thinks about how to explain what is the difference in weekly and daily recordings.... Big Grin I'll ask another question, totally off topic.

When I send this URL...

http://thetvdb.com/interfaces/GetSeries.php?seriesname={ strSeriesName }

and I fill in the string variable with a show like "Star Trek" I get a hit.

I just learnt that ampersands cause trouble...

Can't do Law & Order, or Law & Order. Anyone know what would be the trick?
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
psycik
Offline

Posting Freak

Posts: 5,210
Threads: 424
Joined: Sep 2005
#22
2008-01-24, 03:28 AM
Don't you normally encode it, or encode the url before sending it?? Which sorts all that stuff out.

So instead of calling webclient.geturl(http://thetvdb.com/interfaces/GetSeries.php?seriesname={ strSeriesName }
)

there's the uri object which I think would sort that stuff out. I don't do a lot of web stuff.
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,626
Threads: 767
Joined: Nov 2003
#23
2008-01-24, 03:38 AM
zehd Wrote:OK, while sub thinks about how to explain what is the difference in weekly and daily recordings....
From memory the day mask is in the REOCCURING_EXTRAS table.
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#24
2008-01-24, 03:57 AM
psycik Wrote:Don't you normally encode it, or encode the url before sending it?? Which sorts all that stuff out.

So instead of calling webclient.geturl(http://thetvdb.com/interfaces/GetSeries.php?seriesname={ strSeriesName }
)

there's the uri object which I think would sort that stuff out. I don't do a lot of web stuff.

No. at least how I do it, is send the URL to the HTML object in VB6. There's a verianle placed at the end. (My sample had some syntax removed for simplicity)

Bascially, if you type the URL manually in the browser, and try

http://thetvdb.com/interfaces/GetSeries....name={Star Trek}
it resolves. But
http://thetvdb.com/interfaces/GetSeries....sname={Law & Order} does not. Trying escaped forms of the amp doesn't work either. Just wondered if others have come across this...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
zehd
Offline

Posting Freak

Posts: 5,119
Threads: 249
Joined: Feb 2006
#25
2008-01-24, 03:59 AM
zehd Wrote:No. at least how I do it, is send the URL to the HTML object in VB6. There's a verianle placed at the end. (My sample had some syntax removed for simplicity)

Bascially, if you type the URL manually in the browser, and try

http://thetvdb.com/interfaces/GetSeries....name={Star Trek}
it resolves. But
http://thetvdb.com/interfaces/GetSeries....sname={Law & Order} does not. Trying escaped forms of the amp doesn't work either. Just wondered if others have come across this...

Interesting that replacing the & with 'and' works...
Frank Z
[COLOR="Gray"]
I used to ask 'why?' Now I just reinstall...
[SIZE="1"]______________________________________________
Author: ZTools: ZProcess, MVPServerChecker; UltraXMLTV Enhancer, Renamer, Manager; [/SIZE]
[/COLOR]
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


Possibly Related Threads…
Thread Author Replies Views Last Post
  Custom recording tomx 2 398 2025-02-07, 09:14 AM
Last Post: tomx
  API call for Recording Complete linustorvalds 1 273 2025-01-19, 02:11 PM
Last Post: mvallevand
  Manual recording API mvallevand 2 909 2023-11-09, 02:14 PM
Last Post: mvallevand
  Recording direct to GPhotos API rgonzalez 0 1,394 2020-06-29, 04:45 AM
Last Post: rgonzalez
  Recurring Recording URL Parameters jcole998 2 2,880 2019-09-19, 01:08 PM
Last Post: jcole998
  Get recording length from stream skogl 46 13,416 2019-08-15, 09:34 PM
Last Post: sub
  Unexpected result when deleting a pending recording scJohn 5 3,630 2018-05-06, 10:09 PM
Last Post: sub
  How to best verify success when adding a recurring recording drmargarit 1 2,723 2017-03-02, 03:13 PM
Last Post: mvallevand
  Change recording filename programmatically immediately before recording starts? craigrs84 5 5,972 2015-07-13, 09:28 PM
Last Post: patco444
  Recording a specific episode based on season and episode number cbgifford 26 9,979 2014-12-19, 10:28 PM
Last Post: cbgifford

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode