WebTools-NG

Sorry for the late reply. I made my post and promptly left town. I’m back at home now and I downloaded the latest version you released yesterday, and am having the same problem. Verbose logging reveals that it’s trying to reach Plex on IP addresses that will never work.

18:51:16.291 › Selected server: hippie
18:51:16.293 › Checking address for server: hippie
18:51:16.294 › Checking: https://172.18.0.5:32400
18:51:17.214 › ET Created
18:51:20.872 › Export Main type selected: 15
18:51:21.321 › No response recieved
18:51:21.321 › Checking: https://<PUBLIC IP ADDRESS REDACTED>:32400
18:51:22.196 › Secondary export type selected as: 2001
18:51:22.196 › Export Sec type selected: 2001
18:51:22.196 › Getting list of libraries
18:51:22.196 › Target is: 15
18:51:22.197 › fetchSections called
18:51:22.198 › Getting levels for: 2001
18:51:22.198 › ET LevelNames: {"Level 1":"level1","Level 2":"level2","All":"all"}
18:51:22.198 › ET Custom LevelNames: {}
18:51:26.322 › No response recieved
18:51:26.323 › Returning valid address as: 

The first IP address it tries is the IP address of my Plex Docker container (172.18.0.5), which isn’t going to be accessible unless I run this on the same machine as the Plex Docker container. The second IP address is my public IP address, which isn’t going to be reachable inside my network either.

To further confirm that this is the problem, I was able to use WebTools-NG to export a playlist when I was away from home, outside my local network.

I just enabled NAT reflection on my firewall and it started working. This is a satisfactory solution for me, but I’m happy to help with testing if you want to support a use case where someone is running Plex in Docker and enabling NAT reflection is not an option for them.

All I have, are the IP’s that plex.tv has registered for your PMS

If neither works, that you must fix your setup, like with a NAT etc.

There’s nothing I can do about that

MediaContainer size=“0” claimed=“1” machineIdentifier=“22…” version=“1.22.1.4275-48e10484b” /MediaContainer

The problem was that the info was seen as HTML and was hidden. Removed the <> and now shows…

@dmoor

Are you on the latest version V0.3.10.7ff8255 since changes stuff a tad here, allowing access now using IP addy, instead of DNS names

And if not, please upgrade, and also note, that this is beta, so maybe consider in the global settings, to subscribe to beta updates

Yes. Updated and subscribed to Beta. Same thing. iMac just shows blank for library pick list, QNAP has a revolving red circle just above the blank picklist box.

Ahh @dmoor

I now see that you as type selected library and as secondary libraries

If so, then there’s no selection of individual libraries, since that’s an export of all the library definitions/settings, and not the contents of them :wink:

And granted, we missed to put that into the Wiki @trumpy81

I sorta didn’t select the sub type libraries. It is normally just blank, and tested that way. If I click the sub type fields it does show “libraries” as the only pick option. Didn’t see any way to clear it.

Just tried it out as I’ve been using ExportTools for a long time. Here are a few thoughts:

  1. It’s great! I love the idea of not having to deal with manually installing a plug-in every time Plex has an update. It also works really well.

  2. While it’s cool to remember the username to sign in, it would be great to have it also remember the password and just sign in automatically. For 2FA this would be impossible of course, but for those that aren’t using 2FA, it’s a lot easier to just launch the app and have it connect without needing to enter a password each time.

  3. The ability to define your own custom levels is fantastic and exactly what I’ve been wishing for with ExportTools. That being said, one major feature I need is the ability to choose which column I want the CSV file to be sorted by. Right now it auto sorts by Title, which works really well for general movie and tv show outputs, however I have a large collection of tutorials all grouped into collections. What I would like is to have the output sorted by the Collection name and then each Title within that collection.

  4. Adding the ability to run these outputs on a schedule would be awesome. I wrote a bash script against a CRON job to run my ExportTools backups every night and auto-move the most current output into another folder. This way I had a current output and a previous backup output at all times.

  5. Small bug: If a title has an apostrophe in it (i.e. The 'Burbs) the output does not properly encode that and instead just treats it as an extra space.

Otherwise, it’s fantastic and I already uninstalled ExportTools in favor of WebTools.

1 Like

@kittonian

See answers below

  1. Huge thanks for the nice feedback
  2. You can sign in with your Token, and thus get it to work, even with 2FA enabled!
    See: Install · WebTools-NG/WebTools-NG Wiki · GitHub
  3. Sorry, but a CSV file is simply a text file, and has no way of doing sorting etc.
    When said, the app you use to view the CSV file in has, and most apps, like Excel, tends to autosort on the first column, so maybe create a custom level, and make collections the top field?
  4. We are still in Beta here, so command-line execution is not part of it, besides token as shown above. But reason that was put in was both to make my life more easy during development, as well as put in the foundation for allowing parameters
  5. That I sadly can’t reproduce, so maybe look into your output settings, like Qualifier ?
    See: ETSettings · WebTools-NG/WebTools-NG Wiki · GitHub

I am suggesting that the app have the option to also save your password so that it can auto log you in without having to use the command line to launch the app and add the auth token.

It seems that the CSV file is actually being created based on an alphabetical sort from the Title field. I have created custom levels for everything I want to export and all of them auto-sort on that Title field. This can be verified by opening the CSV in TextEdit, viewed from QuickLook, or opened in the editor of your choice (Numbers or Excel). What I am suggesting is an option for WebTools to create the CSV file based on whatever field you wish to be the alphanum sort. Also, the Title field is not my first column in the CSV (it’s actually the 3rd).

Perhaps it is exporting based on what Plex sorts by when viewing everything? My output is identical to the way I see my library. In Movies, everything is sorted alphabetically. In TV Shows, it shows me all my shows alphabetically and when I export TV Episodes it sorts them by show and then by episode alphabetically. This is great! However, when I export the Tutorials it is using the main list of all tutorials and not the collections tab where Plex will show you all of your collections. Perhaps if WebTools could export from the collections tab instead of the main tab it would work the same as the TV Shows? Just a thought.

Totally understand the beta phase, but it would be great to add the functionality to automate the exports and create backups. It appears that automation is part of the roadmap per GitHub, though I completely understand the early phase of this app.

To reproduce, name a Movie with an apostrophe in the Title field and do an export. The apostrophe is replaced by a blank space, so The 'Burbs becomes The Burbs.

Could you create an RFE for above on Github?

Released V0.3.12.898c1ee

See changelog here

Done :slight_smile:

1 Like

Hi all,

Running WebTools-NG 0.3.12 with PMS 1.23.2.4656 on CentOS 8

After launching WT to export audiotracks, the status windows says “Status: Export in progress”
After a few minutes, it ends up with a white empty window and the following message at the end of the logs

<— Last few GCs —>

[156315:0x1b9700000000] 744226 ms: Scavenge 1892.5 (2063.5) → 1891.8 (2071.2) MB, 12.5 / 0.0 ms (average mu = 0.891, current mu = 0.430) allocation failure
[156315:0x1b9700000000] 745359 ms: Mark-sweep 1899.5 (2071.2) → 1898.8 (2079.2) MB, 1098.9 / 0.0 ms (average mu = 0.811, current mu = 0.218) allocation failure scavenge might not succeed

<— JS stacktrace —>

Coud this be due to the number of items to be exported (970.000)??

On a side note, I fully support @kittonian’s request for being able to automate exports!

Thanks a lot

@patrick_derwael.be

Are you exporting to XLS as well?

No, I’m just exporting to CSV

Then I as a start, need logs in verbose mode

Here we go: https://we.tl/t-acyHEsdjhw
PS: there were 2 log files with the same timestamp, so I have included both

@patrick_derwael.be

It’s a bug, that has a GHI here: [BUG] ET: Dig into algorithm · Issue #365 · WebTools-NG/WebTools-NG · GitHub

Ok, thank you for the info

Any idea about when it could be fixed? (Not putting pressure, just an attempt to plan things)
And is there a known workaround?