I tested the changes from #542 and they don't work as intended, a "SLPM-645xx" disc is registered as "Japan"
I believe it is because the serial string being passed to this function has a "-" in it, i.e. serial = "SLPM-64511", whereas I had initially assumed it would be "SLPM64511".
Unfortunately I do not have the time to build MPF with this minor change to test this, so unless @mnadareski knows the string format of the serial being passed to this function, then this is the best I can do.
Otherwise, if it still doesn't work this function be simplified again to remove the serial-number parsing.
I tested the changes from #542 and they don't work as intended, a "SLPM-645xx" disc is registered as "Japan"
I believe it is because the serial string being passed to this function has a "-" in it, i.e. serial = "SLPM-64511", whereas I had initially assumed it would be "SLPM64511". Unfortunately I do not have the time to build MPF with this minor change to test this, so unless @mnadareski knows the string format of the serial being passed to this function, then this is the best I can do.
Otherwise, if it still doesn't work this function be simplified again to remove the serial-number parsing.