Tablo Tools - Bulk Export/Delete on Win/Mac/Linux

web “FTP” / lftp, etc. (not a quote)

What Nuvyyo/Tablo are running on port 18080 is lighttpd (a web server) serving the raw directory structure of your recordings. It is/was pretty common (browser based ftp clients looked the same) and without looking at the source, lftp simply includes it as “like ftp” because it can.

is the IP 192.168.1.229 hard-coded

No.

Allowing users to eliminate {{EXT}}

Noted. I’ll clean this up without being too restrictive.

Barry Brewer: Chicago, I’m Home.mp4

Great example to help me fix that up, thanks.

Thanks!

Quick answer:

“thermometer” - Actual length of recording DIVIDED BY Expected length of recording

  • this changes colors/icons towards red/0 as the percent decreases

“medic briefcase” - based off of video_details.clean field. True=green, False=red

As discussed, without comskip enabled, those should certainly be collapsed into some sort of “I’m good!” icon like I’ve done with comskip enabled devices.

Rest assured, I’ve made up most of these stats with zero guidance and am more than open to suggestions on interpreting/using the data differently!

Not wanting to be difficult… you pointed to this with 9 characters and a link to an article 39790: Illegal Characters on Various Operating Systems it varies to Windows and Mac OS 9/X (heavily focused on Windows).

Modern linux based file browsers can handle the ! : , ' they really aren’t allowed filename characters. If/when scripting CLI, well… quotes single quote \escaping in quotes as for Windows -

Naming Files, Paths, and Namespaces notes after listing special characters:

Any other character that the target file system does not allow.

This is for “Windows APIs for file and device I/O” not specific to any file system (?) which may/not be different :shrug:

On a friendly note, sanitize-filename does reference Big List of Naughty Strings, specifically blns.txt lines 96 - 98 may be excessive, all inclusive notes possibility extra care

#  Special Characters
#
# Strings which contain common special ASCII characters (may need to be escaped)

,./;'[]\-=
<>?:"{} _+
!@#$%^&*()`~

It is nearly overkill, several are harmless. If I’m foolish enough to use {as} part of the text in my file name will it flag an ID-10T error? or will the template scheme deal with and odd brace/set :poop:

I see your analogy. Just that there are commands/functions you can do via ftp and little with http, well limited via browser.

1 Like

If I subscribe to Tablo Premium Service aka commercial skip, will tablo-tools download the “processed” playlist? ie) a video without the commercials (depending on the ability of the service for the recording)

No. I’ve thought about trying to and assume the data to do it is in the recording’s “pvr” folder, but haven’t actually looked to see what’s possible or required. Somehow it didn’t make it to my Backlog, so I added that. Feel free to open it as an issue so it’s more visible.

Excellent. That explains why I have some videos indicating between 100% and 300%… I have added time to the end of recordings to accommodate late start in response to a sports event that delays the start of a scheduled recording.

I’ve quickly put out v0.2.2-beta.3 which hems up the prefix/suffix problems.
Most importantly, I found that I had stopped sanitizing the rest of the path. Doh. That simply fixes a lot that seemed like a step backward (it was).

Then, most of the “open directory” buttons around the app should work now (tell me where/platform).

Depending on the feedback from this, I’m about ready to release it.

This should all be addressed in 0.2.22-beta.3. I just turned off the sanitizing.

In beta.2 I broke as much as I fixed in 0.2.22-beta.3. Give that a shot and hopefully I’ve caught everything.

Doesn’t seem to be working entirely as intended on Win10 on custom naming and exporting. I did once get it to save a new format (incidentally, wasn’t initially clear that the new format needed to be named and apparently a slug given to it before saving or that it had to be clicked as the default - both of which appear to me to be required, but maybe I’m wrong).

While that once-created new template appears in the drop-down menu use, I can’t edit it afresih - the program seems just to hang after I click the save icon when I have edited it, and after waiting minutes I just abandon it and go to another screen or exit the program. (Even on restarting the program there is a noticeable delay when first opening the Naming scree/n/tab, maybe five seconds, unlike other screens/tabs.)

Even that first effort took more than a minute to save (with no indication what was happening or that I needed to stay on the page and it hadn’t yet been saved … only when I eventually saw the green flash notice did I realize it had been saved then).

When I attempted to export recordings with the the saved custom format the export failed until I realized that I apparently had to go back and clear selections and then re-select new ones for the newly selected template to kick in. Once again when I click away from the Naming screen/tab and attempt to go back to the Naming screen/tab, it took more than a minute for the screen to change from blank to display its content again; a number of times I just closed the program and restarted it as it appeared to have hanged there. I do have a large database, but Tablo Tools has been very fast heretofore, and I was only selecting and attempting to export two episodes at a time.

The icons to open folders and rename files seem to be back working as intended. Just curious - what happens if I attempt to edit the file name mid-export?

On the custom naming page if I click on the X to “cancel” does that cancel the edit, as I assume? If so, good, but how would I delete a saved template?

The delay is definitely me looping through all the records somewhere and half/most of the problem you’re seeing. I guess I’ll also walk through the general creation steps again and see what I can do to make things more obvious.

both of which appear to me to be required

slug = always required
make default = required if you want it to be the default format used

apparently had to go back and clear selections and then re-select new ones

Yeah, certainly a problem.

Just curious - what happens if I attempt to edit the file name mid-export

Now - nothing. When I fix the selected record problem above, they would probably change so long as the export hasn’t started. But, if you’re using the app typically (not forcing open new windows, etc), you currently should not be able to edit/do anything else while an export is in progress without canceling it.

click on the X to “cancel” does that cancel the edit

Yup

how would I delete a saved template

Right, I definitely should do that.

With x.beta3 I exported with the template {{episodePath}}/{{showTitle}} and suspensefuly got the file named “Barry Brewer Chicago, I’m Home.mp4” legit, but not ideal…

“on Win/Mac/Linux” > Reserved characters ( / , ? , < , > , \ , : , * , | , and " ) are windows specific…

but then it’s not really straight forward.

Working within a window manager aka GUI, it has no/little problem with filename with colons, apostrophes and commas. If a user is in a CLI using a shell like bash… these need special care -

man[ual] bash

QUOTING
Quoting is used to remove the special meaning of certain characters or words to the shell. Quoting can be used to disable special treatment for special characters, to prevent reserved words from being recognized as such, and to prevent parameter expansion.

Special characters
Special Characters and Quoting - Learning the bash Shell, Second Edition by Cameron Newham, Bill Rosenblatt

So as long as we’re all pointing and clicking all is good with ! [ & ; commas are often delimiter in command listing arguments, it’s not clear if the parenthesis are in the list (each list are enclosed with them). It’s not that most can’t be in a filename, on the command line - quote double-quote and/or escape may be necessary. Command line includes scripts, (what ever MS now call “bat” files) and/or non-GUI background processes.

When I export and delete, Browse > Shows & Series list, with 0 episodes. They don’t show up in the search list. I suppose it’s waiting for the timed update, or for me to do it? as it won’t remove deleted shows from the DB or initiate an update since it has changed :wink:

neither 0.2.22-beta.2/3 showed the changelog/release notes/what’s new upon first start

I intended to get valid file names out as they were before, and that’s done. I have added stripTitle and stripShowTitle shortcuts for use in custom templates.

1 Like

I must be missing something. This sounds like you deleted stuff, it disappeared and you’re surprised by that which can’t be right.
I did go through a “delete on finish” export and everything worked as I’d expect.

Looking at the code, it never did, but I made it do so while taking care of the menu related one.

Well, it didn’t disappear. It was still showing in browsing shows, 0 episodes. They no longer showed in search, while still showing an instance in browse shows

Doh! I’m not updating/removing the Show record along with the Episode (which is removed). I’ll see what I can do…

1 Like

Ok, last time I saw it I noticed markup notation. I believe there was some reference about it and they haven’t displayed since.