Firmware: A-410 [01 Apr. 2014] | A-400 [12 Mar. 2014] | C-300 [13 Feb. 2014] | A-300 [24 Feb. 2014] | C-200 [11 July 2013] | A-200/A-210 [11 July 2013] | Popbox V8 [3 Dec 2013]

Just got your NMT | WIKI has the answers | Search the forum | Forum Rules/Policy | Firmware & Official NMT News | Popcornhour manuals



User(s) browsing this thread: 1 Guest(s)
Post Reply 
mjb.clean.skip with wildcards not working
01-17-2012, 12:16 PM
Post: #1
mjb.clean.skip with wildcards not working
Im having a problem with Cleanup deleting files from the Jukebox that I need; I have tried the following in skin.proprieties but the ones with the * wildcard do not work.

# Regex of files to skip during cleaning
mjb.clean.skip=categories.css|exportindex_item_pch.css|exportdetails_item_popcor​n.css|AppleTrailer.htm|Other_*.html|Genres_*.html|Title_*.html|Year_*.html|Cast_​*.html|Director_*.html|Writer_*.html|Person_*.html

Am i using this wrong or is a bug?

Code:
[11:06:03 - main    ] Cleaning up the jukebox directory...
[11:06:05 - main    ] Deleted: Cast_1.html from library
[11:06:05 - main    ] Deleted: Cast_10.html from library
[11:06:05 - main    ] Deleted: Cast_11.html from library
[11:06:05 - main    ] Deleted: Cast_12.html from library
[11:06:05 - main    ] Deleted: Cast_13.html from library
[11:06:05 - main    ] Deleted: Cast_14.html from library
[11:06:05 - main    ] Deleted: Cast_15.html from library
[11:06:05 - main    ] Deleted: Cast_16.html from library
[11:06:05 - main    ] Deleted: Cast_17.html from library
[11:06:05 - main    ] Deleted: Cast_18.html from library
[11:06:05 - main    ] Deleted: Cast_19.html from library
[11:06:05 - main    ] Deleted: Cast_2.html from library
[11:06:05 - main    ] Deleted: Cast_3.html from library
[11:06:05 - main    ] Deleted: Cast_4.html from library
[11:06:05 - main    ] Deleted: Cast_5.html from library
[11:06:05 - main    ] Deleted: Cast_6.html from library
[11:06:05 - main    ] Deleted: Cast_7.html from library
[11:06:05 - main    ] Deleted: Cast_8.html from library
[11:06:05 - main    ] Deleted: Cast_9.html from library
[11:06:07 - main    ] Deleted: Director_1.html from library
[11:06:07 - main    ] Deleted: Director_2.html from library
[11:06:08 - main    ] Deleted: Genres_1.html from library
[11:06:10 - main    ] Deleted: Other_1.html from library
[11:06:10 - main    ] Deleted: Person_1.html from library
[11:06:10 - main    ] Deleted: Person_10.html from library
[11:06:10 - main    ] Deleted: Person_11.html from library
[11:06:10 - main    ] Deleted: Person_12.html from library
[11:06:10 - main    ] Deleted: Person_13.html from library
[11:06:10 - main    ] Deleted: Person_14.html from library
[11:06:10 - main    ] Deleted: Person_15.html from library
[11:06:10 - main    ] Deleted: Person_16.html from library
[11:06:10 - main    ] Deleted: Person_17.html from library
[11:06:10 - main    ] Deleted: Person_18.html from library
[11:06:10 - main    ] Deleted: Person_19.html from library
[11:06:10 - main    ] Deleted: Person_2.html from library
[11:06:10 - main    ] Deleted: Person_20.html from library
[11:06:10 - main    ] Deleted: Person_21.html from library
[11:06:10 - main    ] Deleted: Person_22.html from library
[11:06:10 - main    ] Deleted: Person_3.html from library
[11:06:10 - main    ] Deleted: Person_4.html from library
[11:06:10 - main    ] Deleted: Person_5.html from library
[11:06:10 - main    ] Deleted: Person_6.html from library
[11:06:10 - main    ] Deleted: Person_7.html from library
[11:06:10 - main    ] Deleted: Person_8.html from library
[11:06:10 - main    ] Deleted: Person_9.html from library
[11:06:13 - main    ] Deleted: Set_1.html from library
[11:06:17 - main    ] Deleted: Title_1.html from library
[11:06:18 - main    ] Deleted: Writer_1.html from library
[11:06:18 - main    ] Deleted: Writer_2.html from library
[11:06:18 - main    ] Deleted: Year_1.html from library
[11:06:18 - main    ] 25079 files in the jukebox directory
[11:06:18 - main    ] Deleted 50 unused files from the jukebox directory

trakt.tv
Find all posts by this user
Add Thank You Quote this message in a reply
01-17-2012, 12:34 PM
Post: #2
RE: mjb.clean.skip with wildcards not working
The regex is java regex. Not wildcards.

try (.*) for *

Having said that, YAMJ should not be deleting files from the jukebox that are created. The cleanup-skip was created for skin specific files that need to be kept (i.e. not created by YAMJ)

Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to Omertron for this post
01-17-2012, 12:58 PM
Post: #3
RE: mjb.clean.skip with wildcards not working
(01-17-2012 12:34 PM)Omertron Wrote:  The regex is java regex. Not wildcards.

try (.*) for *

Having said that, YAMJ should not be deleting files from the jukebox that are created. The cleanup-skip was created for skin specific files that need to be kept (i.e. not created by YAMJ)

Aaaa right yip that has sorted it.

The example here confused me as that just uses *

Yeah not sure why it is deleting them thought it was strange

trakt.tv
Find all posts by this user
Add Thank You Quote this message in a reply
01-17-2012, 02:40 PM
Post: #4
RE: mjb.clean.skip with wildcards not working
Can you log an issue on the google code site with the problem (after you've update to the latest YAMJ to ensure the issue isn't fixed in a later build)

Technically the example on the wiki page is correct as it does have .* which is java regex notation for any character (.) as many times as you can (*). I'll re-word it to try and make it clearer

Visit this user's website Find all posts by this user
Add Thank You Quote this message in a reply
[+] 1 user says Thank You to Omertron for this post
01-17-2012, 04:08 PM
Post: #5
RE: mjb.clean.skip with wildcards not working
Tried the latest yamj and same problem so will log an issue.

Thanks for the help

trakt.tv
Find all posts by this user
Add Thank You Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Scanning not working anymore jadeddog 0 223 04-04-2014 03:59 AM
Last Post: jadeddog
Question [YAMJ] Links not working DeanoCeltic 4 442 11-26-2013 04:02 PM
Last Post: Omertron
Bug Timeout modification not working - Artwork not downloading robwired 3 359 10-25-2013 09:51 AM
Last Post: Omertron
  [YAMJ] moviejukebox no longer working derwildemann 5 955 05-16-2013 09:37 AM
Last Post: Omertron
  [YAMJ] Help trying to get YAMJ/Eversion working on A300 Flussig 19 7,835 02-24-2013 07:27 PM
Last Post: dulsin
  skip from recheck nau 1 390 02-10-2013 10:41 PM
Last Post: wgstarks
  mjb check max not working wgstarks 3 849 01-28-2013 10:55 PM
Last Post: accident
  Feel Real Dumb - HELP - Cant get YAMJ Working on A300 Elvispookie 7 844 01-05-2013 10:39 PM
Last Post: Elvispookie
  Upgraded YAMJ - Now Got Lots of Errors & No Working Skin colinwilson1303 21 2,771 01-01-2013 06:54 AM
Last Post: babyboy18a
  [YAMJ] How to skip UNKNOWN Imbd info. whitewizard 6 912 12-28-2012 11:00 PM
Last Post: Omertron

Forum Jump: