Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: switch os.pathsep constant with os.sep #57

Merged
merged 1 commit into from
Sep 19, 2014

Conversation

arakir
Copy link
Contributor

@arakir arakir commented Sep 18, 2014

Finding files in few formats always fail because of wrong path.
Example:
When finding poster file for media file Z:\Filmy\Cyborg Girl (2008)\Cyborg Girl (2008) - Part01.avi
It tries these:

  1. Z:\Filmy\Cyborg Girl (2008)\Cyborg Girl (2008) - Part01-poster.jpg
  2. Z:\Filmy\Cyborg Girl (2008);Z:\Filmy\Cyborg Girl (2008)-poster.jpg
  3. Z:\Filmy\Cyborg Girl (2008);Z:\Filmy\Cyborg Girl-poster.jpg
  4. Z:\Filmy\Cyborg Girl (2008)\poster.jpg
  5. Z:\Filmy\Cyborg Girl (2008)\Cyborg Girl (2008) - Part01.tbn

gboudreau added a commit that referenced this pull request Sep 19, 2014
fix: switch os.pathsep constant with os.sep
@gboudreau gboudreau merged commit 368402c into gboudreau:master Sep 19, 2014
@SlrG
Copy link
Collaborator

SlrG commented Sep 19, 2014

This should be applied to the TV Agent, too. Thank you very much for finding the error and providing a fix! :)

@arakir
Copy link
Contributor Author

arakir commented Sep 19, 2014

I'm happy to help.
I've quickly checked TV Agent already and didn't find anything similar.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants