No - the last version I found (and I checked recently) was the same version I was using. Obviously, I was looking at the wrong place. Do you mind sending me to the proper location?
thanks
No - the last version I found (and I checked recently) was the same version I was using. Obviously, I was looking at the wrong place. Do you mind sending me to the proper location?
thanks
Wait - I think I found it. (although I was sure it wasn’t there when I looked before )
I’ve switched from tablo2go to this surlatablo. Pretty happy with it for a while, but now I’m getting an error —
Traceback (most recent call last):
File “surlatablo-2.3_(2).py”, line 3276, in
doConvert(sl, options, basedirs, filename_pats, transcoder_names)
File “surlatablo-2.3_(2).py”, line 1637, in doConvert
db_rec[‘plex_season_number’] = ‘{0:02d}’.format(season_number)
ValueError: Unknown format code ‘d’ for object of type ‘unicode’
I’m guessing there is a weird recording on my TabloTV that’s causing this - maybe a bad name ?
Thanks for any help…
Which OS?
Does sound like bad meta though… a season number that’s not a number?
Edit your surlatablo script and go to line 1636, the two lines setting the plex_season/episode_num to:
try:
db_rec['plex_season_number'] = '{0:02d}'.format(int(season_number))
except:
db_rec['plex_season_number'] = '00'
try:
db_rec['plex_episode_number'] = '{0:02d}'.format(int(episode_number))
except:
db_rec['plex_episode_number'] = '00'
Wow - quick response - trying it now.
File “surlatablo-2.3_(2)_(fix).py”, line 1648
if (options[‘use_existing_tsfile’]):
^
IndentationError: unexpected indent
Is python indentation conscious ???
Oh, and sorry - this is arch linux…
Python is all about indentation.
And it’s picky about tabs vs spaces. If the original code is all spaces (and I think it is), then make sure you’re using spaces as well.
A direct copy/paste from the web response got that indentation error.
Oh My Golly Gosh !!! I took care with spaces and it looks like it’s working.
Now I really like the {…} containers of c/c++
Is this a python way of structuring the programmer ???
Does it care about extra lines too ???
It’s a python thing. So no great python “one liners”
No, not really.
Still working ! !
Thanks for all the help.
I’m still astounded about the space/tab sensitivity.
It’s good to learn something new every day ( if I remember it )
have anyone ever seen this error before with SurLaTablo 2.3?
z:\>surlatablo.py --query meta_type~=TV --convert --ccaption --clobber Mp4 DeleteX
Working on: [./TV/Saturday Night Live/Season 44/Saturday Night Live - s44e18 - Emma Stone; BTS]
Retrieving Tablo Data (1757099): [############### ] 74%
Traceback (most recent call last):
File “surlatablo.py”, line 3276, in
doConvert(sl, options, basedirs, filename_pats, transcoder_names)
File “surlatablo.py”, line 1847, in doConvert
temp_f.write(ts_response.read())
File “C:\Python27\lib\socket.py”, line 363, in read
return buf.getvalue()
MemoryError
I seem to be getting it at random times e.g. if I run the command again it might progress through 3 recordings before I have an issue (though the error is the same)
Me wonders if this is a HW error in the Tablo PVR
I didn’t capture the errors I got, but I attribute some of the failures I had gotten to the Tablo rebooting itself when encountering a “weak signal”. Do you have segmented recordings ?
how do I tell if a recording is segmented ?
do you have any recordings that have the same date/time. When you look at them, are they shorter in time than they should be ?
no they all look to be right in terms of date / time and duration, I do not have duplicates
I do notice though that the progress bars from SurLaTablo tends to stop for a bit, and then jump anywhere from 2-10% forward in one go, and then stop again etc.