Page 1 of 1

BUG: searching throws error from API

PostPosted: Wed Jan 11, 2012 10:42 pm
by bass-style
Hi,

On the Android client when doing a specific search for "debney" I get "Didn't understand the reply. Please check the server address."

When running the same search from the API webservice I get:
http://eeepc:4040/rest/search2.view?u=t ... ery=debney

http://img838.imageshack.us/img838/5773 ... ion038.png

Not sure if this bug is fixed yet. This is the latest Debian .deb installer version 4.6 on Debian 6 i386.
Only happens one certain search queries - guessing something wrong with the MP3 itself.

Re: BUG: searching throws error from API

PostPosted: Wed Jan 11, 2012 11:10 pm
by bass-style
Ok I've worked out the issue. /var/subsonic/subsonic.log there is the error when calling the search API:
[2012-01-12 09:01:31,566] WARN FileUtil - Failed to list children for /mnt/nas/music/sorted/albums/john debney/John Debney - Predators (2010)

This is because I deleted this album and Subsonic still tries to show it in the search results when searching "debney" (need to re-index probably).

Re: BUG: searching throws error from API

PostPosted: Sun Apr 08, 2012 3:13 am
by mbro
I've seen a similar issue periodically. I'm running subsonic 4.6 on a Ubuntu box (as my subsonic server/ jukebox), and accessing it via web interface and from an Android tablet.

The symptom I'm seeing is strictly on the tablet. The search sometimes returns "error, didn't understand the reply from the server". I can search my library for "big" and get results back successfully, but I can't search for "flo rida" as I receive this error. Log snipets below...

Doing a tail -f /var/subsonic/subsonic.log provides me with this:

[2012-04-07 21:10:00,559] WARN FileUtil - Failed to list children for /cifs/nas/music/BluecityPartyMix.vol 28. 2008/BluecityPartyMix.vol 28. 2008/00 Brisco Feat. Flo Rida - Love.mp3

I don't think I'm hitting a 256 character limit - does this have something to do with a variety of "." characters in the path and file name?

Search for "sugar" nets the error:
[2012-04-07 21:11:27,567] WARN FileUtil - Failed to list children for /cifs/nas/music/Big Sugar/Five Hundred Pounds/04 Sugar in My Coffee.mp3


Search for "big" nets no error and valid search results. I can't imagine its the spaces in the path... How do I troubleshoot this?

Re: BUG: searching throws error from API

PostPosted: Wed Jun 06, 2012 8:30 pm
by martyscholes
I have the same thing going on with a monster archive I am importing now. Every file aborts.

Notice the "TEXT" field out of ffmpeg. I wonder if something is going on there.

ffmpeg version 0.7-rc1, Copyright (c) 2000-2011 the FFmpeg developers
built on May 23 2011 19:01:01 with gcc 4.5.1
configuration: --enable-libx264 --enable-pthreads --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-version3 --enable-gpl --extra-cflags=-I/usr/local/include --extra-ldflags=-L/usr/local/lib
libavutil 50. 40. 1 / 50. 40. 1
libavcodec 52.120. 0 / 52.120. 0
libavformat 52.108. 0 / 52.108. 0
libavdevice 52. 4. 0 / 52. 4. 0
libavfilter 1. 77. 0 / 1. 77. 0
libswscale 0. 13. 0 / 0. 13. 0
[mp3 @ 8dea640] max_analyze_duration reached
[mp3 @ 8dea640] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'A Life of Bliss/A Life of Bliss 541020 - Finding a Girlfriend.mp3':
Metadata:
genre : BBC OTR Sitcom
track : 208
title : ALOB 1954-10-20 #2-08 Finding A Girlfriend
TYER : ALOB 1954-10-20
TEXT : ꝏ?䅔⁒
artist : BBC OTR A Life of Bliss
Duration: 00:28:28.54, start: 0.000000, bitrate: 32 kb/s
Stream #0.0: Audio: mp3, 22050 Hz, mono, s16, 32 kb/s
At least one output file must be specified

Re: BUG: searching throws error from API

PostPosted: Wed Jun 06, 2012 9:25 pm
by martyscholes
Rookie mistake. My archive lacked execute permissions for the subsonic service. All good now.

Re: BUG: searching throws error from API

PostPosted: Wed Jun 06, 2012 9:35 pm
by BKKKPewsey
I would suggest checking those files with a decent tag editor as it looks like there is a bit of corruption in the tag data.
The text tag usually contains the Lyricist who in your case appears to have a very unusual name :shock: