After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 731467 - X_DLNA_PS is added on images
X_DLNA_PS is added on images
Status: RESOLVED FIXED
Product: rygel
Classification: Applications
Component: librygel-renderer
git master
Other Linux
: Normal normal
: ---
Assigned To: rygel-maint
rygel-maint
Depends on:
Blocks:
 
 
Reported: 2014-06-10 16:03 UTC by Jens Georg
Modified: 2015-05-10 13:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Remove irrelevant TransportActions (2.17 KB, patch)
2014-07-14 14:33 UTC, Jussi Kukkonen
committed Details | Review
Fix image playlist "slide show" (5.88 KB, patch)
2014-07-14 14:33 UTC, Jussi Kukkonen
committed Details | Review

Description Jens Georg 2014-06-10 16:03:24 UTC
I suppose this is not really useful.
Comment 1 Jussi Kukkonen 2014-07-14 14:33:31 UTC
Created attachment 280648 [details] [review]
Remove irrelevant TransportActions

Remove "Pause" and "X_DLNA_PS=*" when the uri is an image. Remove
"Seek" when player says it can't seek.
Comment 2 Jussi Kukkonen 2014-07-14 14:33:36 UTC
Created attachment 280649 [details] [review]
Fix image playlist "slide show"

The image playlist timer wasn't working: start the timer from both
apply_track() and when playback state changes to PLAYING. This
required some refactoring.

Also, include "Pause" TransportAction for image playlists. Make sure
Pause() method call returns "701 Transition not available" for
individual images, but not for image playlists.
Comment 3 Jussi Kukkonen 2014-07-14 14:37:47 UTC
> Remove "Pause" and "X_DLNA_PS=*" when the uri is an image. Remove
> "Seek" when player says it can't seek.

The latter is there for images: I could just check for images specifically but this seems more correct.


The second patch is a bit of a mixed bag: several fixes within image playlist handling that should maybe have been in separate patches... I can try separating them if it's annoying to review.
Comment 4 Jens Georg 2014-07-18 10:57:42 UTC
Have you checked this against the two or three "playlists don't work properly" bugs? Maybe those fixes squashed one of those as well :)
Comment 5 Jens Georg 2014-08-25 10:32:03 UTC
Review of attachment 280648 [details] [review]:

+1, But needs rebasing to master (I've done that locally and will just push that)
Comment 6 Jens Georg 2014-08-25 10:35:17 UTC
Review of attachment 280649 [details] [review]:

Needs rebasing (I've already done that locally)

::: src/librygel-renderer/rygel-player-controller.vala
@@ +348,3 @@
             Idle.add (() => {
                 if (!this.next ()) {
+                    this.playback_state == "STOPPED";

I suppose that should have been this.playback_state = "STOPPED";

@@ -391,1 @@
         }

Shouldn't we still remove the timeout if it's still running or it will be triggered twice?
Comment 7 Jens Georg 2015-05-10 13:40:46 UTC
Attachment 280648 [details] pushed as 7fa02d5 - Remove irrelevant TransportActions