User(s) browsing this thread: 1 Guest(s)
|
mjb.clean.skip with wildcards not working
|
|
01-17-2012, 12:16 PM
|
|||
|
|||
|
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_popcorn.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...
|
|||
|
01-17-2012, 12:34 PM
|
|||
|
|||
|
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) |
|||
1 user says Thank You to Omertron for this post |
|
01-17-2012, 12:58 PM
|
|||
|
|||
RE: mjb.clean.skip with wildcards not working
(01-17-2012 12:34 PM)Omertron Wrote: The regex is java regex. Not wildcards. 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
|
|||
|
01-17-2012, 02:40 PM
|
|||
|
|||
|
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 |
|||
1 user says Thank You to Omertron for this post |
|
01-17-2012, 04:08 PM
|
|||
|
|||
|
RE: mjb.clean.skip with wildcards not working
Tried the latest yamj and same problem so will log an issue.
Thanks for the help
|
|||
|
« Next Oldest | Next Newest »
|

Twitter
Facebook
NMT Wiki
Search
Member List
Help
A-400 [13 May 2013]







![[+]](images/collapse_collapsed.gif)

![[Image: watched-fanart.jpg]](http://trakt.tv/user/Omertron/widget/watched-fanart.jpg)
