Unmanic / unmanic-plugins

Official plugins for the Unmanic application
21 stars 71 forks source link

fix library file scan - missing __init #332

Closed yajrendrag closed 1 year ago

yajrendrag commented 1 year ago

added init function to plugin settings class without which it appeared like the library scan was hard coded to 'en'. Also made label comment suggestive that language should likely be a 3 letter code.

yajrendrag commented 1 year ago

added several more changes since initial PR. disposition code was not functioning correctly - moved unsetting of disposition by removing from all audio and adding to order stream mapping function. Unsetting by setting disposition to 0 by stream number doesn't seem to work. The stream order testing needed modification after fixing the disposition code. also moved found_search_string_streams boolen inside if test tags for search string statement to avoid setting when simply testing the codec type.