UPnp Server enhancement
#1
Lightbulb 
Hi all,

I'm a iOS developer ( but not only iOS Smile ) and I'm making a upnp client to implement a Media Library - Upnp Control Point for iPad.

Since I think XBMC is the best media entertainment software, I would contribute to enhance the xbmc upnp media server to add some extra information to upnp clients (like movie actors, actors pictures, fanart etc).

I've already read the Upnp specifications and in particular I'm interesting adding some extended properties described in Appendix B - AV Working Committee Extended Properties for the ContentDirectory:1 service

or better for Appendix B. AV Working Committee Properties for the ContentDirectory:3 service

I'm wondering if someone can help me on that topic, with some starting points, hints and tips on how to extend xbmc upnp server.

Thanks
Reply
#2
1st thing would be to build xbmc Smile See README.ios for ipad. There are some tricks to building addhoc and you have to remove the codesign run script that does an non-dev codesign hack.
Reply
#3
davilla Wrote:1st thing would be to build xbmc Smile See README.ios for ipad. There are some tricks to building addhoc and you have to remove the codesign run script that does an non-dev codesign hack.

Thanks ... just for be more clear ... I don't want to build my app on top of (or using) xbmc for iOS, but instead use xbmc for Mac/Win/Linux as media server and my iOS App as a sort of library browser and media controller.
For that reason I need to extend xbmc upnp functions (in terms of information sent by upnp server) to better populate library in the iOS App, using the amazing xbmc media scrapers and library management.

So I suppose I should start building xbmc for OSx Smile ...
Reply
#4
So README.osx in that case Smile

Improvements would be most welcome.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.


Image
Reply
#5
Sad 
Ok ... tried but building the first step in README.osx:

Code:
make -C tools/osx/osx-depends

I've got this error

Code:
......

make -C pcre
rm -rf pcre-7.9
tar xf /Users/Shared/xbmc-depends/tarballs/pcre-7.9.tar.gz
echo pcre-7.9 > .gitignore
cd pcre-7.9; ./configure --prefix=/Users/Shared/xbmc-depends/osx-10.4_i386 --host=i386-apple-darwin8 --enable-shared=yes --disable-stack-for-recursion
configure: WARNING: If you wanted to set the --build type, don't use --host.
    If a cross compiler is detected then cross compile mode will be used.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for i386-apple-darwin8-strip... /Developer/usr/bin/strip
checking for i386-apple-darwin8-gcc... /usr/bin/gcc-4.0
checking for C compiler default output file name...
configure: error: in `/Users/fxuser/xbmc/tools/osx/osx-depends/pcre/pcre-7.9':
configure: error: C compiler cannot create executables
See `config.log' for more details.
make[1]: *** [pcre-7.9] Error 77
make: *** [pcre] Error 2


inside the config.log I've found this:

Code:
./configure: line 3003: /usr/bin/gcc-4.0: No such file or directory

but I've gcc.4.2

Code:
ls -la /usr/bin/gcc*
lrwxr-xr-x  1 root  wheel       7 15 Apr 10:18 /usr/bin/gcc -> gcc-4.2
-rwxr-xr-x  1 root  wheel  166128 11 Feb 23:00 /usr/bin/gcc-4.2
Reply
#6
Sad 
created a symlink gcc-4.0 --> gcc then recompiled ...

this error:

Code:
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... /usr/bin/cpp-4.0
configure: error: in `/Users/fxuser/xbmc/tools/osx/osx-depends/pcre/pcre-7.9':
configure: error: C preprocessor "/usr/bin/cpp-4.0" fails sanity check
See `config.log' for more details.
make[1]: *** [pcre-7.9] Error 1
make: *** [pcre] Error 2


.configure.log here: http://pastebin.com/wWiC793z


made another symlink cpp-4.0 --> cpp-4.2

but it fails for missing /Developer/SDKs/MacOSX10.4u.sdk ...

...

Actually I have xcode 4 that doesn't install MacOS 10.4 compatible SDK ...

...

so I've installed also xcode 3 but in a different directory (I need xcode 4).

...

but at this moment it's probably OOT
Reply
#7
Lubbo Wrote:created a symlink gcc-4.0 --> gcc then recompiled ...

this error:

Code:
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... /usr/bin/cpp-4.0
configure: error: in `/Users/fxuser/xbmc/tools/osx/osx-depends/pcre/pcre-7.9':
configure: error: C preprocessor "/usr/bin/cpp-4.0" fails sanity check
See `config.log' for more details.
make[1]: *** [pcre-7.9] Error 1
make: *** [pcre] Error 2


.configure.log here: http://pastebin.com/wWiC793z


made another symlink cpp-4.0 --> cpp-4.2

but it fails for missing /Developer/SDKs/MacOSX10.4u.sdk ...

...

Actually I have xcode 4 that doesn't install MacOS 10.4 compatible SDK ...

...

so I've installed also xcode 3 but in a different directory (I need xcode 4).

...

but at this moment it's probably OOT


Already fixed this problem,? I have the same Sad
Reply
#8
Blieb Wrote:Already fixed this problem,? I have the same Sad

No, nobody help me....
I'm trying to install xcode3 in standard Developer folder and xcode4 in a custom one, but I've never tried yet.

If you have time to try, let me know if it works.
Reply

Logout Mark Read Team Forum Stats Members Help
UPnp Server enhancement0