Skip to content

Conversation

@jensgoe
Copy link

@jensgoe jensgoe commented Sep 18, 2016

Searching for tracks currently uses the MPD search command with type "any". The type "any" only considers tags like id3 or something. The type "filename" is a special type not included by "any". This pull request allows MPDroid to find files with the matching search pattern in filenames too.

}

if (arrayMusic == null) {
return;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

if it returns here you don't get the chance to match the filename ...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thats right, but i thought arrayMusic is only null if an error occured (exception catched) and i don't wanted to do another search in that case. arrayMusic should be an empty list if nothing was found.

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.

2 participants