Welcome, Guest
Python Scripts for ComicRack
  • Page:
  • 1
  • 2

TOPIC: [Script request] Find deleted files

[Script request] Find deleted files 7 years 2 months ago #9997

  • bakaneko
  • bakaneko's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Hi. I want someone to make script that scans for library folders, checks all files and if file is missing script marks it in ComicRack database so I can check them later.
For some reason ComicRack itself doesn't do that on "Scan eComic Folders", it only marks them when I find them in the library :huh: . Also I know about "Automatically remove missing files from Library during Scan". However I don't want them removed, I want them reported as missing.

Thank you.

EDIT Script by pescuma seems to do the job.
Last Edit: 7 years 2 months ago by bakaneko.
The administrator has disabled public write access.

Re:[Script request] Find deleted files 7 years 2 months ago #9998

  • Stonepaw
  • Stonepaw's Avatar
  • Offline
  • Moderator
  • Posts: 921
  • Thank you received: 268
  • Karma: 173
A while ago I wrote a smartlist script that displays any eComics that ComicRack reports are missing.

To use it simply install it and create a smartlist with the user script "File is missing". To get best results set your main library to not display stacks and quickly scroll from top to bottom. That will force ComicRack to look for missing files. Then go to the missing files smartlist and they should all be displayed.
The administrator has disabled public write access.

Re:[Script request] Find deleted files 7 years 2 months ago #9999

  • bakaneko
  • bakaneko's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Stonepaw, I already have your script.
To get best results set your main library to not display stacks and quickly scroll from top to bottom. That will force ComicRack to look for missing files.
I know that too. So, scrolling through several thousands of files to find missing ones is intended behavior?
The administrator has disabled public write access.

Re:[Script request] Find deleted files 7 years 2 months ago #10000

  • Stonepaw
  • Stonepaw's Avatar
  • Offline
  • Moderator
  • Posts: 921
  • Thank you received: 268
  • Karma: 173
bakaneko wrote:
To get best results set your main library to not display stacks and quickly scroll from top to bottom. That will force ComicRack to look for missing files.
I know that too. So, scrolling through several thousands of files to find missing ones is intended behavior?
Somebody correct me if I'm wrong, but as far as I know ComicRack doesn't keep the missing file property updated until the file is attempted to be accessed. Scrolling through the library forces ComicRack to try and get thumbnails, thus accessing the files and finding missing ones.
The administrator has disabled public write access.

Re:[Script request] Find deleted files 7 years 2 months ago #10057

  • pescuma
  • pescuma's Avatar
  • Offline
  • Expert Boarder
  • Posts: 115
  • Thank you received: 16
  • Karma: 21
The administrator has disabled public write access.

Re:[Script request] Find deleted files 1 year 2 months ago #46100

  • Pachilles
  • Pachilles's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 12
  • Karma: 0
Unintentionally funny. Link is a 404 page, now.

Pachilles
The administrator has disabled public write access.

[Script request] Find deleted files 1 year 2 months ago #46109

  • jkthemac
  • jkthemac's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 766
  • Thank you received: 253
  • Karma: 55
No idea if the script still works but you can now find it <here>
The administrator has disabled public write access.
The following user(s) said Thank You: perezmu

[Script request] Find deleted files 1 year 1 month ago #46362

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 455
  • Thank you received: 117
  • Karma: 24
I do this by simply search for books with a VERY small size (smaller than any real comic, for example 0.01MB) XD
The administrator has disabled public write access.

[Script request] Find deleted files 1 year 4 days ago #46550

  • kge
  • kge's Avatar
  • Offline
  • Fresh Boarder
  • Posts: 8
  • Thank you received: 1
  • Karma: 0
jkthemac wrote:
No idea if the script still works but you can now find it <here>

Sorry, but I have no idea how to add an extension that is neither .zip nor .crplugin. Can you give me a little hint?
The administrator has disabled public write access.

[Script request] Find deleted files 1 year 4 days ago #46551

  • Xelloss
  • Xelloss's Avatar
  • Offline
  • Platinum Boarder
  • Posts: 455
  • Thank you received: 117
  • Karma: 24
Way 1: You put both files in a zip file and rename it to .crplugin, then you install it

(you have to be able to see and change extensions in filenames in Windows for this)

Way 2: You copy the .py file to the folder where all .py files are inside your comicrack folder (just search for *.py) and restart comicrack

hint: usually the folder is something like C:\Users\*you*\AppData\Local\VirtualStore\Program Files\ComicRack\Scripts (although it can be hidden)

Way 3: Just use this (I packaged it for you with the first method)
Attachments:
Last Edit: 1 year 4 days ago by Xelloss.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 0.228 seconds

Who's Online

We have 190 guests and 2 members online