diff options
author | Stefan Sauer <ensonic@users.sf.net> | 2013-10-19 21:13:46 +0200 |
---|---|---|
committer | Stefan Sauer <ensonic@users.sf.net> | 2013-10-19 21:15:36 +0200 |
commit | a61447f7d3d5c68d4fc63f4697727fd66a2bb4f7 (patch) | |
tree | b1e606e05056523bfa43efeabf8c8484a5397703 /mediainfo | |
parent | 8abadb14f903049c8f8f49a1de19b3485781afcf (diff) |
mi-info: go back to use the sync api
If we discover 'too quickly' the machinery seems to get into a state, where it
does not discover anything anymore.
Diffstat (limited to 'mediainfo')
-rw-r--r-- | mediainfo/src/mi-info.vala | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mediainfo/src/mi-info.vala b/mediainfo/src/mi-info.vala index 573d046..a1d4efa 100644 --- a/mediainfo/src/mi-info.vala +++ b/mediainfo/src/mi-info.vala @@ -316,7 +316,8 @@ public class MediaInfo.Info : Box debug ("Failed to query file info from %s: %s: %s", uri, e.domain.to_string (), e.message); } - if (false) { + debug ("Discovering '%s'", uri); + if (true) { /* sync API */ try { process_new_uri (dc.discover_uri (uri)); @@ -324,6 +325,7 @@ public class MediaInfo.Info : Box debug ("Failed to extract metadata from %s: %s: %s", uri, e.domain.to_string (), e.message); } } else { + // TODO(ensonic): this breaks when discovering 'too quickly' /* async API */ dc.stop(); dc.start(); |