projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feed03a
)
core: Reset number of tracks to 0
author
Jens Georg
<mail@jensge.org>
Fri, 11 May 2012 11:55:19 +0000
(13:55 +0200)
committer
Jens Georg
<mail@jensge.org>
Mon, 28 May 2012 17:11:58 +0000
(19:11 +0200)
src/rygel/rygel-av-transport.vala
patch
|
blob
|
history
diff --git
a/src/rygel/rygel-av-transport.vala
b/src/rygel/rygel-av-transport.vala
index
8b4850b
..
f8e40ce
100644
(file)
--- a/
src/rygel/rygel-av-transport.vala
+++ b/
src/rygel/rygel-av-transport.vala
@@
-274,7
+274,11
@@
internal class Rygel.AVTransport : Service {
this.session.queue_message (message, null);
} else {
this.uri = _uri;
- this.n_tracks = 1;
+ if (_uri == "") {
+ this.n_tracks = 0;
+ } else {
+ this.n_tracks = 1;
+ }
action.return ();
}