Plex Media Center

  • Downloads
  • Mobile
    • iOS
    • Android
  • Support
    • Forums
    • Wiki
  • Dev Center
  • Contact Us
  • News
    • Blog
    • Press Releases
  • Labs

Working on Python and VFS

March 21st, 2008 | Category: Coding | Author: lamnina

Why so quiet lately? I’ve been working on a tool that processing Mach-O shared libraries and remaps symbols, so that libraries that we load inside OSXBMC call our own versions of some functions. This is needed in order to make paths and virtual file system behavior work (e.g. so that ImageLib can be told to open “smb://…..”).

Having this working will not only allow scripts to work (with correct paths, especially), but will also fix a number of problems people have reported like “Thumbnails don’t work over SMB shares”. At least, that’s the theory.

mach5.png

I’ve gotten things near working to the point where the resulting libraries appear to be valid, and hooked functions are getting called, but now I’m running into some other issues. If you’d like to take a peek at the code for the Mach-O processor, it’s here.

8 comments

8 Comments so far

  1. bmfrosty March 21st, 2008 8:50 am

    Excellent news. Day by day this is getting to where it can replace all the functions of my xbox installation.

  2. macdim March 21st, 2008 10:42 am

    Was browsing an SMB drive and when I selected a Video_TS folder, I got a crash. Here is the log…

    http://pastie.caboo.se/168851

    Thanks

  3. macdim March 21st, 2008 10:43 am

    ^^ Er… wrong blog post, sorry.

  4. fpoil March 21st, 2008 1:35 pm

    that would be great to have python script working… yessss

  5. niad March 21st, 2008 9:35 pm

    Awesome, this will take this app. to a higher level. I watch full tv shows via scripts so i have really missed that option. Thanks in advance. Used OSXBMC last night watching movies with some friends, worked like a charm.

  6. Jakob Metzger March 22nd, 2008 7:40 am

    Awesome, there are only 3 features I feel are missing anymore.

    -Python
    -Web Server
    -Auto Turn off(Ticket #109 on http://www.dn-0.com)

    Be able to use scripts is going to open up a new wave of ideas and cool shit we can do with our Mini’s. Im a remote control freak so being able to access XBMC’s webserver it a huge plus for me but I understand not all the other people need the webserver as bad as some of the other features.

    btw, elan I thought you said you were going to try and fix ticket #109? Maybe ver. 0.1.8?

    Link for ticket —>http://dn-0.com/xbmc-trac/ticket/109
    Link for thread on ticket 109 —->http://xbmc.org/forum/showpost.php?p=174547&postcount=8

  7. tofuhero March 22nd, 2008 10:16 am

    Go Ruby! ;)

    I would love to see more Mac-ish features in this version of XBMC, such as support for iTunes servers including Playlists. That was always one of the problems for me in using XBMC on a Xbox within a Mac environment. iTunes does a much better job of quickly finding music when you have thousands of tracks and hundreds of artists. Better searching and playlists would go a long way.

  8. elan March 22nd, 2008 10:41 am

    Updated the script to fix some bugs.

    @tofuhero: Agreed, integration with iTunes is high on our list of wants.

    @Jakob Metzger: Those three are definitely on the roadmap.

Leave a reply

Support Plex

Mmmmm...Beer!

Archives

  • December 2011
  • November 2011
  • October 2011
  • July 2011
  • May 2011
  • April 2011
  • March 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • September 2010
  • August 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009
  • August 2009
  • July 2009
  • June 2009
  • May 2009
  • April 2009
  • March 2009
  • February 2009
  • January 2009
  • December 2008
  • November 2008
  • October 2008
  • September 2008
  • August 2008
  • July 2008
  • June 2008
  • May 2008
  • April 2008
  • March 2008
  • February 2008
  • January 2008

Categories

  • Coding
  • Developers
  • Holy Cow
  • Metadata
  • myPlex
  • Performance
  • Plug-ins
  • Release
  • Status
  • Survey
  • Tips
  • Uncategorized
  • Wow

Meta

  • RSS
  • Log in
  • Valid XHTML
  • XFN
  • WordPress
PLEX
Download
Wiki
Forums
Blog
Credits