Bug 17925 - LMS 7.7.2-33893 - UPnP - download of pictures and videos don't work
: LMS 7.7.2-33893 - UPnP - download of pictures and videos don't work
Status: UNCONFIRMED
Product: Logitech Media Server
Classification: Unclassified
Component: UPnP
: 7.7.2
: Other Linux (other)
: -- normal (vote)
: ---
Assigned To: Unassigned bug - please assign me!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-14 12:31 UTC by JED
Modified: 2012-04-15 09:43 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments
configured folders for the different file types. (12.38 KB, image/jpeg)
2012-03-14 12:31 UTC, JED
Details
UPnP tree shown in VLC media player (47.39 KB, image/jpeg)
2012-03-14 12:32 UTC, JED
Details
Working fine here (VLC 2.0 on OSX) (71.37 KB, image/png)
2012-03-16 14:07 UTC, Michael Herger
Details
media (video) scan failed (1.28 KB, text/plain)
2012-03-17 01:35 UTC, JED
Details
No errors appear when sending UPnP messages (1.20 KB, text/plain)
2012-03-17 01:42 UTC, JED
Details
Scan debug log (2.90 KB, text/plain)
2012-04-15 09:30 UTC, JED
Details
scanner.log file (4.18 KB, text/plain)
2012-04-15 09:43 UTC, JED
Details

Note You need to log in before you can comment on or make changes to this bug.
Description JED 2012-03-14 12:31:21 UTC
Created attachment 7649 [details]
configured folders for the different file types.

I've just installed the latest nightly build of LMS on my test server and
configured separate directories for audio, images and video files.
Then I've accessed the server via VLC media player v2.0.0.
The UPnP tree is shown as attached to this report.
The audio UPnP tree part seems to be ok and all files could be seen and also
played without problems.
The images UPnP tree part contains different category folders including an
'Album folder' (?!) but only the file folder showed the files which I have
copied to the server. Double-clicking on a file causes error messages to popup
on the client:

VLC cannot open the MRL 'http://<ip-address>:9000/image//cover'.
VLC cannot open the MRL 'http://<ip-address>:9000/video//download'.

The video UPnP tree part contains only two sub folders but it's also not
possible to download a video file. Double-clicking on a file causes an error
message to popup on the client:

VLC cannot open the MRL 'http://<ip-address>:9000/video//download'.
Comment 1 JED 2012-03-14 12:32:04 UTC
Created attachment 7650 [details]
UPnP tree shown in VLC media player
Comment 2 JED 2012-03-14 12:33:28 UTC
I'm running LMS on a Linux box with Perl v5.12.0 installed.
Comment 3 Michael Herger 2012-03-16 14:07:24 UTC
Created attachment 7653 [details]
Working fine here (VLC 2.0 on OSX)

You might want to enable debugging for the scan and UPnP to get more information in scanner.log and server.log
Comment 4 JED 2012-03-17 01:35:38 UTC
Created attachment 7654 [details]
media (video) scan failed

I've started a full scan from scratch and the audio scan runs without a problem but the media (video) scan failed due to an 'argument does not have a struct associated with it at .../CPAN/Media/Scan.pm line 155' error.
Comment 5 JED 2012-03-17 01:42:49 UTC
Created attachment 7655 [details]
No errors appear when sending UPnP messages
Comment 6 Michael Herger 2012-03-19 03:30:12 UTC
could you please enable debugging for scanner, re-run a full scan and upload the full file here?

I guess this is more of a scanner than a UPnP issue.
Comment 7 JED 2012-04-15 09:30:37 UTC
Created attachment 7666 [details]
Scan debug log

Hello Michael,
as requested I've set the following protocol parameters to "debug":
scan, scan.auto, scan.import, scan.scanner. 

The media scan details are as follows:

Discovering files/directories: /var/slims/audio  (51 of 51) Complete  00:00:00
Scanning new music files: /var/slims/audio       (43 of 43) Complete  00:00:01
Scanning new media files: /var/slims/video       (0 of 0)   Complete  00:00:00
Media scan terminated unexpectedly (Scanning Progress)
Total Time: 00:00:01 (Sunday, 15. April 2012 / 18:15:38)
Comment 8 JED 2012-04-15 09:43:06 UTC
Created attachment 7667 [details]
scanner.log file