vagskal;504248 Wrote:
>
> I can see values in the CustomScan YEAR container which are not in any
> TYER tag. It looks like it is exactly the same data as in the
> tracks.year container. (As you know the SBS logic is to prefer TORY over
> TYER.)
>
> Is there any way to use CustomScan to get the TYER data from the files
> unaltered? Is it perhaps possible to edit the CustomTag.pm file so that
> TYER is mapped to something other than YEAR?
>
> Thanks for your patience. Your help is appreciated!
>
Try checking the "raw" checkbox in the Custom Tag scanning module
settings and see if it makes any difference. It was some time ago since
I looked at this and things might also have been changed in the SBS part
of the scanning logic since then.
Also, I'm not completely sure about this but I think that with the raw
setting you might be able to use TDOR and TYER directly in the Custom
Tag configuration.
You can try to point the "Music Folder" to a directory with just a few
files and then enable debug level logging on "plugin.customscan". This
should make sure you get a lot more logging that shows a bit more
details what's going on.
The actual scanning in Custom Scan happens in the getRawMP3Tags
function in the CustomScan/Modules/CustomTag.pm file. If you want even
more logging, you can insert the following line at the beginning of that
function before the "my $rawTags;" line:
Code:
--------------------
$log->debug("CustomScan is reading tags: ".Dumper($tags));
--------------------
And at the end of the function you can insert these lines:
Code:
--------------------
$log->debug("CustomScan is reading raw tags: ".Dumper($tags));
$log->debug("From the file which as raw tags: ".Dumper($rawTags));
--------------------
After you have inserted these lines you will get a number of new log
messages:
- "CustomScan is reading tags:" will log the tags if raw checkbox isn't
checked
- "CustomScan is reading raw tags:" will log the tags read if raw
checkbox is checked
- "From the file which as raw tags:" will show the raw tag values, I'm
not completely sure this will be readable as I think some raw values
contains non printable characters.
If you don't get it to work, mail be a file of each scenario you like
to handle together with the customscan.prefs file and I'll take a look
at it when I get the time.
--
erland
Erland Isaksson
'My homepage' (http://erland.isaksson.info) (Install my plugins through
Extension Downloader)
(Developer of 'TrackStat, SQLPlayList, DynamicPlayList, Custom Browse,
Custom Scan, Custom Skip, Multi Library, Title Switcher and Database
Query plugins'
(http://wiki.erland.isaksson.info/index.php/Category:SlimServer))
------------------------------------------------------------------------
erland's Profile: http://forums.slimdevices.com/member.php?userid=3124
View this thread: http://forums.slimdevices.com/showthread.php?t=49483
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins