nvllsvm / Audinaut

A Subsonic client for Android
GNU General Public License v3.0
134 stars 18 forks source link

Fix search for some backends #105

Closed masipcat closed 3 years ago

masipcat commented 3 years ago

I'm using Audinaut with Gonic. Gonic returns the artist ids like ar-000 and Audinaut is adding ar- at the begining of the id: https://github.com/nvllsvm/Audinaut/blob/4c5406c916974ad768f0bcbf350ef30968f0d62b/app/src/main/java/net/nullsum/audinaut/provider/AudinautSearchProvider.java#L139

so the resulting artist id is ar-ar-000. When a search result is clicked, Audinaut removes all the ar- in the string with a resulting artist id 000 and gonic complains about missing id parameter.

nvllsvm commented 3 years ago

Thanks, I'll try to release a patch release in the coming days.

masipcat commented 3 years ago

Awesome :)