logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

tv_grab_na_dd change: --list-times: msg#00116

Subject: tv_grab_na_dd change: --list-times
Zap2It Labs is adding a new method call to their SOAP interface that
returns the following values:

blockedTime: The time, in UTC, when the user is permitted to again
download listings data. (value currently returned, but not enforced)

suggestedTime: A time, in UTC, suggested by the server for a client to
schedule a future download. This allows TMS to schedule maintenance
windows and spread out client downloads while ensuring minimal user
impact.

I plan on supporting this with tv_grab_na_dd using a "--list-times"
option.  If specified, the following will be written to STDERR.

-----
blockedTime    |2005-03-30T00:09:08Z
suggestedTime  |2005-03-31T12:51:43Z
Fetching from DataDirect:     dd_data is in dd.xml
    Fetched 4424 k/bytes in 39 seconds
-----

The rest of the operation would continue normally. "--list-times" only
triggers the two lines above to be added.

The idea is that automated programs would search STDERR for lines
beginning with those strings,separate on the vertical bar, and change
schedules as needed.

I wasn't sure the best way to pass this info along.  I decided to
roughly follow the --list-linups and --list-channels options, but write
to STDERR since this operation still allows a data download (to STDOUT)

comments? suggestions?

Robert


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click


<Prev in Thread] Current Thread [Next in Thread>