bugGMediaRender - Bugs: bug #21488, various Problems, does not...

 
 

bug #21488: various Problems, does not compile, 'No URI handler'

Submitter:  Knut Lorenzen <lork>
Submitted:  Wed 31 Oct 2007 03:25:36 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Need Info
Privacy:  Public Assigned to:  soggie
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Sun 08 Aug 2010 04:41:15 PM UTC, comment #6: 

Great that there is someone developing a MediaRenderer! But my Debian machine wont make the gmediarenderer 0.0.6. It stops with the folling error:
make[2]: Entering directory `/home/s100/gmediarender-0.0.6/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I..  -pthread -I/usr/include/gstreamer-0.10 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libxml2   -I/usr/include/upnp -DPKG_DATADIR=\"/usr/local/share/gmediarender\"   -Wall -Wpointer-arith -Wcast-align -Wmissing-prototypes -Wmissing-declarations -MT upnp_transport.o -MD -MP -MF ".deps/upnp_transport.Tpo" -c -o upnp_transport.o upnp_transport.c; \
        then mv -f ".deps/upnp_transport.Tpo" ".deps/upnp_transport.Po"; else rm -f ".deps/upnp_transport.Tpo"; exit 1; fi
upnp_transport.c: In function ‘notify_lastchange’:
upnp_transport.c:565: error: dereferencing pointer to incomplete type
upnp_transport.c:566: error: dereferencing pointer to incomplete type
upnp_transport.c: In function ‘change_var’:
upnp_transport.c:590: warning: implicit declaration of function ‘strdup’
upnp_transport.c:590: warning: incompatible implicit declaration of built-in function ‘strdup’
make[2]: * [upnp_transport.o] Fehler 1
make[2]: Leaving directory `/home/s100/gmediarender-0.0.6/src'
make[1]: * [all-recursive] Fehler 1
make[1]: Leaving directory `/home/s100/gmediarender-0.0.6'
make: * [all] Fehler 2

Am I missing something?

Anonymous
Fri 09 Nov 2007 02:10:37 PM UTC, comment #5: 

It's working, thank you very much.

Not very well though. With Cidero and Mediatomb, it only plays 10 seconds and then crashes.

Things like seeking and pause/resume also don't work, I suppose that's because they are not implemented yet?

Knut Lorenzen <lork>
Tue 06 Nov 2007 08:36:06 AM UTC, comment #4: 

Could you try again with gmediarender-0.0.5 ?

Note that you will need libupnp-1.6.0 and gstreamer-0.10 now.

Ivo.

Ivo Clarysse <soggie>
Group administrator
Fri 02 Nov 2007 11:56:29 AM UTC, comment #3: 

a new day, a new error ;)

Ok, I forgot to install some plugins for gstreamer-0.8. But this time, I get no error, it just won't play. Here's what it has to say:

set_avtransport_uri LEAVE
Action was a success!
play: ENTER
obtain_instanceid: InstanceID='0'
Event: '<Event xmlns = "urn:schemas-upnp-org:metadata-1-0/AVT/"><InstanceID val="0"><TransportState val="PLAYING"/></InstanceID></Event>'
play: LEAVE
Action was a success!
get_position_info: ENTER
obtain_instanceid: InstanceID='0'
Action was a success!
get_transport_info: ENTER

Knut Lorenzen <lork>
Fri 02 Nov 2007 07:59:44 AM UTC, comment #2: 

Maybe there is no MP3 handler installed in your GStreamer setup.
Try playing an OGG file, does that work ?



Anonymous
Thu 01 Nov 2007 12:17:39 PM UTC, comment #1: 

I don't know why, but I was working with an outdated version. Mea culpa.

The problem with 'no URI handler' persists in 0.0.4 however.

Knut Lorenzen <lork>
Wed 31 Oct 2007 03:25:36 PM UTC, original submission:  

Hello,

I've had some problems compiling gemediarenderer-0.0.2:
- upnp.h
<upnp/ithread.h> was not included
- webserver.c 173
function min() was not defined. So I did it myself.
- webserver.c
at static int webserver_seek(UpnpWebFileHandle, long, int ) the second arg needs to be a 'off_t' instead of 'long'

I'm using Ubuntu Linux 7.04 with gstreamer-0.8, libupnp-1.6.0, mediatomb-0.10.0 and cidero-1.57. When I try to play a file (mp3) I get this message on the console:

play: ENTER
obtain_instanceid: InstanceID='0'
FEHLER: Von Element /play: No URI handler implemented for "http://192.168.101.128:49152/content/media/object_id=400&res_id=0&ext=.mp3"
upnp_set_error: Playing failed
play: LEAVE

Knut Lorenzen <lork>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by soggie (Posted a comment)
  • -email is unavailable- added by lork (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2007-11-06 soggie StatusNone Need Info
        Assigned toNone soggie

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code