Post Reply 
Digital booklets
14-04-2013, 15:10 (This post was last modified: 14-04-2013 15:11 by bubbleguuum.)
Post: #9
RE: Digital booklets
(14-04-2013 14:59)simoncn Wrote:  
(14-04-2013 10:43)bubbleguuum Wrote:  I would add support in BubbleUPnP and BubbleDS for that upnp:lyricsURI tag pointing to a pdf booklet.

BubbleDS has some support for displaying pdf booklets but since there is no standard, they must be stored on the Android device in a specific folder with specific naming rules so they can be associated to an album.

That sounds great! I'll add this to the next feature release of MinimServer, assuming we can achieve consensus on how to identify the correct .pdf file for the album's booklet. For example, some albums aren't stored in a single folder.

How pdfs are associated to albums is entirely the reponsability of the media server as the control point only care about the URL.
To make things simple on your end for a first version I suggest associating a booklet to an album only if the containing folder has a pdf.
That covers the vast majority of use case I believe.

(14-04-2013 14:59)simoncn Wrote:  
Quote:IMHO, there's no need for a separate http server for just serving pdf: this can be done by minimserver's http server that will accept to serve pdf URLs only if the file is inside one of the contentDir's.

This is probably OK, but in practice I think it would mean that all files underneath contentDir would be accessible if the client is able to construct the corresponding URL that conforms to minimServer's URL conventions.

Serving pdf booklets is IMHO not much different that serving album art jpg or png. You could deny all file serving requests of unknown file extensions that are in one of the contentDir's. That's what BubbleUPnP is doing as it is able to serve subtitles (.srt and others) but deny arbitrary forged file requests.

(14-04-2013 14:59)simoncn Wrote:  
Quote:I don't think there is even the need for a specific convention for pdf naming: just detecting the presence of a pdf in an album folder is enough to infer it is a booklet.

This is fine unless there are multiple .pdf files or the album's contents are split across multiple folders. A convention would prevent unexpected results from the wrong .pdf file being served.
[/quote]

See my previous message on how they all could be handled (desc tag or multiple upnp:lyricsURI tags)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Digital booklets - classical11 - 14-04-2013, 06:35
RE: Digital booklets - JimR - 14-04-2013, 08:48
RE: Digital booklets - simoncn - 14-04-2013, 09:37
RE: Digital booklets - bubbleguuum - 14-04-2013, 10:43
RE: Digital booklets - simoncn - 14-04-2013, 14:59
RE: Digital booklets - bubbleguuum - 14-04-2013 15:10
RE: Digital booklets - simoncn - 14-04-2013, 15:37
RE: Digital booklets - magister - 14-04-2013, 14:09
RE: Digital booklets - simoncn - 14-04-2013, 14:47
RE: Digital booklets - bubbleguuum - 14-04-2013, 15:01
RE: Digital booklets - simoncn - 14-04-2013, 15:30
RE: Digital booklets - bubbleguuum - 14-04-2013, 15:36
RE: Digital booklets - magister - 14-04-2013, 17:24
RE: Digital booklets - simoncn - 14-04-2013, 17:49
RE: Digital booklets - classical11 - 14-04-2013, 21:32
RE: Digital booklets - simoncn - 14-04-2013, 21:49
RE: Digital booklets - classical11 - 14-04-2013, 21:23
RE: Digital booklets - simoncn - 14-04-2013, 22:01
RE: Digital booklets - bubbleguuum - 14-04-2013, 22:12
RE: Digital booklets - simoncn - 14-04-2013, 22:21
RE: Digital booklets - bubbleguuum - 14-04-2013, 22:39
RE: Digital booklets - simoncn - 14-04-2013, 23:08
RE: Digital booklets - bubbleguuum - 14-04-2013, 23:16
RE: Digital booklets - classical11 - 15-04-2013, 02:53
RE: Digital booklets - lyapounov - 27-03-2016, 08:42
RE: Digital booklets - rompolompo - 11-01-2016, 17:15
RE: Digital booklets - simoncn - 11-01-2016, 18:38
RE: Digital booklets - rompolompo - 11-01-2016, 18:54
RE: Digital booklets - simoncn - 11-01-2016, 19:10
RE: Digital booklets - macrotech - 18-03-2016, 21:06
RE: Digital booklets - Mike48 - 23-03-2016, 03:34
RE: Digital booklets - bbrip - 25-03-2016, 13:04

Forum Jump:


User(s) browsing this thread: 1 Guest(s)