WebTools-NG

New Release V0.3.14

Get more info here:

Hi Dane, I just stumbled across WebTools-NG. Installed v0.3.14. The release notes mention you’ve disabled export to .xlsx and photo export.

  1. I was looking for poster export functionality. Is there a previous version where it worked semi-stable? Or might you add it back in v0.3.15?

  2. In the CSV export, re: Poster URL, I tried to create the URL in a browser, adding my X-Plex-Token at the end. Example: {MY-PMS-IP-HERE}:32400/library/metadata/124552/thumb/1649212325&X-Plex-Token={MYTOKENHERE}
    and I get a 401 Unauthorized error. Is there a setting in Plex that I need to turn on to allow access and return a valid result? I’m running Plex 1.25.8.5663

  3. Is there anything specific that you’d like tested in this version? I’m happy to help in any way that I can.

Posters are still there.
It’s xls export that’s disabled, as well as export from photo library

First parameter starts with an ? and not an Ā“&`
So correct line would be:

{MY-PMS-IP-HERE}:32400/library/metadata/124552/thumb/1649212325?X-Plex-Token={MYTOKENHERE}

All of it :smiley:

Edit: And forgot…

To export posters and or art, use a custom level like:

Thank you for catching my mistake. Using ? instead of & fixed it.
The Custom Level worked too!
Minor note on poster export: I tried changing a poster in Plex and then running the ExportTools again to see if it updated the .jpg in the WebTools-NG\ExportTools\Posters directory.
It updated the file as expected. However, it didn’t alter the creation date, it altered the modified date (as viewed from File Properties). So I initially didn’t think it worked as it had the same date/time stamp. It wasn’t until I opened the poster jpg that I realized it worked.
Very likely it worked as intended, just making an observation about date/time stamp.

Heh, never tested that part, so thanks for the feedback, and glad it works for you

Found another minor issue. I used ExportTools and exported Library ABC (117 rows). When I attempted to export Library DEF (588 rows), the default value in ā€œItems to start withā€ was 117 instead of 0.
I’m assuming the counter wasn’t reset properly.

Also, is this the forum where you want bugs posted or should I create a github account and report them there? What’s your preference?

I always prefer a GHI for a bug report :wink:

Can WebTools-NG be used to export data directly from the sqlite db files? I have rescued those files from an old Plex installation and would love to export the various data from it for uploading to Trakt.

No, it interface with a running PMS only

But you can however do this:

  • Power off your existing PMS.
  • Make a backup of your existing database
  • Replace existing database with your rescue database
  • Power back up PMS
  • Export with WebTools-NG
  • Power off PMS
  • Put origen database back in place

And if you missed it !!!
BACKUP your database before all of this :wink:

Are you sure that wouldn’t cause some problems? I mean, the location data and files that the old Plex server referred to no longer exist. Won’t Plex then throw a ton of errors or something? Or would it not really matter, so long as WebTools-NG can get at the info to export it?

As long as you don’t refresh the libs, you should be fine…

I do it all the time both to reproduce WT-NG errors with databases people sent me, as well as if forum users have a broken database, that I fix for them, and wanna check if it actually works afterwards

Okay, I’ll give that a try probably tomorrow.

I’m intending on using this to generate a CSV file that can then be used to update my collection on trakt.tv by way of a python script. I’m planning on adding more functionality to it so it can fill in more metadata such as resolution, hdr type, audio codec, etc. See trakt.tv’s API (under ā€œMedia Object Post Dataā€) for a list of the data I’m looking for.

So far, I’ve come up with a rather complex SQL query for the raw sqlite database. It still needs some work, but I could post it here (or on the Issues page of the GitHub repo; please let me know) to give you an idea of what I’m trying to do.

Not relevant, since we only use the Rest API, and never ever do a direct db access!

Hi, can this tool be used to recover the list of media that were on my Plex before the hard drive failed?
Thank you!

You can do that if

  1. The server install wasn’t on the failed drive
  2. You haven’t rescanned the libraries since the crash
2 Likes

Thank you. Doesn’t the libraries re-scan themselves automatically?

That depends on your server configuration, e.g. Settings > [Server Name] > Library > Scan my library periodically

1 Like

New Release

V0.3.15 has just been released, with a brand new module, that allows you to kick start scheduled butler tasks

From the changelog:

Changes :

Grap it here:

How do I import playlists that have been exported with Webtools-NG previously. I had to reset my windows computer and I lost the playlists in Plex, but I have the exported ones saved.

Sadly, WebTools-NG is currently an export tool only