NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Old Stuff (Legacy) TV Listings v
« Previous 1 … 6 7 8 9 10 … 13 Next »
jpgs left behind when episode deleted

 
  • 0 Vote(s) - 0 Average
jpgs left behind when episode deleted
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#1
2011-12-18, 08:31 PM
I was going through my recordings directory and noticed that several directories were empty except for jpg files left behind from various episodes of recorded tv shows as well as a few folder.jpg files (one in each directory). They all appeared to be the episode images as linked from TheTVDB.com.

Also, they were directories with no current recordings in them. When the last episode in a series is deleted, shouldn't the directory itself be deleted too?

We use TV Recordings exclusively with Recordings disabled in the plugins screen.
gEd
Offline

Posting Freak

London
Posts: 3,514
Threads: 100
Joined: Jan 2005
#2
2011-12-18, 10:40 PM
I ran some tests in TV Recordings.
It deleted the .jpg with the same name as the show I deleted.
It deleted the folder as long as folder.jpg was not there. This looks to be the same behavior as the default plugin so I would say it is working as designed.

Perhaps it would be good to have a configurable parameter in config.xml to delete the folder as long as only folder.jpg is there or delete folder irrespective of what files reside there when the last recording is removed. Ideally this should be added to the standard nextpvr wishlist to try and promote consistent behavior between the standard plugin and TV Recordings.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#3
2011-12-18, 10:47 PM
A few users have been asking and reminding sub to not create folder.jpg from Media\Shows, he said he would over a year ago http://forums.nextpvr.com/showthread.php...post389983 but it still hasn't happened. I consider it is a real pain in the butt, especially going through a Video Library of empty folders.

Perhaps adding your names to the thread would help?

http://forums.nextpvr.com/showthread.php...folder.jpg

Martin
smajor
Offline

Posting Freak

Posts: 840
Threads: 115
Joined: Feb 2006
#4
2011-12-18, 11:03 PM
Well, thinking further about this, given how long I've been using TV Listings, it is clear that is happening occasionally because it's only about 10 shows I've found. We record many more series that than. I suppose the question might now be: under what condition(s) might they not be deleted when obviously the other items are.

Also, if I posted this is the wrong forum, someone please move it. I hadn't considered that maybe TV Listings was just asking NPVR to "do its thing" in terms of deletion.

Finally, Martin, thanks for the link to that thread. Would reading/writing from that location affect TV Listings? (alibert?)
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,953
Threads: 956
Joined: May 2006
#5
2011-12-18, 11:29 PM (This post was last modified: 2011-12-18, 11:35 PM by mvallevand.)
I think it is created by NPVR if you Quick Record or Record from the EPG.

Martin
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#6
2011-12-26, 10:41 AM
Hi,

to speed up loading images at a later stage, e.g. when browsing the recording groups in tv recordings, the plugin itself tries and save preview images for recording groups, when the following conditions are met:
- the parent folder exists and is writable
- there is not yet a folder.* file present
- the plugin has loaded a preview image, e.g. a poster from the tvdb for the corresponding series

I can add an option to make this behaviour configurable if you like in a later release of the plugin.

Regaring the deletion, the plugin is itself is not involved here, it just calls the respective function to delete a recording in the schedule helper api.

-alibert
roy
Offline

Posting Freak

Posts: 830
Threads: 95
Joined: Sep 2005
#7
2011-12-27, 03:43 PM
alibert Wrote:I can add an option to make this behaviour configurable if you like in a later release of the plugin.

Yes, please.

Thanks
What, me worry?

MSI H270 PC Mate | Core i3-7100 | 16GB RAM | 275GB M.2 2280 SSD | 4TB + 2TB HDD | Zalman Z3 Case | Win10
HDHR Prime | HVR2250 | PCH A-110 | PCH A-100 | Harmony 650 & 700 remotes | Comcast | Schedules Direct
alibert
Offline

Posting Freak

Posts: 974
Threads: 83
Joined: Apr 2005
#8
2011-12-28, 11:24 AM
Okay, will do so.

-alibert
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Possibly Related Threads…
Thread Author Replies Views Last Post
  "NEW" episode indicator? roy 7 4,726 2015-09-10, 01:01 AM
Last Post: roy
  Show Art not deleted Bobins 2 2,411 2014-11-13, 01:25 PM
Last Post: Bobins
  Season/Episode from theTVDB miken 5 4,605 2013-03-13, 03:54 PM
Last Post: miken
  Series and Episode Numbers Graham 4 3,110 2012-10-17, 11:02 AM
Last Post: Graham
  Request: Sort by TheTVDB Season/Episode smajor 2 2,295 2012-08-15, 10:11 PM
Last Post: smajor
  Episode Name vs. Episode Name * smajor 1 1,678 2011-09-26, 09:15 AM
Last Post: alibert

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode