• The forum software that supports hummy.tv will be upgraded to XenForo 2.3 on Wednesday the 20th of November 2024 starting at 7pm

    There will be some periods where the forum is unavailable, please bear with us. More details can be found in the upgrade thread.

Loads of auto.log entries

Trev

The Dumb One
I have a load of entries in my auto.log and two other logs that start with auto followed by a date/time.
They all seem to be related to sweeper? trying to, and failing rename recordings.
Code:
1145 19/12/2016 04:28:48 - Setting title for /media/My Video/Battle of the Somme/Centenary of the Battle of the Somme 01-07-16 2315.ts to Centenary of the Battle of the Somme
1144 19/12/2016 04:28:48 - ... ERROR Target already exists
1143 19/12/2016 04:28:48 - Renaming /media/My Video/Battle of the Somme/Centenary of the Battle of the Somme 01-07-16 2315.ts to Centenary of the Battle of the Somme 01-07-16 2315
1142 19/12/2016 04:28:47 - Setting title for /media/My Video/Battle of the Somme/Centenary of the Battle of the 30-06-16 1930.ts to Centenary of the Battle of the...
1141 19/12/2016 04:28:47 - ... ERROR Target already exists
1140 19/12/2016 04:28:47 - Renaming /media/My Video/Battle of the Somme/Centenary of the Battle of the 30-06-16 1930.ts to Centenary of the Battle of the 30-06-16 1930
1139 19/12/2016 04:28:47 - Setting title for /media/My Video/Alexander Armstrong in the Land___/Alexander Armstrong in the Land 28-10-15 2103.ts to Alexander Armstrong in the Land...
1138 19/12/2016 04:28:47 - ... ERROR Target already exists
1137 19/12/2016 04:28:47 - Renaming /media/My Video/Alexander Armstrong in the Land___/Alexander Armstrong in the Land 28-10-15 2103.ts to Alexander Armstrong in the Land 28-10-15 2103
1136 19/12/2016 04:28:47 - Setting title for /media/My Video/Alexander Armstrong in the Land___/Alexander Armstrong in the Land 14-10-15 2102.ts to Alexander Armstrong in the Land
1135 19/12/2016 04:28:47 - ... ERROR Target already exists
1134 19/12/2016 04:28:47 - Renaming /media/My Video/Alexander Armstrong in the Land___/Alexander Armstrong in the Land 14-10-15 2102.ts to Alexander Armstrong in the Land 14-10-15 2102
1133 19/12/2016 04:28:46 - Setting title for /media/My Video/Alexander Armstrong in the Land___/Alexander Armstrong in the Land 21-10-15 2103.ts to Alexander Armstrong in the Land...
1132 19/12/2016 04:28:46 - ... ERROR Target already exists
1131 19/12/2016 04:28:46 - Renaming /media/My Video/Alexander Armstrong in the Land___/Alexander Armstrong in the Land 21-10-15 2103.ts to Alexander Armstrong in the Land 21-10-15 2103
1130 19/12/2016 04:28:46 - Setting title for /media/My Video/Secrets of The SAS_ In___/Secrets of SAS In Their 02-10-16 0359.ts to Secrets of SAS: In Their...
1129 19/12/2016 04:28:45 - ... ERROR Target already exists
1128 19/12/2016 04:28:45 - Renaming /media/My Video/Secrets of The SAS_ In___/Secrets of SAS In Their 02-10-16 0359.ts to Secrets of SAS In Their 02-10-16 0359
1127 19/12/2016 04:28:45 - Setting title for /media/My Video/Secrets of The SAS_ In___/Secrets of SAS In Their 28-09-16 2304.ts to Secrets of SAS: In Their...
1126 19/12/2016 04:28:45 - ... ERROR Target already exists
1125 19/12/2016 04:28:45 - Renaming /media/My Video/Secrets of The SAS_ In___/Secrets of SAS In Their 28-09-16 2304.ts to Secrets of SAS In Their 28-09-16 2304
1124 19/12/2016 04:28:40 - Setting title for /media/My Video/The Apprentice/Apprentice Why I Fired Them 16-12-16 2328.ts to Apprentice: Why I Fired Them
1123 19/12/2016 04:28:40 - ... ERROR Target already exists
1122 19/12/2016 04:28:40 - Renaming /media/My Video/The Apprentice/Apprentice Why I Fired Them 16-12-16 2328.ts to Apprentice Why I Fired Them 16-12-16 2328
1121 19/12/2016 04:28:39 - Setting title for /media/My Video/The Apprentice/Apprentice You're Hired 18-12-16 2208.ts to Apprentice: You're Hired
1120 19/12/2016 04:28:39 - Renaming /media/My Video/The Apprentice/The Apprentice You're Hired 18-12-16 2208.ts to Apprentice You're Hired 18-12-16 2208
1119 19/12/2016 04:28:38 - Renaming /media/My Video/The Apprentice/The Apprentice_ You're Hired 18-12-16 2208.ts to The Apprentice You're Hired 18-12-16 2208
1118 19/12/2016 04:28:38 - Renaming /media/My Video/The Apprentice/The Apprentice_ You're Hired_20161218_2208.ts to The Apprentice_ You're Hired 18-12-16 2208
1117 19/12/2016 04:28:37 - Setting title for /media/My Video/Ben Fogle New Lives___/Ben Fogle New Lives in 06-12-16 2100.ts to Ben Fogle New Lives in The...
1116 19/12/2016 04:28:37 - Setting title for /media/My Video/Ben Fogle New Lives___/Ben Fogle New Lives in 22-11-16 2100.ts to Ben Fogle New Lives in The...
1115 19/12/2016 04:28:37 - Setting title for /media/My Video/Ben Fogle New Lives___/Ben Fogle New Lives in 29-11-16 2059.ts to Ben Fogle New Lives in The...
1114 19/12/2016 04:28:36 - Setting title for /media/My Video/Ben Fogle New Lives___/Ben Fogle New Lives In 13-12-16 2100.ts to Ben Fogle New Lives In The...
1113 19/12/2016 04:28:36 - Setting title for /media/My Video/Off Their Rockers/Off Their Rockers 27-11-16 1829.ts to Off Their Rockers
1112 19/12/2016 04:28:36 - ... ERROR Target already exists
1111 19/12/2016 04:28:36 - Renaming /media/My Video/Off Their Rockers/Off Their Rockers 27-11-16 1829.ts to Off Their Rockers 27-11-16 1829
1110 19/12/2016 04:28:36 - Setting title for /media/My Video/Off Their Rockers/Off Their Rockers 04-12-16 1829.ts to Off Their Rockers
1109 19/12/2016 04:28:36 - ... ERROR Target already exists
1108 19/12/2016 04:28:36 - Renaming /media/My Video/Off Their Rockers/Off Their Rockers 04-12-16 1829.ts to Off Their Rockers 04-12-16 1829
1107 19/12/2016 04:28:35 - Setting title for /media/My Video/Off Their Rockers/Off Their Rockers 11-12-16 1829.ts to Off Their Rockers
1106 19/12/2016 04:28:35 - ... ERROR Target already exists
1105 19/12/2016 04:28:35 - Renaming /media/My Video/Off Their Rockers/Off Their Rockers 11-12-16 1829.ts to Off Their Rockers 11-12-16 1829
1104 19/12/2016 04:28:35 - Setting title for /media/My Video/Off Their Rockers/Off Their Rockers 20-11-16 1830.ts to Off Their Rockers
1103 19/12/2016 04:28:35 - ... ERROR Target already exists
1102 19/12/2016 04:28:35 - Renaming /media/My Video/Off Their Rockers/Off Their Rockers 20-11-16 1830.ts to Off Their Rockers 20-11-16 1830
1101 19/12/2016 04:28:35 - Setting title for /media/My Video/Close to the Enemy/Close to the Enemy 10-11-16 2100.ts to Close to the Enemy
1100 19/12/2016 04:28:35 - ... ERROR Target already exists
1099 19/12/2016 04:28:35 - Renaming /media/My Video/Close to the Enemy/Close to the Enemy 10-11-16 2100.ts to Close to the Enemy 10-11-16 2100
1098 19/12/2016 04:28:34 - Setting title for /media/My Video/Close to the Enemy/Close to the Enemy 17-11-16 2101.ts to Close to the Enemy
1097 19/12/2016 04:28:34 - ... ERROR Target already exists
1096 19/12/2016 04:28:34 - Renaming /media/My Video/Close to the Enemy/Close to the Enemy 17-11-16 2101.ts to Close to the Enemy 17-11-16 2101
Here are my sweeper rules:
Code:
# Remove Title New: prefix
recurse 1 title New: action {settitle {%orig%replace,New: ,,}}
# Remove Filename New: prefix
recurse 1 filename New_ action {renamefile {%orig%replace,New_ ,,}}
# File Datestamp DD MMM YY
recurse 1 filename *20[0-9][0-9][0-9][0-9][0-9][0-9]_* action {renamefile {%title %2digitdate-%2digitmonth-%2digityear %hhmm}}
# Remove "_" in Filename
recurse 1 filename _ action {renamefile {%orig%replace,_, ,}}
# Remove "The " in Filename
recurse 1 filename The action {renamefile {%orig%replace,The ,,}}
# Remove Title "The " prefix
recurse 1 title The action {settitle {%orig%replace,The ,,}}
What's up doc?
Similarly, the recmon.log and two others, recmon{date/time}.logs

Just had another bunch of auto.log entries for 10:45 and 11:05
 
Last edited:
The rules for "The" are a bit of a problem.
You want to search for "The ", but are actually searching for "The" (i.e. without a trailing space), which will find Their and Them not to mention a trailing "The".
The resulting rename action will then not find any "The " to replace, hence it try to rename to the original name!
What you need is a search for "The ", but I cannot remember how you get that...

For now, start by disabling the last 2 rules and see what problem reports remain.
 
I think that another part of the problem is that several of the rules rename from %orig, which means that (for example) in one rule the _ is replaced, but then the The rule shifts the The but puts the original _ back again. A hazzard of renames that consist of a series of rules, executed one after another.
I suspect the solution is to replace the %orig with either %title or %filename (depending on which you are trying to change).
I am away from my HDRs at the present, so cannot test myself, but that may give you a starter...


Ignore that, there is more wrong than right here; it helps if I remember to read the log text from bottom upward!

For %orig etc see http://wiki.hummy.tv/wiki/Sweeper
 
Last edited:
Thanks for that. I had a suspicion that it was something to do with that. I'll give it a try later and report back. Whatever it is, it is happening every 20 mins or so.

I tried replacing %orig with %title etc. It screwed up somewhere and added all kinds of stuff to the title.
Will have a read and try again. (perhaps)

I can't find some of the log files to delete the 'overflow' versions. Where are they? Specifically auto.log and recmon.log. I have cleared out the contents but want to delete the files. It would be good if the Diag/View Log Files display showed the path to the file that is being edited.
 
Last edited:
I was just trying some tests... What I said in the first post is probably ok, (except I cannot find a way of setting "The " as the initial search.
As for what I said about %orig in the second post... at least some of that is B***, but there is certainly something cyclic going on.
The log files are in /mod/tmp
 
I noticed the BS. It turned "Keith Richards - Origin of the 23-07-16 2101.ts (3.71 GiB)" into " _media_My Video__media_My Video_ media My Video media My Video media My Video Keith Richards - Origin of the 23-07-16 2101 ts ts ts_ts_ts.ts (3.71 GiB)". Not only that it did the same to loads of my recordings, but I can't understand why it didn't screw them all up.

Thanks for the pointer to .log files. I wonder why W10 search didn't find them (rhet)

Does detectads or something use the same temp location as my current recording shows all the files in there as well as the My Video folder?
 
I noticed the BS. It turned "Keith Richards - Origin of the 23-07-16 2101.ts (3.71 GiB)" into " _media_My Video__media_My Video_ media My Video media My Video media My Video Keith Richards - Origin of the 23-07-16 2101 ts ts ts_ts_ts.ts (3.71 GiB)". Not only that it did the same to loads of my recordings, but I can't understand why it didn't screw them all up.
Yes, sorry about that

Does detectads or something use the same temp location as my current recording shows all the files in there as well as the My Video folder?
Looking at \mod\var\mongoose\plugin\detectads\detectads.jim it does look like detectAds uses it.
 
Its not perfect, but changing the search to "The *" (without the quote marks) should eliminate the error reports that you had through mis-matching Them or Their...
Code:
# Remove "The " in Filename
recurse 1 filename The * action {renamefile {%orig%replace,The ,,}}
# Remove Title "The " prefix
recurse 1 title The * action {settitle {%orig%replace,The ,,}}
EDIT: That code was incorrect, see corrected code in #17
 
Last edited:
It was certainly the "The" that was the problem. I have remmed out the last three and that has got rid of the runaway. I'll try the "The *" thing tomorrow.
Yes, sorry about that
No problem. Just a few mins sorting it out. Still can't understand why it didn't do all the files though, and I don't care. ;=)
s/\\/\//g
What?????
OK, so it just depends where you cut the text from, Windows or Linux. In any case, Trev had already mentioned searching in W10, so he was as likely to want the Windows form as not.
Windows good, Linux ????????
Jeez, it's good to know people who know what they are doing:D
recurse 1 filename The action {renamefile {%orig%replace,The ,,}}
Does not the space that I had between 'the' and the ',' work then to find the word with a space following?
 
Your problem was that the condition "filename The action" didn't care about spaces, so happily finds Their. The "%orig%replace,The ,," was then searching for a "The " to replace, couldn't find one so tried to rename back to the original filename and reported the error. Then, ten minutes later, it did the same again, etc, etc, etc. Hence my change to force it not to find the Their in the first place. So, "The " gets removed and then the rule stops being triggered.
 
Thanks for the explanation. I think I see and to paraphrase you, it's the filename condition that finds the "The " in "Their" but the action cannot find a "The " to replace with nothing so it just renames it as the same and fails with the error?
Now for another Q. In the log I have a few like this that have been subjected to :
Code:
recurse 1 title The action {settitle {%orig%replace,The ,,}}
that produce this
Code:
Setting title for /media/My Video/Close to the Enemy/Close to the Enemy 10-11-16 2100.ts to Close to the Enemy
Although the "The" is not at the start of the title, why doesn't the SetTitle rule remove it? It is removing the "The" prefix though on other titles.
Just about to give the filename "The *" a try. I'll report back.
 
When I try the code you suggest in #10 in the text editor and 'Return to sweeper' I get an 'error' message 'Unknown criterion (*) for both the Title and the Filename code. Pse advise what I am doing wrong.
 
What might be useful in Sweeper is the ability to filter out the 'NOMATCH' lines in the "Test config" 'printout' so that it is more easy to spot what it is actually doing to the stuff in which there is a match.
 
I will take a look when I get home, but I am sure I just copied from my WebIf straight into the code fragment that I posted.
 
I had entered the rule via the GUI and I obviously didn't copy and paste into the post, this time I have
Code:
# Remove Title "The " prefix
recurse 1 title {The *} action {settitle {%orig%replace,The ,,}}
# Remove "The " in Filename
recurse 1 filename {The *} action {renamefile {%orig%replace,The ,,}}
 
I have spotted your deliberate mistake :) I'll give that a go later, thanks. Easy enough to forget curly brackets. But when you are dealing with a dunce, the odd curly brackets make all the difference between success and abject failure.
 
Tested and working. Thanks HM.
You might like to strikeout the code in post #10 so as not to possibly mislead others?:)
 
Back
Top