hzeller / gmrender-resurrect

Resource efficient UPnP/DLNA renderer, optimal for Raspberry Pi, CuBox or a general MediaServer. Fork of GMediaRenderer to add some features to make it usable.
GNU General Public License v2.0
832 stars 202 forks source link

The progress bar of music player will not synchronize after seeking #83

Open countrysideboy opened 9 years ago

countrysideboy commented 9 years ago

Some music players do not query the position all the time,when I change the progress bar,the music players transport seek command and gmrender reply a seekresponse,then the progress bar freeze until a lastchange notify is given by gmrender.

Gmrender reply a lastchange notify(such as TransportState val= PLAYING) after seekresponse will fix this bug.

The gst_element_seek function pause then play the song,but if my current state is pausing,the gmrender will play the song after seeking without sync the state.