PDA

View Full Version : One Playlist Out of 40 Not Being Scanned Properly



phred
2015-06-09, 18:17
I've got about 40 playlists - and all but one are being scanned properly. A few of them have upwards of 2-300 tracks. No problem.
I now have a new playlist 1201 tracks and LMS is only scanning/importing the first 41 tracks. I have confirmed that the playlist is complete. AAMOF, the same playlist is being auto scanned/imported into SubSonic with no problem. Is there a maximum number of tracks allowable in a SB playlist? And if so, why is this playlist stopping at 41 when others have a couple of hundred?

Thanks.

mherger
2015-06-09, 21:01
Enable debug logging for the scanner, re-run a scan for playlists, post
scanner.log.

Am 10.06.15 um 03:17 schrieb phred:
>
> I've got about 40 playlists - and all but one are being scanned
> properly. A few of them have upwards of 2-300 tracks. No problem.
> I know have a new playlist 1201 tracks and LMS is only
> scanning/importing the first 41 tracks. I have confirmed that the
> playlist is complete. AAMOF, the same playlist is being auto
> scanned/imported into SubSonic with no problem. Is there a maximum
> number of tracks allowable in a SB playlist? And if so, why is this
> playlist stopping at 41 when others have a couple of hundred?
>
> Thanks.
>
>
> ------------------------------------------------------------------------
> phred's Profile: http://forums.slimdevices.com/member.php?userid=52602
> View this thread: http://forums.slimdevices.com/showthread.php?t=103791
>
>

phred
2015-06-10, 04:44
Enable debug logging for the scanner, re-run a scan for playlists, post
scanner.log.

Scanner log is blank after setting scanning to DEBUG and re-running a playlist scan. Could this be related to my other thread?
http://forums.slimdevices.com/showthread.php?103790-LMS-Logs-Not-Showing-Date-Time&p=820988&viewfull=1#post820988

EDIT: I previously failed to mention LMS is on a Window 7 machine. I ran "scanner.exe --debug" from a command prompt and the log was created. I then tried a rescan of playlists only both from the LMS control panel and then from the web UI and neither added anything to the log. Subsequent runs from the command prompt are not appending to the log file.

mherger
2015-06-10, 05:20
>> Enable debug logging for the scanner, re-run a scan for playlists, post
>> scanner.log.
>>
> Scanner log is blank after setting scanning to DEBUG and re-running a
> playlist scan. Could this be related to my other thread?
> http://forums.slimdevices.com/showthread.php?103790-LMS-Logs-Not-Showing-Date-Time&p=820988&viewfull=1#post820988

I hope you did stop LMS before deleting that file? And did restart LMS
afterwards?

What about server.log? Or a full wipe & rescan?

--

Michael

phred
2015-06-10, 05:38
>> Enable debug logging for the scanner, re-run a scan for playlists, post[color=blue][color=green]
I hope you did stop LMS before deleting that file? And did restart LMS
afterwards?

What about server.log? Or a full wipe & rescan?

Yes, LMS was not only stopped, but also exited. And yes, LMS was relaunched after the file was deleted. I changed the playlist directory and am now running a "look for new and changed media files" scan. The result being that nothing new was added to the scanner log, but I now have two copies of each playlist. And both of them for the playlist that prompted this thread, have only 41 of the 1201 tracks referenced. I'm now running "clear library and rescan everthing" which will take about 1.5 hours. I'll report back.

EDIT: I think I found the reason why only 41 tracks were being scanned/imported. Track 42 is entitled Theme From "The Last Waltz". As is the filename. I have removed the double quotes from the filename, not the title tag, and am currently running another full scan. (Running "Only rescan playlists" did not change anything.) Update to follow.

phred
2015-06-10, 15:15
EDIT: I think I found the reason why only 41 tracks were being scanned/imported. Track 42 is entitled Theme From "The Last Waltz". As is the filename. I have removed the double quotes from the filename, not the title tag, and am currently running another full scan. (Running "Only rescan playlists" did not change anything.) Update to follow.

Still no success. Full scan after removing the double quotes from the filename resulted in now getting 42 of the 1201 tracks in the playlist. Attached is a ZIP of the scanner log. Take a look at line 36808, which may the problem:
[15-06-10 16:58:11.5918] Slim::Utils::Scanner::Local::scanPlaylistFileHandl e (1167) Playlist item file:///D:/Exported%20Playlists/R%20&%20R%20HoF%20Inductees.pls changed from pls to ssp content-type

It's saying that the playlist in question (R & R HoF Inductees.pls) has been changed from pls to ssp. What does this mean? What is ssp?

Suggestions?

Thanks.

EDIT: That ssp thing is a false alarm. All 68 playlists have that reference in the scanner log.

mherger
2015-06-11, 00:06
Please give us some more information about your system, and upload that
playlist. And don't edit your postings. I'm following the threads on the
mailing list, which doesn't get those changes.

--

Michael

phred
2015-06-11, 04:56
Please give us some more information about your system, and upload that
playlist. And don't edit your postings. I'm following the threads on the
mailing list, which doesn't get those changes.

Sorry for the edits, Michael.

LMS lives on a Windows 7 box in the default directory C:\Program Files\Squeezebox. The playlists are located on the same machine in D:\Exported Playlists. All music tracks and artwork are located on a NAS with the location being \\11-NAS\Music Files. The problem playlist is called R & R HoF Inductees.pls and is attached. For the record, I have at least two other playlists that have 2000-3000 tracks and am having no problem with them. Again, this same playlist works with no issues on my SubSonic server. In it's current state, Squeezebox brings in the first 42 tracks.

Please let me know if there's any other information needed.

mherger
2015-06-11, 05:59
It IS the double quotes. For whatever reason LMS thinks that file was
some Windows encoding, when it actually is utf8. Therefore it fails on
those unicode characters. If you remove them (there are more of them,
not only in the aforementioned track), the scan would succeed.

Michael



Am 11.06.15 um 13:56 schrieb phred:
>
> mherger wrote:
>> Please give us some more information about your system, and upload that
>>
>> playlist. And don't edit your postings. I'm following the threads on the
>>
>> mailing list, which doesn't get those changes.
>>
> Sorry for the edits, Michael.
>
> LMS lives on a Windows 7 box in the default directory C:\Program
> Files\Squeezebox. The playlists are located on the same machine in
> D:\Exported Playlists. All music tracks and artwork are located on a
> NAS with the location being \\11-NAS\Music Files. The problem playlist
> is called R & R HoF Inductees.pls and is attached. For the record, I
> have at least two other playlists that have 2000-3000 tracks and am
> having no problem with them. Again, this same playlist works with no
> issues on my SubSonic server. In it's current state, Squeezebox brings
> in the first 42 tracks.
>
> Please let me know if there's any other information needed.
>
>
> +-------------------------------------------------------------------+
> |Filename: R & R HoF Inductees.zip |
> |Download: http://forums.slimdevices.com/attachment.php?attachmentid=18260|
> +-------------------------------------------------------------------+
>
> ------------------------------------------------------------------------
> phred's Profile: http://forums.slimdevices.com/member.php?userid=52602
> View this thread: http://forums.slimdevices.com/showthread.php?t=103791
>
>

phred
2015-06-11, 10:40
It IS the double quotes. For whatever reason LMS thinks that file was
some Windows encoding, when it actually is utf8. Therefore it fails on
those unicode characters. If you remove them (there are more of them,
not only in the aforementioned track), the scan would succeed.

Thanks for confirming it's the double quote that's causing the problem, Michael. I'll have to decide where to go from here. My playlists are used on two different servers (LMS and SubSonic) and I don't think I'm willing to go through all my tracks deleting the double quotes when it does in fact work well with SubSonic.

Do you think changing the playlist format would work without deleting the double quotes? Both servers accept M3U as well as PLS.

Thanks again for your help.

mherger
2015-06-11, 21:19
> Do you think changing the playlist format would work without deleting
> the double quotes? Both servers accept M3U as well as PLS.

TBH: I don't know. I would have expected the PLS parser to work. The
method which fails recognizinig the encoding is used in the M3U parser,
too. It might just fail the same way. But it should be a relatively easy
test.

--

Michael

DJanGo
2015-06-12, 08:32
Thanks for confirming it's the double quote that's causing the problem

Hi,

double quotes are everytime a big theme most script for *.blows will stop working and so on.
lms itself refers the double quotes as %22 which is the proper Format for url masking which is used also in perl, php and other stuff thats in use in a html enviroment.


try to change all " against %22 (a simple oneliner will do this)
If your other tool doesnt like the %22 use eg. pls for lms and mp3 for that tool.

mherger
2015-06-12, 08:59
> double quotes are everytime a big theme most script for *.blows will
> stop working and so on.

In this particular case we're not dealing with the basic double quotes,
but with extended "typographical" quotes.

> lms itself refers the double quotes as %22 which is the proper Format

No. Please read all of the thread and check out the file. We're not
talking about file paths or URLs, but about the track title.

Sometimes things are a little more complicated than you think.

--

Michael