[19. April 2013] A-400 Advanced Network Setup now available | [11 Jan. 2013] Customize your A-400 Home Screen

Firmware: A-400 [13 May 2013] | C-300 [30 Nov. 2012] | A-300 [30 Nov. 2012] | C-200 [21 Jan. 2013] | A-200/A-210 [10 Aug. 2012]

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
  [YAMJ] moviejukebox no longer working derwildemann 5 252 05-16-2013 09:37 AM
Last Post: Omertron
  [YAMJ] Help trying to get YAMJ/Eversion working on A300 Flussig 19 5,807 02-24-2013 07:27 PM
Last Post: dulsin
  skip from recheck nau 1 210 02-10-2013 10:41 PM
Last Post: wgstarks
  mjb check max not working wgstarks 3 366 01-28-2013 10:55 PM
Last Post: accident
  [HTML SKIN] mjb.homePage parameter dutch_popcorn 6 343 01-17-2013 08:13 PM
Last Post: dutch_popcorn
  Feel Real Dumb - HELP - Cant get YAMJ Working on A300 Elvispookie 7 439 01-05-2013 10:39 PM
Last Post: Elvispookie
  Upgraded YAMJ - Now Got Lots of Errors & No Working Skin colinwilson1303 21 1,589 01-01-2013 06:54 AM
Last Post: babyboy18a
  [YAMJ] How to skip UNKNOWN Imbd info. whitewizard 6 577 12-28-2012 11:00 PM
Last Post: Omertron
  YAMJ not working in MyiHome (A110) kenrippy 6 668 12-10-2012 06:21 PM
Last Post: kenrippy
  YAMJ+Eversion not working right on A400 NacelleX 8 1,052 12-08-2012 01:04 AM
Last Post: accident

Forum Jump: