Jens Georg [Fri, 14 May 2010 22:53:18 +0000 (00:53 +0200)]
media-export: Remove awkward error-handling
Signalling error to subscribers is now done in extract_next anyway.
Jens Georg [Fri, 14 May 2010 22:52:18 +0000 (00:52 +0200)]
media-export: Refactor. Move common code
Jens Georg [Fri, 14 May 2010 22:49:47 +0000 (00:49 +0200)]
media-export: Avoid direct recursion
extract_next was calling itself in error-case. Tunnelling via idle-loop
is the safer option.
Jens Georg [Fri, 14 May 2010 22:38:16 +0000 (00:38 +0200)]
media-export: Fix coding style
Jens Georg [Fri, 14 May 2010 22:03:34 +0000 (00:03 +0200)]
media-export: Removed custom tag RYGEL_DURATION
Jens Georg [Fri, 14 May 2010 21:27:13 +0000 (23:27 +0200)]
media-export: Refactor. Remove Extractor.create
Since there is a non-hatrvesting mode now, there's no need for a
creation method anymore as we will create the object always and just
not harvest.
Jens Georg [Fri, 14 May 2010 21:14:28 +0000 (23:14 +0200)]
media-export: Make harvesting of metadata optional
This commit introduces a new boolean configuration setting called
"extract-metadata" which disables harvesting completely. If not
configured, it defaults to "false"
This will also renders virtual folders useless since those are based on
metadata.
Jens Georg [Fri, 14 May 2010 12:55:40 +0000 (14:55 +0200)]
media-export: Add basic harvesting support
Re-enable simple mode which enables media exporting even if no meta-data
extractor is available.
Jens Georg [Thu, 13 May 2010 14:26:40 +0000 (16:26 +0200)]
media-export: Simplify harvesting code
Remove helper functions for database updating. INSERT OR REPLACE is now
used to let the database decide if it's a new entry or an update. This
simplifys harvesting code
Jens Georg [Sat, 8 May 2010 19:57:24 +0000 (21:57 +0200)]
media-export: Refactor media cache, remove signals
Jens Georg [Sat, 8 May 2010 19:55:22 +0000 (21:55 +0200)]
media-export: Refactor media cache
Move the code to upgrade a database into its own file
Jens Georg [Fri, 7 May 2010 19:12:33 +0000 (21:12 +0200)]
media-export: Refactor database upgrade
Jens Georg [Fri, 7 May 2010 18:31:26 +0000 (20:31 +0200)]
media-export: Remove Uri table
Jens Georg [Fri, 7 May 2010 17:21:35 +0000 (19:21 +0200)]
media-export: Use nested namespace
Using nested namespaces instead of name prefixes reduces clutter in code
(long lines etc.) while keeping C name compatibility
Jens Georg [Thu, 6 May 2010 21:39:21 +0000 (23:39 +0200)]
media-export: Work around a problem in playbin2
Sometimes playbin2 fails to extract the duration right after the state
change.
Jens Georg [Thu, 6 May 2010 20:52:07 +0000 (22:52 +0200)]
media-export: Small refactor
Jens Georg [Thu, 6 May 2010 20:48:41 +0000 (22:48 +0200)]
media-export: Coding style fixes
Zeeshan Ali (Khattak) [Mon, 7 Jun 2010 13:24:53 +0000 (16:24 +0300)]
media-export,i18n: Revisit translatability of strings
Zeeshan Ali (Khattak) [Sun, 6 Jun 2010 16:14:55 +0000 (19:14 +0300)]
mediathek,i18n: No need to translate Mediathek strings
Only Germans use this plugin and it is supposed to be removed in future.
Besides modern Germans speak good english. :)
Fran Diéguez [Sun, 6 Jun 2010 16:18:46 +0000 (18:18 +0200)]
Updated Galician translations
Fran Diéguez [Sun, 6 Jun 2010 16:15:04 +0000 (18:15 +0200)]
Created Galician translations and added gl to LINGUAS file
Zeeshan Ali (Khattak) [Sat, 5 Jun 2010 23:07:21 +0000 (02:07 +0300)]
media-export: Explain 'harvest' for translators
Yaron Shahrabani [Thu, 3 Jun 2010 22:08:38 +0000 (01:08 +0300)]
Updated Hebrew translation.
Yaron Shahrabani [Thu, 3 Jun 2010 22:08:32 +0000 (01:08 +0300)]
Updated Hebrew translation.
Daniel Nylander [Thu, 3 Jun 2010 20:17:09 +0000 (22:17 +0200)]
Updated Swedish translation
Jorge González [Thu, 3 Jun 2010 10:01:32 +0000 (12:01 +0200)]
Updated Spanish translation
Zeeshan Ali (Khattak) [Thu, 3 Jun 2010 00:38:26 +0000 (03:38 +0300)]
ui: Correct Icon path for uninstalled case
Zeeshan Ali (Khattak) [Wed, 2 Jun 2010 14:15:52 +0000 (17:15 +0300)]
core: Add icon to preferences UI's desktop file
Zeeshan Ali (Khattak) [Wed, 26 May 2010 20:54:21 +0000 (23:54 +0300)]
core: Don't allow comments in DIDL-Lite
Don't allow comments in DIDL-Lite in 'Elements' argument of CreatObject.
Zeeshan Ali (Khattak) [Wed, 26 May 2010 20:52:34 +0000 (23:52 +0300)]
core: Correct error on missing 'Elements' node
Throw correct error on missing 'Elements' node in CreateObject action.
Zeeshan Ali (Khattak) [Wed, 26 May 2010 12:29:29 +0000 (15:29 +0300)]
data: Advertize upload features in X_DLNACAP
Zeeshan Ali (Khattak) [Wed, 26 May 2010 12:18:13 +0000 (15:18 +0300)]
data: DLNA mandates no comments in XML
DLNA requirement 7.2.30.1 mandates no comments in XML.
Zeeshan Ali (Khattak) [Wed, 26 May 2010 11:14:58 +0000 (14:14 +0300)]
data: Comment out unimplemented actions
Don't advertise optional/unimplemented ConnectionManager actions.
Petr Kovar [Mon, 31 May 2010 21:16:27 +0000 (23:16 +0200)]
Update Czech translation by Marek Cernocky
Jorge González [Sun, 30 May 2010 10:01:31 +0000 (12:01 +0200)]
Updated Spanish translation
Andrej Žnidaršič [Fri, 28 May 2010 18:15:06 +0000 (20:15 +0200)]
Updated Slovenian translation
Jorge González [Tue, 25 May 2010 16:40:02 +0000 (18:40 +0200)]
Updated Spanish translation
Mario Blättermann [Tue, 25 May 2010 15:30:02 +0000 (17:30 +0200)]
Updated German translation
Zeeshan Ali (Khattak) [Tue, 25 May 2010 00:25:08 +0000 (03:25 +0300)]
core: Log rygel's plugins search
Specify on debug log where rygel is currently looking for plugins.
Zeeshan Ali (Khattak) [Tue, 25 May 2010 00:21:13 +0000 (03:21 +0300)]
core: Timeout on plugin loading
Rygel just keeps running even if there is no plugin available. This has
confused many users in the past. Enough is enough, Rygel now exits if it
fails to load any plugins in 5 seconds.
Zeeshan Ali (Khattak) [Thu, 20 May 2010 15:07:20 +0000 (18:07 +0300)]
build: Don't mind if m4 dir already exists
Zeeshan Ali (Khattak) [Thu, 20 May 2010 15:01:26 +0000 (18:01 +0300)]
build: Create m4 directory
Create m4 directory before running gnome-autogen.sh. With this, build
fails in maemo6 scratcbox environment.
Zeeshan Ali (Khattak) [Thu, 20 May 2010 15:01:05 +0000 (18:01 +0300)]
Revert "build: Add the m4 files"
This reverts commit
787dbb10b7b988105c82542bb2bc8257eb2b5ce0.
Zeeshan Ali (Khattak) [Wed, 19 May 2010 12:21:30 +0000 (15:21 +0300)]
build: Add POTFILES to git ignore list
Zeeshan Ali (Khattak) [Wed, 19 May 2010 12:12:23 +0000 (15:12 +0300)]
build: Add the m4 files
Petr Kovar [Sun, 16 May 2010 22:42:37 +0000 (00:42 +0200)]
Add Czech translation by Marek Cernocky
Zeeshan Ali (Khattak) [Sat, 15 May 2010 12:53:23 +0000 (15:53 +0300)]
core: Release announcement for 0.6.0
Zeeshan Ali (Khattak) [Fri, 14 May 2010 18:33:01 +0000 (21:33 +0300)]
tests: Refactor HTTPResponse unit tests
Instead of having a separate unit test for abstract HTTPResponse class,
keep the common code between unit tests of its subclasses in one module.
Zeeshan Ali (Khattak) [Fri, 14 May 2010 17:28:01 +0000 (20:28 +0300)]
tests: Sync LiveResponse & SeekableResponse tests
Both these units should behave very similar and hence their test cases
should not look/behaver very different.
Zeeshan Ali (Khattak) [Fri, 14 May 2010 18:43:07 +0000 (21:43 +0300)]
tests: Add forgotten symbolic link
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:43:30 +0000 (17:43 +0300)]
l10n: Mark preferences desktop file for translation
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:42:00 +0000 (17:42 +0300)]
l10n: Ignore unit test C code
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:36:29 +0000 (17:36 +0300)]
tests: Add unit test for SeekableResponse
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:33:23 +0000 (17:33 +0300)]
core: Only keep the continuation when needed
We should set the continuation just before defering to mainloop and unset
it as soon as we are back from it so that continuation doesn't get called
from unwanted contexts.
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:28:39 +0000 (17:28 +0300)]
core: Don't try reading file after cancellation
When the response is awaken from mainloop, it doesn't necessarily mean
that pending buffer was pushed to the client but it could also be that
the response was cancelled, in which case we shouldn't attempt to read
more bytes from file anymore.
Zeeshan Ali (Khattak) [Fri, 14 May 2010 14:15:19 +0000 (17:15 +0300)]
core: Centralize continuation handling
Move the continuation of run() method to base HTTPResponse class and
handle as much of it as possible in there.
Zeeshan Ali (Khattak) [Fri, 14 May 2010 12:45:33 +0000 (15:45 +0300)]
core: Don't end the response when cancelled
The base HTTPResponse class does that for us.
Zeeshan Ali (Khattak) [Fri, 14 May 2010 12:28:01 +0000 (15:28 +0300)]
core: SeekableResponse is always given a seek request
After commit
ce7f5c0d we must not keep the seek construction parameter
optional and we don't need to check if there is a seek request or not.
Jorge González [Fri, 14 May 2010 15:58:41 +0000 (17:58 +0200)]
Updated Spanish translation
Jorge González [Wed, 12 May 2010 06:23:43 +0000 (08:23 +0200)]
Updated Spanish translation
Zeeshan Ali (Khattak) [Tue, 11 May 2010 12:40:06 +0000 (15:40 +0300)]
test: Add unit test for HTTPTimeSeek
Zeeshan Ali (Khattak) [Tue, 11 May 2010 12:31:55 +0000 (15:31 +0300)]
core: Correct default TimeSeek.stop calculation
Correct calculation of default value of TimeSeek.stop.
Zeeshan Ali (Khattak) [Mon, 10 May 2010 16:31:19 +0000 (19:31 +0300)]
core: Don't stream if request is for subtitles
Zeeshan Ali (Khattak) [Fri, 19 Mar 2010 18:40:30 +0000 (20:40 +0200)]
test: Test thumbnail & subtitle cases
Add thumbnail and subtitle cases to HTTPByteSeek unit test.
Jorge González [Mon, 10 May 2010 18:13:46 +0000 (20:13 +0200)]
Updated Spanish translation
Zeeshan Ali (Khattak) [Sun, 9 May 2010 23:35:09 +0000 (02:35 +0300)]
core: Set 65KiB blocksize on gst source element
The default is usually 4KiB which is not really big enough.
Zeeshan Ali (Khattak) [Sun, 9 May 2010 23:24:23 +0000 (02:24 +0300)]
core: Check for prop itself rather than element
Before setting the tcp_timeout property of GstRTSPSrc, check if the
property exists rather than if the source element is a GstRTSPSrc.
Mario Blättermann [Sat, 8 May 2010 21:41:25 +0000 (23:41 +0200)]
Updated German translation
Zeeshan Ali (Khattak) [Sat, 8 May 2010 18:37:04 +0000 (21:37 +0300)]
core: Re-mux only if transcoding is not needed
MPEG2TS and WMV transcoders now bypass encoders if the stream is already
encoded in the needed codec. However, this also implies skipping the raw
audio and video tansformations and that in turn implies we are not exactly
being honest about the advertized DLNA profile name of the remuxed stream.
In most cases that shouldn't be a problem and this change should only make
users happy (hopefully).
Zeeshan Ali (Khattak) [Thu, 4 Mar 2010 17:52:37 +0000 (19:52 +0200)]
core: Configuration option for plugin path
It should be possible to specify plugin path through all configuration
sources.
Zeeshan Ali (Khattak) [Thu, 4 Mar 2010 15:01:05 +0000 (17:01 +0200)]
core: Configuration from Environment
Now you can tweak rygel through environment variables too. \o/
Zeeshan Ali (Khattak) [Sat, 8 May 2010 16:03:05 +0000 (19:03 +0300)]
core: Use 0 for unset port value, rather than -1
This is a work around for a weird problem that class initialization of
CmdlineCnfig is happening after one of it's static methods is called. It
seems like a Vala bug at first but I failed to reproduce this with a
simple test case.
Andrej Žnidaršič [Sat, 8 May 2010 07:55:14 +0000 (09:55 +0200)]
Updated Slovenian translation
Andrej Žnidaršič [Sat, 8 May 2010 07:52:58 +0000 (09:52 +0200)]
Updated Slovenian translation
Zeeshan Ali (Khattak) [Thu, 6 May 2010 23:42:26 +0000 (02:42 +0300)]
ui: Set icon on the preferences dialog
Jens Georg [Thu, 6 May 2010 20:28:25 +0000 (22:28 +0200)]
media-export: Use size to consider file change
With certain SMB implementations the mtime is only set at the beginning,
so the harvester did not consider the file changed. This fix also
consideres the size to determin wether a file has changed or not.
Fixes #617762
Jens Georg [Fri, 30 Apr 2010 19:48:58 +0000 (21:48 +0200)]
i10n: Update translation files due to moved files
Jens Georg [Fri, 30 Apr 2010 18:57:22 +0000 (20:57 +0200)]
media-export: Coding style fix
Jens Georg [Tue, 27 Apr 2010 19:42:26 +0000 (21:42 +0200)]
build: Sqlite needed for media-export only
Jens Georg [Tue, 27 Apr 2010 18:55:18 +0000 (20:55 +0200)]
core,media-export: Move code to module
Zeeshan Ali (Khattak) [Thu, 6 May 2010 01:02:30 +0000 (04:02 +0300)]
core: Expose Rygel logo on UPnP network
If the plugin does not provide an icon, use rygel logo.
Zeeshan Ali (Khattak) [Wed, 5 May 2010 23:16:32 +0000 (02:16 +0300)]
data: Add logo
Add 256x256, 32x32 and scalable versions of the logo.
Zeeshan Ali (Khattak) [Wed, 5 May 2010 23:19:41 +0000 (02:19 +0300)]
build: Micro refactoring of Makefile.am
Zeeshan Ali (Khattak) [Wed, 5 May 2010 23:17:54 +0000 (02:17 +0300)]
build: Update of INSTALL file by autofoo
Zeeshan Ali (Khattak) [Sun, 2 May 2010 22:29:37 +0000 (01:29 +0300)]
core: Pause pipeline when buffer grows too much
There is no way of knowing that an HTTP client has paused the playback but
we do know it when its not reading from socket anymore. So now we keep
track of number of buffers queued to be sent to the client and if this
number goes beyond a fixed amount, we pause the gstreamer pipeline until
client catches up and there is only a few number of queued buffers left.
Zeeshan Ali (Khattak) [Sat, 1 May 2010 22:53:27 +0000 (01:53 +0300)]
plugins: Add missing libuuid to flags
Mario Blättermann [Sat, 1 May 2010 21:27:21 +0000 (23:27 +0200)]
Added German translation
Jorge González [Sat, 1 May 2010 08:00:27 +0000 (10:00 +0200)]
Updated Spanish translation
Andrej Žnidaršič [Fri, 30 Apr 2010 17:33:05 +0000 (19:33 +0200)]
Updated Slovenian translation
Andrej Žnidaršič [Tue, 27 Apr 2010 09:05:40 +0000 (11:05 +0200)]
Updated Slovenian translation
Andrej Žnidaršič [Tue, 27 Apr 2010 09:03:50 +0000 (11:03 +0200)]
Updated Slovenian translation
Matej Urbančič [Tue, 27 Apr 2010 09:03:43 +0000 (11:03 +0200)]
Added sl for Slovenian translation
Jorge González [Thu, 22 Apr 2010 06:32:58 +0000 (08:32 +0200)]
Updated Spanish translation
Jorge González [Tue, 20 Apr 2010 06:13:22 +0000 (08:13 +0200)]
Updated Spanish translation
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:58:56 +0000 (01:58 +0300)]
core,media-export: Prefer 'folder' over 'directory'
Prefer the term 'folder' over 'directory' in strings (possibly) visible to
the user.
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:53:24 +0000 (01:53 +0300)]
core: Don't mark extra space from translation
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:51:00 +0000 (01:51 +0300)]
media-export: Use ngettext for string with plurals
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:49:22 +0000 (01:49 +0300)]
core,mediathek: More translator-friendly language
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:47:07 +0000 (01:47 +0300)]
core,plugins: Grammer/spelling corrections
Zeeshan Ali (Khattak) [Mon, 19 Apr 2010 22:42:24 +0000 (01:42 +0300)]
core,media-export: Correctly case abbreviations
- 'URL' instead of 'Url' or 'url'
- 'ID' instead of 'id' or 'Id'