Bug 841 - playlists detected incorrectly as files first time.
: playlists detected incorrectly as files first time.
Status: RESOLVED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Playlists
: 6.0.0
: PC All
: P2 normal (vote)
: ---
Assigned To: Dan Sully
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-02-17 10:47 UTC by KDF
Modified: 2008-09-15 14:37 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description KDF 2005-02-17 10:47:33 UTC
normal (non-imported) playlists seem to show up and are marked as files when you
first browse playlist, clicking on any of them goes to songinfo.  clicking
browse playlist from the pwd refreshes the list, and now the playlists are
detected as lists and descend properly.
Comment 1 KDF 2005-02-17 12:23:12 UTC
turned off all importers, and no audiodir.  this is a log from startup, simply
loading the browse_playlist pages twice.  first time, untitled is returned as a
file.  second time, returns as a list.

D:\slim\server>slimserver.pl --d_info --d_scan --d_http
2005-02-17 12:16:58.4843 Server D:\slim\server\slimserver.pl accepting http
connections on port 9000
2005-02-17 12:17:00.3437 loading types config file...
2005-02-17 12:17:00.3602 Tag database support is ON, saving into:
D:\slim\server\Cache\slimserversql.db
2005-02-17 12:17:00.3819 Connected to database
dbi:SQLite:dbname=D:\slim\server\Cache\slimserversql.db
2005-02-17 12:17:00.3870 Creating new database.
2005-02-17 12:17:00.3874 Executing SQL file D:\slim\server\SQL\SQLite\dbcreate.sql
2005-02-17 12:17:00.4363 DBI: Supressing periodic commit - no dirty items
2005-02-17 12:17:00.4367 Clearing tag cache
2005-02-17 12:17:00.4369 clearing validity for rescan
2005-02-17 12:17:00.4371 Starting background scanning.
2005-02-17 12:17:00.4373 Skipping music folder scan - audiodir is undefined.
2005-02-17 12:17:00.4375 finished background scan of music folder.
2005-02-17 12:17:00.4377 Completing Folder Scan in 0.000405073165893555 seconds.
2005-02-17 12:17:00.4379 Finished background scanning.
2005-02-17 12:17:00.4473 Scanning with 0 import plugins
2005-02-17 12:17:01.3863 Adding handler for regular expression
/plugins/MusicMagic/musicmagic_mix.(?:htm|xml)
2005-02-17 12:17:01.3872 Adding template directory
D:\slim\server\Plugins\MusicMagic\HTML
2005-02-17 12:17:01.3878 Adding handler for regular expression
/plugins/MoodLogic/instant_mix.(?:htm|xml)
2005-02-17 12:17:01.3882 Adding handler for regular expression
/plugins/MoodLogic/mood_wheel.(?:htm|xml)
2005-02-17 12:17:01.3890 Adding template directory
D:\slim\server\Plugins\MoodLogic\HTML
2005-02-17 12:17:32.5000 Adding MoodLogic Scan
2005-02-17 12:17:32.5468 Adding iTunes Scan
2005-02-17 12:17:32.5487 Your data source needs to be configured. Please open
your web browser,
2005-02-17 12:17:32.5490 go to the following URL, and click on the "Server
Settings" link.

2005-02-17 12:17:32.5493 The URL to access SlimServer is now:
        http://carwnt119:9000/
2005-02-17 12:17:32.5517 Accepted connection 1 from 127.0.0.1
2005-02-17 12:17:32.5533 DBI: Supressing periodic commit - no dirty items
2005-02-17 12:17:32.6258 reading request...
2005-02-17 12:17:32.6262 HTTP request: from 127.0.0.1
(HTTP::Daemon::ClientConn=GLOB(0x27d0b2c)) for GET HTTP/1.1
/browse.html?dir=__playlists&&page=SAVED_PLAYLISTS&player=6e:7a:2

2005-02-17 12:17:32.6274 HTTP parameter dir = __playlists
2005-02-17 12:17:32.6278 HTTP parameter from  = 1
2005-02-17 12:17:32.6281 HTTP parameter page = SAVED_PLAYLISTS
2005-02-17 12:17:32.6292 HTTP parameter player = 6e:7a:2a:6f:f4:a6
2005-02-17 12:17:32.6302 processURL Clients: 127.0.0.1:3368
2005-02-17 12:17:32.6311 Generating response for (htm, text/html) browse.html
2005-02-17 12:17:32.6314 generating from include.html
2005-02-17 12:17:33.1718 browse virtual path: __playlists
2005-02-17 12:17:33.1721 with absolute path: file:///D:/slim/server/playlists
2005-02-17 12:17:33.1752 Converting file:///D:/slim/server/playlists to
D:\slim\server\playlists
2005-02-17 12:17:33.1761 dir file type for file:///D:/slim/server/playlists
2005-02-17 12:17:33.1773 Scan::addToList: file:///D:/slim/server/playlists
2005-02-17 12:17:33.1783 numitems: 0
2005-02-17 12:17:33.1785 index: -1
2005-02-17 12:17:33.1788 Scan::readList gonna read file:///D:/slim/server/playlists
2005-02-17 12:17:33.1792 Gonna try to open playlist file:///D:/slim/server/playlists
2005-02-17 12:17:33.1836 *** didn't find file:///D:/slim/server/playlists in
playlist cache ***
2005-02-17 12:17:33.1839 Treating directory like a playlist
2005-02-17 12:17:33.1870  directory
entry:file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played
2005-02-17 12:17:33.1880  directory
entry:file:///D:/slim/server/playlists/Untitled.m3u
2005-02-17 12:17:33.1897 New track for file:///D:/slim/server/playlists
2005-02-17 12:17:33.3230 cached an 2 item playlist for
file:///D:/slim/server/playlists
2005-02-17 12:17:33.3233 adding 2 to playlist cache:
file:///D:/slim/server/playlists
2005-02-17 12:17:33.3236 Descending into file:///D:/slim/server/playlists,
contains 2 items
2005-02-17 12:17:33.3239 End request: keepAlive: [1] - waiting for next request
on connection = keep-alive

2005-02-17 12:17:33.3310 numitems: 0
2005-02-17 12:17:33.3313 index: 0
2005-02-17 12:17:33.3327 itempath: ShoutcastBrowser_Recently_Played and
file:///D:/slim/server/playlists made
file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played
2005-02-17 12:17:33.3350 Converting
file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played to
D:\slim\server\playlists\ShoutcastBrowser_Recently_Played
2005-02-17 12:17:33.3360 dir file type for
file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played
2005-02-17 12:17:33.3363
isList(file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played) == dir
2005-02-17 12:17:33.3371 numitems: 1
2005-02-17 12:17:33.3373 index: 1
2005-02-17 12:17:33.3385 itempath: Untitled.m3u and
file:///D:/slim/server/playlists made file:///D:/slim/server/playlists/Untitled.m3u
2005-02-17 12:17:33.3406 Converting
file:///D:/slim/server/playlists/Untitled.m3u to
D:\slim\server\playlists\Untitled.m3u
2005-02-17 12:17:33.3415 m3u file type for
file:///D:/slim/server/playlists/Untitled.m3u
2005-02-17 12:17:33.3418 isList(file:///D:/slim/server/playlists/Untitled.m3u)
== m3u
2005-02-17 12:17:33.3424 numitems: 2
2005-02-17 12:17:33.3426 index: 2
2005-02-17 12:17:33.3428 Beginning scan sort...
2005-02-17 12:17:33.3478 ...sort done.
2005-02-17 12:17:33.3482 Got to end of dir, done!
2005-02-17 12:17:33.3484 addToList_done. returning 2 items
2005-02-17 12:17:33.3486  
file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played
2005-02-17 12:17:33.3487   file:///D:/slim/server/playlists/Untitled.m3u
2005-02-17 12:17:33.3489 browser_addtolist_done with 2 items (2 __playlists)
2005-02-17 12:17:33.3528 New track for
file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played
2005-02-17 12:17:33.3732 Updating cache for:
file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played
2005-02-17 12:17:33.3737 Plain title for:
file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played
2005-02-17 12:17:33.3746  is ShoutcastBrowser Recently Played
2005-02-17 12:17:33.3752 Merging entry for
file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played
2005-02-17 12:17:33.4009 generating from browse_playlist_list.html
2005-02-17 12:17:33.4777 New track for file:///D:/slim/server/playlists/Untitled.m3u
2005-02-17 12:17:33.4932 isFile(D:\slim\server\playlists\Untitled.m3u) == 1
2005-02-17 12:17:33.4967 Updating cache for:
file:///D:/slim/server/playlists/Untitled.m3u
2005-02-17 12:17:33.4972 Plain title for:
file:///D:/slim/server/playlists/Untitled.m3u
2005-02-17 12:17:33.4980  is Untitled
2005-02-17 12:17:33.4987 Merging entry for
file:///D:/slim/server/playlists/Untitled.m3u
2005-02-17 12:17:33.5229 generating from browse_playlist_list.html
2005-02-17 12:17:33.5268 generating from browse_playlist.html
2005-02-17 12:17:33.5813 No more messages to send to 127.0.0.1
2005-02-17 12:17:33.5841 Accepted connection 2 from 127.0.0.1
2005-02-17 12:17:33.5845 No segment to send to 127.0.0.1, waiting for next request..
2005-02-17 12:17:33.5883 reading request...
2005-02-17 12:17:33.5886 HTTP request: from 127.0.0.1
(HTTP::Daemon::ClientConn=GLOB(0x6419518)) for GET HTTP/1.1 /slimserver.css
2005-02-17 12:17:33.5901 processURL Clients: 127.0.0.1:3368
2005-02-17 12:17:33.5907 Generating response for (css, text/css) slimserver.css
2005-02-17 12:17:33.5909 generating from include.html
2005-02-17 12:17:33.5943 generating from slimserver.css
2005-02-17 12:17:33.5946 reading http file for (Fishbone slimserver.css)
2005-02-17 12:17:33.5949 Checking for
D:\slim\server\Plugins\MoodLogic\HTML\Fishbone\slimserver.css.
2005-02-17 12:17:33.5956 Checking for
D:\slim\server\Plugins\MusicMagic\HTML\Fishbone\slimserver.css.
2005-02-17 12:17:33.5963 Checking for D:\slim\server\HTML\Fishbone\slimserver.css.
2005-02-17 12:17:33.6228 End request: keepAlive: [1] - waiting for next request
on connection = keep-alive

2005-02-17 12:17:33.6875 No more messages to send to 127.0.0.1
2005-02-17 12:17:33.6884 No segment to send to 127.0.0.1, waiting for next request..
2005-02-17 12:17:38.9531 reading request...
2005-02-17 12:17:38.9534 HTTP request: from 127.0.0.1
(HTTP::Daemon::ClientConn=GLOB(0x27d0b2c)) for GET HTTP/1.1
/browse.html?player=6e%3A7a%3A2a%3A6f%3Af4%3Aa6&dir=__playlists
2005-02-17 12:17:38.9541 HTTP parameter player = 6e:7a:2a:6f:f4:a6
2005-02-17 12:17:38.9543 HTTP parameter dir = __playlists
2005-02-17 12:17:38.9552 processURL Clients: 127.0.0.1:3368
2005-02-17 12:17:38.9556 Generating response for (htm, text/html) browse.html
2005-02-17 12:17:38.9559 generating from include.html
2005-02-17 12:17:38.9605 browse virtual path: __playlists
2005-02-17 12:17:38.9608 with absolute path: file:///D:/slim/server/playlists
2005-02-17 12:17:38.9612 Scan::addToList: file:///D:/slim/server/playlists
2005-02-17 12:17:38.9620 numitems: 0
2005-02-17 12:17:38.9622 index: -1
2005-02-17 12:17:38.9625 Scan::readList gonna read file:///D:/slim/server/playlists
2005-02-17 12:17:38.9629 Gonna try to open playlist file:///D:/slim/server/playlists
2005-02-17 12:17:38.9744 *** found a current entry for
file:///D:/slim/server/playlists in playlist cache ***
2005-02-17 12:17:38.9792 Descending into file:///D:/slim/server/playlists,
contains 2 items
2005-02-17 12:17:38.9797 End request: keepAlive: [2] - waiting for next request
on connection = keep-alive

2005-02-17 12:17:38.9802 numitems: 0
2005-02-17 12:17:38.9804 index: 0
2005-02-17 12:17:38.9821 itempath: ShoutcastBrowser_Recently_Played and
file:///D:/slim/server/playlists made
file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played
2005-02-17 12:17:38.9825
isList(file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played) == dir
2005-02-17 12:17:38.9831 numitems: 1
2005-02-17 12:17:38.9833 index: 1
2005-02-17 12:17:38.9846 itempath: Untitled.m3u and
file:///D:/slim/server/playlists made file:///D:/slim/server/playlists/Untitled.m3u
2005-02-17 12:17:38.9849 isList(file:///D:/slim/server/playlists/Untitled.m3u)
== m3u
2005-02-17 12:17:38.9855 numitems: 2
2005-02-17 12:17:38.9858 index: 2
2005-02-17 12:17:38.9860 Beginning scan sort...
2005-02-17 12:17:39.9970 ...sort done.
2005-02-17 12:17:39.9974 Got to end of dir, done!
2005-02-17 12:17:39.9977 addToList_done. returning 2 items
2005-02-17 12:17:39.9979  
file:///D:/slim/server/playlists/ShoutcastBrowser_Recently_Played
2005-02-17 12:17:39.9980   file:///D:/slim/server/playlists/Untitled.m3u
2005-02-17 12:17:39.9983 browser_addtolist_done with 2 items (2 __playlists)
2005-02-17 12:17:39.0264 generating from browse_playlist_list.html
2005-02-17 12:17:39.0557 generating from browse_playlist_list.html
2005-02-17 12:17:39.0596 generating from browse_playlist.html
2005-02-17 12:17:39.1152 No more messages to send to 127.0.0.1
2005-02-17 12:17:39.1172 reading request...
2005-02-17 12:17:39.1176 HTTP request: from 127.0.0.1
(HTTP::Daemon::ClientConn=GLOB(0x6419518)) for GET HTTP/1.1 /slimserver.css
2005-02-17 12:17:39.1190 processURL Clients: 127.0.0.1:3368
2005-02-17 12:17:39.1195 Generating response for (css, text/css) slimserver.css
2005-02-17 12:17:39.1198 generating from include.html
2005-02-17 12:17:39.1232 generating from slimserver.css
2005-02-17 12:17:39.1245 End request: keepAlive: [2] - waiting for next request
on connection = keep-alive

2005-02-17 12:17:39.1250 No segment to send to 127.0.0.1, waiting for next request..
2005-02-17 12:17:39.2187 No more messages to send to 127.0.0.1
2005-02-17 12:17:39.2196 No segment to send to 127.0.0.1, waiting for next request..
Comment 2 Chris Owens 2006-06-16 14:40:53 UTC
There are 536 bugs in the database with targets of '---' that were fixed prior to new year 2006.  I am setting them to targets of 6.2.1 to keep them from showing up in my queries.