mj2p / psub

CLI Subsonic Client
MIT License
31 stars 6 forks source link

add support for wildcard when searching album #3

Closed ScrumpyJack closed 2 years ago

ScrumpyJack commented 5 years ago

Not sure if the Subsonic API would allow that. Is that even possible?

❯ ve/bin/pSub album *      
Usage: pSub album [OPTIONS] SEARCH_TERM
Try "pSub album -h" for help.

Error: Got unexpected extra arguments (pSub.py README.md setup.py ve)
sammoth-ripjar commented 4 years ago

It should be possible. In my tests running something like psub album "*stone*" will return no results but then hitting enter and repeating the search term "*stone*" returns all albums with "stone" in the title. This feels like a string handling issue. I'll take a look and close this issue when I have a better answer.