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

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

I don’t believe the tablo has the processing power to cut commercials, It saves videos as a series of individual files (which is nice because with overlapping shows the overlap needs only to be recorded once), but I don’t think it has any ability to further cut those files.

The ability to download a video directly from the Tablo would be nice, but for those of us who want a bit of automation we are going to continue to need external scripts (I download videos automatically and watch everything via Plex).

Now if only @tablotv would bring multichannel audio…

1 Like

I can’t get a list today. Here is what happened:

C:\Python27>python tablo2go-2.0.56_MOD.py -list 1>Manual_List.txt
Traceback (most recent call last):
File “tablo2go-2.0.56_MOD.py”, line 992, in
show_proc = proc_meta(show_info, OPTIONS)
File “tablo2go-2.0.56_MOD.py”, line 700, in proc_meta
cleandate = string.splitfields(PROC[‘date’], ‘T’)[0]
File “C:\Python27\lib\string.py”, line 292, in split
return s.split(sep, maxsplit)
AttributeError: ‘int’ object has no attribute ‘split’

C:\Python27>C:\Windows\notepad “C:\Python27\Manual_List.txt”

I don’t understand why I get this error after updating to 2.2.8

The list is created and i get my file, but no shows listed.

[Nov 30 14:29:14 2015] - Starting TabloToGo Version 2.0.56
[Nov 30 14:29:15 2015] - Loading Cache Database
[Nov 30 14:29:19 2015] - Loading download history
[Nov 30 14:29:19 2015] - 1674 shows and movies have already been downloaded
[Nov 30 14:29:19 2015] [192.168.0.101] - Found Tablo named Tablo
[Nov 30 14:29:19 2015] [192.168.0.101] - Loading meta-data for 686 recordings

I also have a problem since 2.2.8. The following is kind of a subset of what I am seeing now. As you can see, 26 are new, but 25 are duplicates ( I don’t believe this ). It says that 1 video is queued, but then never downloads it.

[kkoceski@E4300_XFCE TabloTV-SD-500GB-TS]$ python2 ./tablo2go-2.0.55.py -tablo:192.168.0.101 -mp4:False -tempdir:./tmp
[Dec 1 12:00:20 2015] - Starting TabloToGo Version 2.0.55
[Dec 1 12:00:20 2015] - Loading download history
[Dec 1 12:00:20 2015] - 4345 shows and movies have already been downloaded
[Dec 1 12:00:20 2015] [192.168.0.101] - Found Tablo named Manually Entered
[Dec 1 12:00:20 2015] [192.168.0.101] - Loading meta-data for 523 recordings
[Dec 1 12:00:39 2015] [192.168.0.101] - 26 new TV, 0 movies, and 0 sports
[Dec 1 12:00:39 2015] [192.168.0.101] - 25 matching videos are duplicative
[Dec 1 12:00:39 2015] [192.168.0.101] - 1 matching videos have been queued
[kkoceski@E4300_XFCE TabloTV-SD-500GB-TS]$

Not sure if you’ll find this helpful, but certain metadata values have “moved” in the JSON Tablo response as of version 2.2.8. That caused some issues with TabloRipper (which have now been resolved). But it could be the cause of your issues too.

If that’s the case I will have to update tablotogo. I’ll look into it this weekend. Thanks for the heads up.

I created a new folder and copied tablotogo into it. I started it up at lunch, and it looks like it is going to download the whole drive to the new folder. So, I’ll preface this by acknowledging that I don’t know what I’m talking about, but it seems that it’s a case of an incompatibility between pre-2.2.8 and 2.2.8 concerning the .history file ???

I found my problem went away the next day. Never mind.

One thing I am curious about is that some recordings reappeared, but I can’t download them with any of the export programs.

EDIT - Yesterday I had major problems trying to download programs on any exporter. SurLaTablo seemed to work, but I only got a .ts file that I can’t do anything with.

This is my batch script:

python c:\SurLaTablo\surlatablo.py -n -q 230381 -c -k @

SurLaTablo uses the http://your-tablo-ip:18080/plex/rec_ids so if the recording id isn’t returned by that, then it won’t find it.

Thanks for taking a look this weekend. I really appreciate TabloToGo and use it several times per week.

FYI only (in case it helps diagnose) - I can report the exact same problem here (TabloToGo 2.0.56) since the 2.2.8 firmware update. It seems to have lost the ability to see the recording IDs. For example:

EP010146820126 Murdoch Mysteries - S09E07 - Summer of 75
is now just
. Murdoch Mysteries - S09E07 - Summer of 75

I can’t download new shows from the Tablo. Log sample:

[Dec 1 21:04:38 2015] - Starting TabloToGo Version 2.0.56
[Dec 1 21:04:38 2015] - Loading download history
[Dec 1 21:04:38 2015] - 363 shows and movies have already been downloaded
[Dec 1 21:04:38 2015] [192.168.2.11] - Found Tablo named Manually Entered
[Dec 1 21:04:38 2015] [192.168.2.11] - Loading meta-data for 164 recordings
[Dec 1 21:04:45 2015] [192.168.2.11] - No videos have been queued

Thanks, thats helpful, I look through the metadata and adjust the script. I have this software running as part of an automatic (cron) job on my system and would have never noticed that it wasnt working. (I still use my OTA TiVos as my primary recorders until the Tablo can handle multi-channel audio - hint hint / beg beg @TabloTV )