API/interface to pull recorded show listings, metadata, and files off of the Tablo

@typicalaimster , @benjamato


Sorry for the confusion with -not, my thoughts were to invert the selection, so if you did “tablo2go.py The Simpsons” to get all episodes with “The Simpsons” in them, then the -not would just get everything but “The Simpsons”  

It was not set up to do what you are thinking with multiple selections, although that is a really good idea.

One way to get around this would be to mark shows you don’t want as complete, example:

tablo2go.py -complete family fued

but this will not currently work with the -a option.  I’ll see what I can add in the next version of this, just waiting on the release of the official APIs before I begin work on a version 3.

My T2Go has stopped working. It has pulled down 501 shows but now I get ‘FAIL: unable to download file list’.

Any offers?

You may need to reboot the Tablo, I’ve never had these specific issues, but a few others have stated that after alot of work the box may need a reboot.

Actually after a “lot of work” you simply have to “rest” so that the Tablo can free up resources and then begin again. I know I made some changes to SurLaTablo to try to force free some resources, but you can only do so much client side.
IMHO, a reboot, while it will “fix” the problem, “waiting” should also fix the problem (arguably better). Perhaps do just so many pulls and then “rest” and then do the next set… etc…

Thanks. I tried that and no joy.

However, after futzing around I decided to check the things I ‘knew’ to be true. Like the IP address :-))

Turns out that the IP had changed (it’s not supposed to, my switch is set to assign the same IP to a mac address every time …) However, I think I have a bug that (at least in part) led me down the garden path.

G-iMac:T2Go graham$ ./t2go.py -tablo:192.168.0.63 -ffmpeg:./ffmpeg -db:./tablo2go.db -output:/Users/graham/T2Go
[May 30 08:18:40 2015] - Starting TabloToGo Version 2.0.56
[May 30 08:18:40 2015] - Loading Cache Database
[May 30 08:18:46 2015] - Loading download history
[May 30 08:18:46 2015] - 501 shows and movies have already been downloaded
[May 30 08:20:02 2015] [192.168.0.63] - FAIL: Unable to download file list
[May 30 08:20:02 2015] [192.168.0.63] - Found Tablo named Manually Entered
[May 30 08:20:02 2015] [192.168.0.63] - Loading meta-data for 0 recordings
[May 30 08:20:02 2015] [192.168.0.63] - No videos have been queued

Note that the feedback (above) indicates that the system HAS found a table at that IP - though clearly that cannot be true.

So, when I check the ‘fact’ I discover that the table is now at 46 (not 63), and changing the IP gives:

G-iMac:T2Go graham$ ./t2go.py -tablo:192.168.0.46 -ffmpeg:./ffmpeg -db:./tablo2go.db -output:/Users/graham/T2Go
[May 30 17:31:24 2015] - Starting TabloToGo Version 2.0.56
[May 30 17:31:24 2015] - Loading Cache Database
[May 30 17:31:30 2015] - Loading download history
[May 30 17:31:30 2015] - 501 shows and movies have already been downloaded
[May 30 17:31:37 2015] [192.168.0.46] - Found Tablo named Manually Entered
[May 30 17:31:37 2015] [192.168.0.46] - Loading meta-data for 546 recordings
[May 30 17:32:20 2015] [192.168.0.46] - 49 new TV, 3 movies, and 0 sports
[May 30 17:32:20 2015] [192.168.0.46] - 1 matching videos are duplicative
[May 30 17:32:20 2015] [192.168.0.46] - 51 matching videos have been queued

Yaaay! Though I do think there is a bug somewhere :-))

Cheers

Graham

I just installed ffmpeg, python 2.7 and the script.

It seems like my Tablo isn’t being found.

Is there a known solution for this?
And could it have anything to do with ports?

                                                                            C:\Python27>tablo2go.py -list                                                   [Jun 22 04:41:27 2015] - Starting TabloToGo Version 2.0.56                      [Jun 22 04:41:28 2015] - Unable to automatically locate Tablos                  [Jun 22 04:41:28 2015] - Loading download history                               [Jun 22 04:41:28 2015] - 0 shows and movies have already been downloaded                                                                                        C:\Python27>

Nevermind, I didn’t know I had to specify the IP address. And when I tried, I did it like this

…/tablo2go.py -tablo:IPADDR 192.168.XXX.XXX

instead of the correct way like this:

…/tablo2go.py -tablo:192.168.XXX.XXX

Thanks so much for the work you all put in!

Does anyone have a solution to this issue I’m having.

I am manually recording the TV show “Judge Judy” for my grandmother, and when I run

tablo2go.py -list

It tells me that duplicates have been found and only displays the most recent episode.
How can I download the others in this list?

@DrTesla , not sure why it wasn’t able to find your Tablo. As for the Judge Judy episodes, it may be that all of the metadata wasn’t available. I will admit I haven’t updated this software for a bit, I am waiting on the official API before working on version 3, and without multichannel sound I still have to use my TiVo as the primary system.

1 Like

Thanks for the reply.

It’s not big deal with the automatic finding of my tablo, I just use a .bat that calls my IP each time my own little script is run by Task Scheduler (repeated Mon-Fri).

As far as the Judge Judy episodes, I currently don’t pay for Tablo Subscription so there’s hardly any metadata (like season and episode info).

So your python script sees all the manually repeated recordings being saved by the same name (“Judge Judy First <2015-07-16>” and yesterday “Judge Judy First <2015-07-15>” ).

I setup my .bat script to just ignores the history file from your python script and search for “Judge Judy First” (the manually inputted name of my scheduled recording for FOX at 3:00PM) and I have another script that searches for “Judge Judy Second”(the manually inputted name of my scheduled recording for FOX at 3:30PM).

Below is an example of my .bat script that Task Scheduler runs everyday after the recording is finished.

It changes the command prompt to the correct directory (might by unnecessary), then calls your python script, then finds the Tablo by IP address, then searches for the recording (ignoring the history file), then moves the converted .mp4 file to “My Documents”. Because I don’t pay for the subscription from Tablo, it treats all manual recordings as “movies”

cd C:\Python27\
tablo2go.py -tablo:192.168.000.000 "Judge Judy First" -ignore -moviedir:C:\Users\user\Documents

Hopefully this info helps anyone else in a similar situation!

This is about a different method

This is neat! I tried running this but get this at the bottom of the output. It did not process. Any reason why? or how can I determine why?

[Sep 21 20:05:05 2015] [192.168.1.147] - Video has 764 segments
[Sep 21 20:05:05 2015] - Unable to download video segments

This error often appears when you can’t write files to the tempdirectory, if your run the program with the -help argument it should show you what the defaults are and you may need to change it.

I’m having difficulty in downloading from my Tablo - which has worked fine for months:

G-iMac-2:T2Go graham$ ls -al
total 388672
drwxr-xr-x 12 graham staff 408 Nov 8 14:11 .
drwxr-xr-x@ 27 graham staff 918 Nov 6 10:54 …
-rw-r–r--@ 1 graham staff 6148 Aug 29 11:04 .DS_Store
drwxr-xr-x 3 graham staff 102 Jul 25 08:42 fail
-rwxr-xr-x@ 1 graham staff 26812556 Mar 4 2015 ffmpeg
drwxr-xr-x 3 graham staff 102 Nov 6 10:52 movies
-rwxr-xr-x@ 1 graham staff 52018 Jan 29 2015 t2go.py
-rw-r–r-- 1 graham staff 41961 Nov 1 19:38 tablo.history
-rw-r–r-- 1 graham staff 1321315 Nov 8 14:11 tablo.log
-rwxr-xr-x@ 1 graham staff 52018 Jan 29 2015 tablo2go-2.0.56.py
-rw-r–r-- 1 graham staff 170699611 Nov 8 14:11 tablo2go.db
drwxr-xr-x 3 graham staff 102 Nov 6 10:52 tv
G-iMac-2:T2Go graham$ ./t2go.py -tablo:192.168.0.50 -ffmpeg:./ffmpeg -db:./tablo2go.db -output:/Users/graham/T2Gocd T2Go
[Nov 8 14:12:19 2015] - Starting TabloToGo Version 2.0.56
[Nov 8 14:12:19 2015] - Loading Cache Database
[Nov 8 14:13:10 2015] - Loading download history
[Nov 8 14:13:10 2015] - 737 shows and movies have already been downloaded
[Nov 8 14:13:10 2015] [192.168.0.50] - Found Tablo named Manually Entered
[Nov 8 14:13:10 2015] [192.168.0.50] - Loading meta-data for 266 recordings
[Nov 8 14:13:11 2015] [192.168.0.50] - 265 entries were cached
[Nov 8 14:13:11 2015] [192.168.0.50] - 54 new TV, 2 movies, and 0 sports
[Nov 8 14:13:11 2015] [192.168.0.50] - No videos have been queued

Despite the fact there IS material to download, as you can see from the above, the program decides do download none of it.

Any ideas?

Cheers

./t2go.py -tablo:192.168.0.50 -ffmpeg:./ffmpeg -db:./tablo2go.db -output:/Users/graham/T2Gocd T2Go

did you combine two lines together by mistake when running it or in the cut and paste? This is probably what you want:

/t2go.py -tablo:192.168.0.50 -ffmpeg:./ffmpeg -db:./tablo2go.db -output:/Users/graham/T2Go

otherwise it is trying to put things in /Users/graham/T2Gocd and searching for a video with T2Go in it.

Hope that helps.

Duh!!!

Thanks…

1 Like

@mavsfan815 , Tablo Ripper is a completely different program (designed I think with a gui in mind) this software was designed with linux as the target to be run in the background of a server (although it works on linux, osx, and windows). So possibly a different set of users / goals.

Tablo2go was developed to provide a fully functional way of downloading the files, as well as providing code so that other people could embed similiar functionality into their programs.

ok was just throwing it out there. IMO Tablo Ripper is the best tool out there!

1 Like

It would be great though if this feature were built within the Tablo interface and be platform independent. Have it be able to cut commercials (this is a challenge) save the show in a supportable format like mp4 and then display the link to download from the interface.

1 Like