Rygel - Can't get examples working
- From: Samuel CUELLA <samuel cuella supinfo com>
- To: <rygel-list gnome org>
- Subject: Rygel - Can't get examples working
- Date: Sun, 15 Jan 2017 10:15:59 +0100
Hi list,
I'd like to play around with rygel. I can add files as items, but I
can't get them to work with a player(they show up but don't play). I
can't even get the samples to work, same issue.
Only the MediaExport server plugin seems to work.
server-plugins/C/example-root-container.c to use files that exists are
are readable on my machine, with no luck.
I've also tried to run standalone-server example in the same directory
that's exported with MediaExport, and I get the same (bad) result: files
show up, but won't play.
I'm using 0.30.3.
The MediaExport plugin works fine however.
Steps to reproduce:
-Modify examples/server-plugins/C/example-root-container.c to use
existing files
-Enable ExampleServerPluginC
-Try to play items from Kodi.
I'm testing with Kodi. Here are the logs:
With ExampleServerPluginC (failure):
09:49:48 T:2960758592 DEBUG: CAnnouncementManager - Announcement:
OnAdd from xbmc
09:49:48 T:2960758592 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc,
message OnAdd
09:49:48 T:2960758592 DEBUG: CAnnouncementManager - Announcement:
OnAdd from xbmc
09:49:48 T:2960758592 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc,
message OnAdd
09:49:48 T:2960758592 ERROR: Playlist Player: skipping unplayable
item: 0, path [upnp://0647190d-f8de-458c-8fbe-14c1df3f5226/1234/]
09:49:48 T:2960758592 ERROR: Playlist Player: skipping unplayable
item: 1, path [upnp://0647190d-f8de-458c-8fbe-14c1df3f5226/5678/]
09:49:48 T:2960758592 DEBUG: Playlist Player: no more playable
items... aborting playback
09:49:50 T:2960758592 DEBUG: SECTION:UnloadDelayed(DLL:
special://xbmcbin/system/ImageLib-i486-linux.so)
09:49:50 T:2960758592 DEBUG: Unloading: /ImageLib-i486-linux.so
09:49:50 T:2960758592 INFO: CheckIdle - Closing session to
http://192.168.1.5 (easy=0xafc41478, multi=0xafc8e9e8)
With examples/standalone-server (failure):
09:45:52 T:2960553792 DEBUG: OnPlayMedia
upnp://5da37018-804e-4c57-bda6-4019c3830603/000000/
09:45:52 T:2960553792 DEBUG: CAnnouncementManager - Announcement:
OnClear from xbmc
09:45:52 T:2960553792 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc,
message OnClear
09:45:52 T:2960553792 DEBUG: GetMovieId
(upnp://5da37018-804e-4c57-bda6-4019c3830603/000000/), query = select
idMovie from movie join files on files.idFile=movie.idFile where
files.idPath=-1
09:45:52 T:2960553792 DEBUG: CAnnouncementManager - Announcement:
OnAdd from xbmc
09:45:52 T:2960553792 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc,
message OnAdd
09:45:52 T:2960553792 ERROR: Playlist Player: skipping unplayable
item: 0, path [upnp://5da37018-804e-4c57-bda6-4019c3830603/000000/]
09:45:52 T:2960553792 DEBUG: Playlist Player: no more playable
items... aborting playback
With the MediaExport plugin, which works(success):
09:51:30 T:2960758592 DEBUG: OnPlayMedia
upnp://79228435-d0f1-4266-8d2b-1416bbbeed2f/virtual-id%3a7fc70ba12a00b01a687b858dd95fcf09%3af0e610b1d29e526965a46c471a5b3aca/
09:51:30 T:2960758592 DEBUG: GetMovieId
(upnp://79228435-d0f1-4266-8d2b-1416bbbeed2f/virtual-id%3a7fc70ba12a00b01a687b858dd95fcf09%3af0e610b1d29e526965a46c471a5b3aca/),
query = select idMovie from movie join files on
files.idFile=movie.idFile where files.idPath=-1
09:51:30 T:2960758592 DEBUG: CAnnouncementManager - Announcement:
OnAdd from xbmc
09:51:30 T:2960758592 DEBUG: GOT ANNOUNCEMENT, type: 2, from xbmc,
message OnAdd
09:51:30 T:2960758592 DEBUG: CUPnPDirectory::GetResource - resource
protocol info 'http-get:*:video/x-msvideo:DLNA.ORG_OP=01'
09:51:30 T:2960758592 DEBUG: Loading settings for
http://192.168.1.5:39729/MediaExport/i/dmlydHVhbC1pZDo3ZmM3MGJhMTJhMDBiMDFhNjg3Yjg1OGRkOTVmY2YwOTpmMGU2MTBiMWQyOWU1MjY5NjVhNDZjNDcxYTViM2FjYQ%3D%3D/res/primary_http.avi
09:51:30 T:2960758592 DEBUG:
CPlayerCoreFactory::GetPlayers(http://192.168.1.5:39729/MediaExport/i/dmlydHVhbC1pZDo3ZmM3MGJhMTJhMDBiMDFhNjg3Yjg1OGRkOTVmY2YwOTpmMGU2MTBiMWQyOWU1MjY5NjVhNDZjNDcxYTViM2FjYQ%3D%3D/res/primary_http.avi)
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: system rules
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers: matches
rule: system rules
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: rtv
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: hdhomerun/myth/mms/udp
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: lastfm/shout
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: rtmp
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: rtsp
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: streams
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers: matches
rule: streams
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: aacp/sdp
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: mp2
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: dvd
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: dvdimage
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: sdp/asf
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: nsv
09:51:30 T:2960758592 DEBUG: CPlayerSelectionRule::GetPlayers:
considering rule: radio
09:51:30 T:2960758592 DEBUG: CPlayerCoreFactory::GetPlayers: matched 0
rules with players
09:51:30 T:2960758592 DEBUG: CPlayerCoreFactory::GetPlayers: adding
videodefaultplayer (1)
09:51:30 T:2960758592 DEBUG: CPlayerCoreFactory::GetPlayers: for
video=1, audio=0
09:51:30 T:2960758592 DEBUG: CPlayerCoreFactory::GetPlayers: for
video=1, audio=1
09:51:30 T:2960758592 DEBUG: CPlayerCoreFactory::GetPlayers: adding
player: DVDPlayer (1)
09:51:30 T:2960758592 DEBUG: CPlayerCoreFactory::GetPlayers: added 1
players
09:51:30 T:2960758592 NOTICE: DVDPlayer: Opening:
http://192.168.1.5:39729/MediaExport/i/dmlydHVhbC1pZDo3ZmM3MGJhMTJhMDBiMDFhNjg3Yjg1OGRkOTVmY2YwOTpmMGU2MTBiMWQyOWU1MjY5NjVhNDZjNDcxYTViM2FjYQ%3D%3D/res/primary_http.avi
thanks
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]