Developing MeD's Movie Manager interface to XBMC - assistance is needed
#46
Gamester17 Wrote:Do you think that XBMC would benifit from using ADOdb (or better yet ADOdb Lite)? Huh
http://en.wikipedia.org/wiki/ADOdb
http://en.wikipedia.org/wiki/ADOdb_Lite

From what I understand that would not only make it simpler for XBMC to change the database backend if needed (if someone for example like to fork XBMC Linux port to use MySQL instead of SQLite), but it should also more importantly enable better direct access for the Web Interface (HTTP API) and Python to the database?

Yes, generalisation is almost always the way to go. Plus I'd imagine that in XBMC Linux that will be something that will be wanted. From a Java standpoint it is no different as ADOdb is a PHP/Python library. JDBC is Java's equivalent library/interface. The transaction support is a major plus.

A JDBC driver for ADOdb would be nice, but may be pointless, I'll look into it...
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#47
I know that this wouldn't be the most graceful solution, but how difficult would it be to make XBMC scrape an XML export from MeD? Couldn't it theoretically scrape the XML for all media items and parse out the appropriate data based on the "Title" field or something similar?

I know this would require an export from MeD and an XBMC resync with each addition, but it seems like it could work... in my head at least.
Reply
#48
Is this project dead?
Reply
#49
Nope!

I've just been very busy!!!

Due to not having enough time to get everything finished off to my liking I'm going to release a beta, it will be very rudimentary and will have almost no UI. It will simply backup the library from one XBox and update it on another. But it will give you something to play with...

I've discarded the idea of using MeD's and will just use the files from XBMC and a Java servlet. So you use XBMC to scrape the IMDB info and then populate it on the other XBox's...

Here's a schedule:

1) Rudimentary App (1-2 weeks, I'm going on Holidays!)
2) Backup and Update App with proper UI (1-2 months)
3) App with Library Viewer (1-2 months+)
4) App with Library Editor (Huh)
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#50
Is the scraping done on XBMC using Python Scripts?

I've recently been using Jython (Python built on Java) quite a bit in work. If the Python script is compatible there's no reason why scraping could not be done via the servlet also. This could give MeD's type functionality to the appHuh

If it is done in Python is the database functionality done in a separate module? It would be nice if it was as I would only have to rewrite this single module in Jython?

This would of course happen quite a bit into the future but holds a lot of promise...
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#51
phunkyfish Wrote:Is the scraping done on XBMC using Python Scripts?
No, it is a own module based on Regular expression (Regex) using XML.

I tried to explain the advantages of it here in my suggestion to MeD:
Use XBMC's XML scrapers for HTTP scraping - RFE:
http://sourceforge.net/forum/message.php?msg_id=4553533
Use XBMC's XML scrapers for HTTP scraping - Forum discussion:
http://sourceforge.net/tracker/index.php...tid=569698

You can download the XML scraper examples here (IMDb.xml is the best one to use as a reference):
http://xbmc.svn.sourceforge.net/viewvc/x...ers/video/

More about the scraper function in XBMC can be found in out wiki:
http://wiki.xbmc.org/?title=Scraper
http://wiki.xbmc.org/?title=How_To_Write...o_Scrapers
http://wiki.xbmc.org/?title=Scrap (scrap.exe to test scapers under Windows for development)
http://wiki.xbmc.org/?title=How_To_use_Scrapers
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.
Reply
#52
Cool, OK, I'll port across to Java in the future. Let's see can we get a decent servlet up and running first...
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#53
NOOO, i dont want to see my brain child bastardized by java Tongue (almost j/k Wink)
Reply
#54
Why not, everything else has at this pointHuh It's inevitableLaugh
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#55
1) dont take me seriously.

2) i absolutely loath java. it's a horrible language, it's fostering an army of horrible cut'n'paste "coders", its slow bloated and so on. you've heard it all before. but see 1)
Reply
#56
You might be surprised to hear I agree with you, at least the army of cut and pasters part anyway (an army of sub standard programmers might be more apt?), the slow, bloated part maybe not.

I think Java has it's place, the standards based specifications and frameworks mean that software is more extendible, scalable and interoperable, that, combined with the platform independence is where it shines.

I was a C++ programmer for many years (and Java before that in my youth) before switching over to Java completely. For web development, data structure and algorithm analysis I think it beats C++. Java's good for some stuff, C++ for others...

To be honest I like them both, but I've made the move to Java and that is probably where I'll stay...

At the risk of this thread becoming a Battle Royale between Java and C++, I'll stop Wink
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply
#57
yeh, sub standard is what i was aiming at. and i also agree, java has its place. just like python has its place. yet, both are horribly misused for just about everything from high performance computing (sigh!) to games etc.and java with its enormous runtime library is obviously a great tool if wielded by someone who knows what he's on about. personally i hate the overly verbose syntax / naming practices. and i will always feel confined when i have to run in a vritual machine, if i want to be nasty to my memory let me damn it. ah well, i'll stop here. my original intent was just to drop a pun so mission accomplished Wink
Reply
#58
Was just curious if this thread died on the vine, or if the functionality is in a latest release...? I'm setting up my first xbmc/xbox this week and have plans to add at least 1 more soon after...
Reply
#59
aztecnology Wrote:Was just curious if this thread died on the vine, or if the functionality is in a latest release...?
It died, no release. Instead see: http://forum.xbmc.org/tags.php?tag=media+manager
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.
Reply
#60
Hi guys,

Sorry about there being no release. I got the opportunity to go travelling a year and a half ago and took it. Proud to say I managed to spend only a couple of hours online in all that time.

Switched on my old laptop tonight and in comes this message!

I still have the app I wrote somewhere I'm sure. Has someone come up with a solution in the meantime or might my stuff still be useful?

Now, if I can only remember how to write code Wink

I can barely type, well out of practice...

Let me know,

P.
Maintainer of Enigma2 PVR addon: repo, docschangelog
How to create a full debug: here
Reply

Logout Mark Read Team Forum Stats Members Help
Developing MeD's Movie Manager interface to XBMC - assistance is needed1