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) XSuite (Xrecord, XSearch, XGuide, CDK Scheduler) v
« Previous 1 2 3 4 Next »
Deleting from Xrecord - Does it (should it) delete folder, comskip txts, icons?

 
  • 0 Vote(s) - 0 Average
Deleting from Xrecord - Does it (should it) delete folder, comskip txts, icons?
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#1
2007-08-08, 02:04 PM
Title says it all really..

When I delete from Xrecord the mpg goes, which is good. But when I look at the folder in the Xrecord dir (Archive dir in this case) I still have the
  • folder name
  • all the comskip txts and
  • the folder icons
Should delete also delete these? If yes, any clues as to why it might not, in a particular system?

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
agidius
Offline

Senior Member

Posts: 469
Threads: 77
Joined: Apr 2006
#2
2007-08-08, 03:25 PM
I am pretty sure the .txt files are supposed to go away.

as for the rest, I have the following text in my PostUpdateEPG.bat (so it will run once every night)
del /s *.log
del /s *.edl
del /s *.ptl
del /s *.dat

I point it to the recordings directory, and it deletes those files from all subdirectories.
I then have a perl script that deletes all empty directories.


EDIT--
apparently I didnt read well enough.
the above is for the recordings directory.
I dont know anything about the archive stuff, but I will most likely start playing with it soon.
Server--AthlonXP 2100+ \ PVR150MCE \ HVR1600 x2
Client 1--Athlon64 3200+
Client 2--Athlon64 3700+
Client 3--Turion64x2 1.9 laptop
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#3
2007-08-09, 01:50 AM
Looking at the code, the txt files should be deleted. If not there is a bug. Is the delete happening while comskip is still running?

It would be pretty easy to change the code to delete the folder icons.

If you look at this thread it tells you how to setup XRecord's recycler (just look at 1recycler.txt). The recycler is like a recycle bin and it also should remove empty directories after deleting a recording. From what I see in the current code, it will recycle every time you delete a recording in XRecord or when you run the standalone executable.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#4
2007-08-09, 02:39 PM (This post was last modified: 2007-08-09, 02:46 PM by jksmurf.)
fla Wrote:Looking at the code, the txt files should be deleted. If not there is a bug. Is the delete happening while comskip is still running?.
No I don't think so ... but I guess you're referring to this.

fla Wrote:It would be pretty easy to change the code to delete the folder icons.
Great!

fla Wrote:If you look at this thread it tells you how to setup XRecord's recycler (just look at 1recycler.txt).
I'm sorry, I really don't follow that. my 1recycler has

path=c:/recycled
threshold=2000

But in Xrecord I already configured the Archive and if I delete the show, I guess I imagine all the associated logs/txt etc and dir would go too?

I just need 3 file types and 1 dir ... (in addition to txt)

Child of Our Time_20060801_20052125.mpg.dat
Child of Our Time_20060801_20052125.txt.log
folder.jpg
\\Theslug\disk 2\ArchivedMovies\Child of Our Time (Dir)

to be deleted and the entry from Xrecord

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#5
2007-10-18, 12:19 PM
fla Wrote:Looking at the code, the txt files should be deleted. If not there is a bug. Is the delete happening while comskip is still running?.

Nope, they are not deleted and nope, comskip is not running. This is on the ARCHIVED movie dir btw, not the main one

fla Wrote:It would be pretty easy to change the code to delete the folder icons.

Great, actually if it could delete everything in the dir and remove the dir itself, that's what I'd like to wish for, please :-)

fla Wrote:If you look at this thread it tells you how to setup XRecord's recycler (just look at 1recycler.txt). The recycler is like a recycle bin and it also should remove empty directories after deleting a recording. From what I see in the current code, it will recycle every time you delete a recording in XRecord or when you run the standalone executable.

I looked at it, but it also deletes files older than a certain time, and I do not want to do that, I just want to delete the file in the Archive I chose AND remove the dir+ contents.

Any chance of an update that can do this?

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#6
2007-11-08, 12:19 AM
fla,

I have recently installed a plugin (MovieWiz) which reminded me that dirs do not seem to be getting deleted by Xrecord, at least those on Archived Shows. I THINK they delete from the recordings dir OK though.

The files get deleted OK.

The problem is that Moviewiz seems to think they are still all there (presumably as the dir is there).

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#7
2007-11-08, 02:47 AM
Now that I've fixed the bug in this thread, this delete bug is at the top of my list. I'm also making XRecord skinnable in parallel but that will take a while.

Can you give me exact replication steps.

1) Record a show
2) Transcode it using Xrecord's transcoding
3) Notice file xyz in directory abc
4) Delete using XRecord's movies screen
=File xyz is gone but directory abc is still there

Include any icon downloads, comskips etc.

I don't have a tuner in my dev system to create recordings so I'll have to hijack the TV to fix this so good rep steps will help save time/WAF.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#8
2007-11-10, 12:10 AM (This post was last modified: 2008-04-27, 02:27 PM by jksmurf.)
fla Wrote:Can you give me exact replication steps.

Cheers fla,

OK, I have two issues. Once on Archive (Problem 1) and once on delete from Archive (Problem 2).
  1. I record a Movie. It records to the Recording Dir E:\GBPVRVids (See attached). Lets say its called Payback for this e.g.
  2. Postprocessing.bat runs comskip wich creates a .txt and a .log file.
  3. Postprocessing.bat then runs Programimagetool which creates an icon and pus it in media/art.
  4. The show appears in Xrecord. Looks good. However my E:\GBPVRVids is getting full, so I archive it from XRecord, using Xrecords Archive util.
  5. It Archives to my ArchivedMoviesDir which is Disk1 on the slug (NSLU2). I also have a Disk 2, which is full, hence I use Disk 1. (See attached).
  6. I "thought" that it MOVES EVERYthing (.mpg, icon, .txt and .log) across to the Archived Dir and DELETES EVERYthing from E:\GBPVRVids INCLUDING the dir. From the attached jpgs this does not seem to be the case, as you can see by the many duplicates. This is PROBLEM 1.
  7. In Config I have set my Videos Dir to refer to the ArchivedMoviesDir (Disk1).
  8. So I go into Xrecord and into the Videos menu and there's my Archived Movie "Payback", for this e.g. I watch it. It's a good movie in the old style of a detective talking to himself .... but I digress :-).
  9. It finishes, and I delete it. It disappears from the Videos menu.
  10. But (and this is PROBLEM 2), only the .mpg an dicon are deleted. The .log file remains and the dir is NOT deleted. From the OTHER attached jpg you can see the many duplicates.
That's pretty much it. Let me know if you need any other info.

Cheers,

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
fla
Offline

Posting Freak

Posts: 881
Threads: 46
Joined: Mar 2006
#9
2007-11-11, 02:17 AM
Terrific replication steps thanks!

I think I fixed both problems. Try the version on the wiki and let me know how it goes. I also fixed a third problem that happens when you delete the video appearing last in the Videos list (e.g. deleting 4th of 4) then clicking Enter/Ok right away. You would end up selecting a no longer existing video and crashing.
jksmurf
Offline

Posting Freak

HK (DMBTH)
Posts: 3,590
Threads: 410
Joined: Jul 2005
#10
2007-11-11, 02:20 PM
fla Wrote:Terrific replication steps thanks!

I think I fixed both problems. Try the version on the wiki and let me know how it goes.

Nope, thank YOU! Works a treat, on the PC, excellent stuff.
However Xrecord appears to have disappeared from the MVP menu entirely ?????

k.
ASUS STRIX X470-F AMD 2700x 4GHz | Win10Prox64 | 32GB | NVIDIA GEforce GT1030 Fanless | WinTV DMB-TH | WinTV HVR-1280 | Hauppauge Colossus | AC86U/AC68U | USB-UIRT | RPi4 Libreelec | Sony Bravia LCD X9000F Android TV |
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  XRECORD for NPVR? jksmurf 15 19,632 2011-04-26, 11:12 PM
Last Post: isgdre
  Request for Xrecord - Multiple-Show Single-Action Archive? jksmurf 5 6,385 2010-03-28, 02:38 PM
Last Post: fla
  Xrecord doesn't comskip in Videos or Movies Screens? jksmurf 2 5,712 2010-02-21, 05:21 AM
Last Post: jksmurf
  XRecord - Watched too much? isgdre 3 5,895 2009-11-29, 03:58 AM
Last Post: isgdre
  XRecord-Fonts and password protection dshoup 39 26,376 2009-09-24, 12:12 PM
Last Post: dshoup
  XRecord - and Max Recordings to Keep? pmularien 5 6,803 2009-09-09, 04:05 AM
Last Post: KingArgyle
  Xrecord jumping up a level on wake from Screenaver? jksmurf 6 7,276 2009-07-18, 12:00 AM
Last Post: jksmurf
  Xrecord request SORT and VIEW jksmurf 13 12,379 2009-05-05, 05:29 AM
Last Post: jksmurf
  XRecord skinning-images & aspect ratio dshoup 6 7,588 2009-04-19, 12:08 PM
Last Post: dshoup
  QAM scheduling questions with Xrecord arkennedy75 1 5,515 2009-04-15, 12:46 PM
Last Post: fla

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

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

Linear Mode
Threaded Mode