Re: GrlMediaBox serialize unserialize problem



Hi Juan,

below is the serialized string.
As i said, the url starting with url=dvbt://  gets parsed, but then not attached to the GrlMediaBox Object.
As if a GrlMediaBox object does not like to get an url from unserialisation.
If I just set/ get it in other cases no problems occour.

grlbox://grl-dvb/sid%3A2?title=arte&description=ARD%0AService%20ID%3A%202%0AFrequency%3A%20690000%20kHz%0ABandwidth%3A%208k&url=dvbt%3A%2F%2F%20frequency%3D690000000%20bandwidth%3D8k%20program%3D2%20pcr_pid%3D0x1121%20audio_pids%3D0x1123%3A0x1122%20video_pids%3D0x1121%20ttx_pids%3D0x1124%20other_pids%3D0x87c%3A0x1d6

Roland

On 06.06.2013, at 10:20, Juan A. Suarez Romero wrote:

On Thu, 2013-06-06 at 10:08 +0200, Roland Peffer wrote:
I have a situation where I store GrlMedia subclasses like Box, Audio, or Video as serialized strings.
All may have also an url attached.
When I unserialize the stored information, I do not get the url back for type GrlMediaBox.
For Audio and Video it works.
As far I understod the code in grl-media.c it finds the url key and value (line 563 and after) .
But then it seems not to be appended to the GrlMediaBox box instance.

Any idea what is wrong?

Roland


Hi.

Can you paste the serialized string?

        J.A.


_______________________________________________
grilo-list mailing list
grilo-list gnome org
https://mail.gnome.org/mailman/listinfo/grilo-list



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]