More > Media Center 12 (Development Ended)

Linux UPNP and djmount

<< < (2/3) > >>

mcollier:
Since the problem now seems to be with the media conversion, I turned on debug logging on MediaCenter.

Which logging options should I choose to troubleshoot a problem with media conversion and the UPNP server?  Where should I send the log file?

After looking at the log, I wonder how I go about controlling the directory where MediaCenter stores the stream files?  I would have thought it would use the temporary file location specified in the program options, but apparently this is not the case.

Matt

mcollier:

--- Quote from: John Gateley on April 24, 2008, 01:53:49 pm ---I'll take a look at the sniff, thanks.

At a guess though, XMMS may be relying on a ContentLength header, which we cannot provide while converting.

I'll let you know...

j


--- End quote ---

For what it's worth, the track times XMMS gets from TVersity are completely bogus, usually around 30 minutes for a 4 minute track.

The thing about djmount is that it is supposed to look like a file system to the media player, in this case XMMS.  XMMS therefore does not treat the file as streaming media or the like.

Matt

John Gateley:
It's not the content length header.

I *think* what is going on is that XMMS is refusing to play an mp3 file with no ID3 tags.

When we convert files on the fly, we don't generate a tag block, just the MP3 data. I'm pretty sure this is what is confusing XMMS.

There's actually a solution in the  works, but it'll be weeks (and is quite coincidental that it can fix this problem) instead of days.

You can always complain to XMMS about not playing files with no tags...

j

mcollier:
I've found a working solution.

running djmount with the "playlist" option.

djmount -o playlist

creates m3u playlists files for all the files in the library.  Aside from working, it has the added benefit that XMMS treats the files as streaming HTTP audio (w/buffering) which is good for me since I'm working over a pretty weak wifi connection.

I look forward to trying out the solution you mentioned John.  What feature should I be looking for in the release notes?

Thanks!

Matt

John Gateley:
Cool! Thanks for reporting the solution. We're looking at ways of using a cache of pre-converted files (which would include tags), so just keep an eye out for that... -- j


Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version