summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* test: Adapt ObjectCreator testJens Georg2013-08-201-1/+1
|
* media-export: Check contains argumentJens Georg2013-08-201-1/+2
| | | | | | Prevent a critical when running "contains" search on nullable columns. https://bugzilla.gnome.org/show_bug.cgi?id=706182
* media-export: Fix fall-back search recursionJens Georg2013-08-202-38/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=706058
* media-export: Remove container-search hackJens Georg2013-08-203-23/+60
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=706059
* renderer,renderer-gst: Get profiles from rendererJens Georg2013-08-195-2/+158
| | | | | | | | | Let the renderer return a list of supported DLNA profiles. To not break ABI/API we duplicate DLNAProfiles from server; needs to be moved to core in next unstable cycle. https://bugzilla.gnome.org/show_bug.cgi?id=699698
* server: Move knowledge of supported profilesJens Georg2013-08-194-5/+60
| | | | | | | | | | Query the supported profiles (all, upload) from the MediaServerPlugin, provide a default implementation that does return everything from the profiles supported by the MediaEngine. Note: This is done via properties in this slightly complicated manner to not break ABI this late in the cycle. Ideally it should be abstract/virtual properties or abstract/virtual functions.
* server: Add X_GetDLNAUploadProfiles callJens Georg2013-08-191-0/+43
|
* server: UPnP errorcode - Unimplemented actionParthiban Balasubramanian2013-08-181-1/+1
| | | | | | Unimplemented action must return 602 https://bugzilla.gnome.org/show_bug.cgi?id=705587
* core,server: Fix accidental file moveJens Georg2013-08-151-0/+1
|
* external: Simplify and fix translatable messageJens Georg2013-08-152-13/+21
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=705899
* server: Minor style fixesJens Georg2013-08-132-3/+3
|
* server:Fixing UPnP Error codes for Browse/SearchParthiban Balasubramanian2013-08-133-3/+17
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=705576
* media-engine: Prevent structure copyingJens Georg2013-08-131-1/+1
|
* media-export: Set proper OCM flags for playlistsJens Georg2013-08-091-0/+13
|
* media-export: Use fall-back search for @refIDJens Georg2013-08-083-6/+7
| | | | | | Fixes DLNA TC 7.3.66.3,4 https://bugzilla.gnome.org/show_bug.cgi?id=702253
* media-export: Fix potential crasherJens Georg2013-08-082-13/+21
| | | | | | The data passed to the collation function is not null-terminated so we make sure it is now. There is no additional copying involved, the code was doing g_strdup implicitly anyway before.
* media-export: Add warning if child-count fails.Jens Georg2013-08-081-0/+3
|
* media-export: Fix virtual containersJens Georg2013-08-071-10/+21
| | | | | | | Final fix. Add dummy columns from sorting to union as well to not break the "All" container use-case. Hopefully that's the final fix now
* media-export: Fix virtual containersJens Georg2013-08-072-0/+3
|
* server: Try harder to find compatible containerJens Georg2013-08-061-1/+44
| | | | | | | | Just grabbing the first container and then validate the create classes doesn't really work; we search for compatible create classes right away. Fixes issue introduced with 3fae8be1 if MediaExport has virtual folders enabled.
* server: Report missing filter in BrowseJens Georg2013-08-061-0/+4
|
* server: Dequeue item upon manual removalJens Georg2013-08-061-0/+2
| | | | | | | | | | If the client creates an object in DLNA.ORG_AnyContainer but doesn't upload anything to it and then removes it within the 35s timeout, the ObjectRemovalQueue would still trigger and cause criticals. This change just tries to dequeue everything we remove to fix this. https://bugzilla.gnome.org/show_bug.cgi?id=702633
* core,server: Use proper error codesJens Georg2013-08-065-27/+45
| | | | | | There are several places where the wrong error code was used. https://bugzilla.gnome.org/show_bug.cgi?id=702452
* media-export: Emit containerUpdateID on playlistJens Georg2013-08-061-0/+2
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=703135
* media-export: Implement recursive container removalJens Georg2013-08-062-2/+14
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=703135
* server: Fix file headerJens Georg2013-08-061-2/+2
|
* server: Fix recursive removal of itemsJens Georg2013-08-061-1/+8
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=703135
* media-export: Fix crash on item removalJens Georg2013-08-061-2/+5
| | | | | | | | | | | | MediaCache.get_object can return null if the object wasn't found in the cache. On certain conditions this can happen while uploading (removal queue vs. manual remove from client). Take this into account and just warn instead of crash. This isn't the proper fix for the issue but at least it stopps Rygel from crashing. https://bugzilla.gnome.org/show_bug.cgi?id=702633
* media-export: Fix sort-criteria in virtual foldersJens Georg2013-08-062-3/+14
| | | | | Looks like SQLite can only sort on columns it selects so we get the extra columns from the sort criteria and select them as well.
* media-export: Use sort criteria in virtual foldersJens Georg2013-08-053-3/+15
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702228
* media-export: Fix invalid browse responseJens Georg2013-08-052-22/+27
| | | | | | | | Instead of manually adding the "All" container causing all kinds of issues with response count and slicing we just generate a "fake" result from the SQL query so limit and offset work as expected. https://bugzilla.gnome.org/show_bug.cgi?id=704146
* playbin: Make plugin usable with simple engineCraig Pratt2013-08-051-0/+5
|
* core: Recommended png depth value 24 instead of 32Parthiban Balasubramanian2013-08-051-1/+1
| | | | | | | The depth of a PNG is defined excluding the alpha channel so we really have 3x8 bits here. https://bugzilla.gnome.org/show_bug.cgi?id=705084
* server: Validate client supplied createClass valueParthiban Balasubramanian2013-08-011-0/+23
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702741
* server,media-export: Add missing seachClass nodesParthiban Balasubramanian2013-07-302-1/+12
| | | | | | | Fix for adding searchClass element in the browse result when searchable attribute is set. https://bugzilla.gnome.org/show_bug.cgi?id=702254
* server,media-export: Fix OCM flagsJens Georg2013-07-305-5/+30
| | | | | | | | The OCM flags in the playlist root container need changing to not mention UPLOAD and UPLOAD_DESTROYABLE since it's not possible to add items in it, only containers. https://bugzilla.gnome.org/show_bug.cgi?id=702255
* server: Fix playlist creationJens Georg2013-07-301-0/+9
| | | | | | | If a client creates an item with a DIDL_S resource, rewrite the UPnP class to .playlistItem. https://bugzilla.gnome.org/show_bug.cgi?id=702256
* server: Force HTTP version to 1.1Jens Georg2013-07-301-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702555
* media-export: Don't leak fds in JPEG writerJens Georg2013-07-231-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=701948
* server: Always fill agent cacheJens Georg2013-07-211-4/+4
|
* server: Fix accidental ABI breakJens Georg2013-07-121-2/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=703241
* server,media-export: Add support for dc:creatorParthiban Balasubramanian2013-06-287-28/+44
| | | | | | | Ability to add dc:creator is removed from subclasses and moved into MediaItem. https://bugzilla.gnome.org/show_bug.cgi?id=701637
* RootDeviceFactory: use UUID.get() from UUID.vapiJussi Kukkonen2013-06-271-12/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702451
* Only modify the description file from DescriptionFileJussi Kukkonen2013-06-272-160/+147
| | | | | | | | | | | | | RootDeviceFactory used to modify the description xml directly. This is not optimal as DescriptionFile now keeps the elements in the correct order. Move the icon element and service element creation code to DescriptionFile, start using DescriptionFile public methods to modify the description from RootDeviceFactory. Swap the order of ControlURL and EventSubURL elements to match the specification. https://bugzilla.gnome.org/show_bug.cgi?id=702451
* DescriptionFile: Preserve order when adding elementsJussi Kukkonen2013-06-271-14/+67
| | | | | | | | UPnP Device Architecture 1.1 specifies the order of elements in the device description. Preserve that order when dynamically adding elements. https://bugzilla.gnome.org/show_bug.cgi?id=702451
* DescriptionFile: create device elements if they do not existsJussi Kukkonen2013-06-271-7/+44
| | | | | | | | | | | set_device_element() may be called with names of elements that do not exists yet (non-required elements that are empty by default). Create elements dynamically in set_device_element(). also, set dlna namespace for X_DLNACAP and remove the X_DLNACAP element if the contents are empty. https://bugzilla.gnome.org/show_bug.cgi?id=703044
* server: Fix UPnP Error codesParthiban Balasubramanian2013-06-273-7/+7
| | | | | | | CreateObject, UpdateObject and DestroyObject UPnP Actions were using slightly wrong error codes. https://bugzilla.gnome.org/show_bug.cgi?id=703140
* server: Fix error codes for CreateReferenceJens Georg2013-06-252-2/+7
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702083
* media-export: Allow reference creation everywhereJens Georg2013-06-253-28/+34
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=702083
* media-export: Use DLNA-compliant createClassJens Georg2013-06-251-2/+5
| | | | | | | | DLNA does not like upnp:createClass other than object.container for containers. So we use that and use the possibility to "upgrade" the object's class upon creation. https://bugzilla.gnome.org/show_bug.cgi?id=702258