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

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 )

Oh Boy !!! The weekend is almost here :smile:
Thanks a bunch for looking into this !
I am on a linux box, and this is the easiest method I have found.

Let me know if you need any help testing anything. I looked through the metadata too and it looks like the program details were removed in the latest release.

Well this is really annoying. They removed all of the interesting metadata, and more importantly they removed the episode id / show id from the metadata. I was using this because they were providing the same ID’s that TiVo was using and it allowed easy deconfliction between the two (if TiVo missed it I would grab it from the Tablo), and more importantly to everyone else, this is how I was preventing you from downloading the same show twice…

@TabloTV was the removal of this metadata intentional?

This effectively makes the TabloTV useless to me.

I uploaded a new version of TabloToGo (2.0.61) that will replace the episode id with series.season.episode.espisode_title just so the program will not download duplicates and be useful again to everyone else.

I can confirm that it’s working for me. Thanks for updating jskenney.

It doesn’t work for me :frowning:

[kkoceski@E4300_XFCE TabloTV_2.2.8]$ python2 ./tablo2go-2.0.61.py -tablo:192.168.0.101 -mp4:False -tempdir:./tmp
[Dec 6 15:07:11 2015] - Starting TabloToGo Version 2.0.60
[Dec 6 15:07:11 2015] - Loading download history
[Dec 6 15:07:11 2015] - 450 shows and movies have already been downloaded
[Dec 6 15:07:18 2015] [192.168.0.101] - Found Tablo named Manually Entered
[Dec 6 15:07:18 2015] [192.168.0.101] - Loading meta-data for 620 recordings
Traceback (most recent call last):
File “./tablo2go-2.0.61.py”, line 1011, in
show_proc = proc_meta(show_info, OPTIONS)
File “./tablo2go-2.0.61.py”, line 712, in proc_meta
cleandate = string.splitfields(PROC[‘date’], ‘T’)[0]
File “/usr/lib/python2.7/string.py”, line 294, in split
return s.split(sep, maxsplit)
AttributeError: ‘int’ object has no attribute ‘split’
[kkoceski@E4300_XFCE TabloTV_2.2.8]$

I get this when i try to get a list.

C:\Python27>python tablo2go.py -list 1>Manual_List.txt
Traceback (most recent call last):
File “tablo2go.py”, line 999, in
DB[ipaddr][show_id] = proc_meta(CDB[ipaddr][show_id], OPTIONS)
File “tablo2go.py”, line 712, 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”

One thing I didn’t try is without the old database (.history file). I’ll try to remember to try that at lunch today.

TabloTV --> Do you have an explanation for the removal of some of the metadata ? Do you plan to add it back in ?

Thanks so much for for the update. Like you, I found the metadata very helpful and have saved my .history file.

I’ll D/L your new version and test. FYI for those following along, I found the tablo2go download site (from wayyyyy up in this thread) at https://sites.google.com/a/moboard.com/tablo/