trakt / Plex-Trakt-Scrobbler

Add what you are watching on Plex to trakt.tv
1.45k stars 167 forks source link

Enhancement: Filters using regular Expressions or at least usual wildcards #161

Open udochrist opened 9 years ago

udochrist commented 9 years ago

Seems the comma-separated list of Filters for Sections doesn't support wildcards or any sort of regexps. The Sync button also tries to sync my Music, Music Clips collection to trakt. I've tried to use "TV,Movies" as a list of pattern, but this only matches "TV" and "Movies" and not "Docu (Movies)" or "Animation (Movies)".

Would it be possible to allow regexps or simple wildcards in the list of filters?

Addendum: Maybe Sections can be excluded by their type automatically. i think using non TV-Show or non Movie Sections with Trakt does not really make sense

fuzeman commented 9 years ago

Music, Music Clips, etc.. (non-tv/movie sections) were not intended to be included in syncs, will make sure this is fixed in the next release.

Ability to use wildcards in filters would be a good addition, but I'm going to delay any new features until the v0.9 release has all it's bugs squashed and is released onto the stable channel (hopefully soon..).

fuzeman commented 9 years ago

Can't reproduce the syncing issue on v0.9.1.6-beta, which version are you using (can be found in the "About" menu)?

udochrist commented 9 years ago

Sorry. My Bad. Wrong log file analysis. plugin uses only movie and tv sections.

i've now upgraded to 0.9.1.7-beta:

However the filtering by section name seems to not work correct for me regardless of wildcard or full name. i have sections "Movies", "Animation (Movies)", "TV" and "Animation (TV)" plus some more like "Docu (Movies)" and "Docu (TV)" when i put "Movies,Animation (Movies)" as the filter only "Movies" is shown in the sync menu. i would have expected both sections to show up. Best solution of course would be the possibility to use "TV,Movie" as the filter criteria.

anyway: low-prio as the plugin picks up only tv and movie sections