XBMC Community Forum  

Go Back   XBMC Community Forum > Development > XBMC Development

XBMC Development Developers forums for XBMC related development. Programmers/Coders only!
No end-user support, no bug reports, and no feature/function requests here!
Please, add platform prefix for suggestions that are not platform-independent!:
Thread prefixes; "[LINUX]", "[LIVE]", "[MAC]", "[WINDOWS]", and "[XBOX]"

Reply
 
Thread Tools Search this Thread Display Modes
Old 2004-02-22, 01:30   #1
damien7579
Junior Member
 
Join Date: Feb 2004
Posts: 8
damien7579 is on a distinguished road
Default

hello developers,

this is my first post, tho i have been lurking around the scene for a wee while - so hello everyone i am a big xbox/xbmc fan and user.

i am in the process of porting the latest unrar source code (see http://www.rarlab.com/rar/unrarsrc-3.3.6.tar.gz). the license seems quite relaxed and couldnt see a problem with porting it as a lib...

my main goal is to add support for rar/zip browsing in xbmc with the ability to auto extract a file when selected to a local folder on the xbox hdd which will then be opened as per normal. the unrar lib can also be used to extract subs which is a current todo feature.

before i get to into this, is anyone else already working on something like this and if not and it proves to be a useful addition, how should i submit my efforts in the xbmc cvs tree?

feedback, ideas/advice and so on would be greatly appreciated.

/damien
damien7579 is offline   Reply With Quote
Old 2004-02-22, 02:33   #2
thebeast
Senior Member
 
Join Date: Oct 2003
Location: EU, Denmark, Copenhagen
Posts: 194
thebeast is on a distinguished road
Default

try messaging, for one, butcher. also see this thread http://www.xboxmediaplayer.de/cgi-bin....29;st=0
thebeast is offline   Reply With Quote
Old 2004-02-22, 14:41   #3
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Exclamation

Quote:
Originally Posted by (damien7579 @ feb. 21 2004,23:30)
feedback, ideas/advice and so on would be greatly appreciated.
i think the major hurdle to overcome will be on-the-fly parsing so xbmc don't have to extract the whole file(s) to harddrive or memory first to read the uncompressed file, but instead being able to extract parcial data from exampel rared vobsubs or other archives. i'm not a programmer myself so i don't know how that is possible to do but complex tools does it and we got this source code (link) from them, noone on the xbmc team has yet had time to look at it so be great it you give it a go.
__________________
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.
Gamester17 is offline   Reply With Quote
Old 2004-02-22, 16:20   #4
damien7579
Junior Member
 
Join Date: Feb 2004
Posts: 8
damien7579 is on a distinguished road
Default

thanks for the replies thebeast and gamester17. i will look at the complex rar code and see what can be done.
in respect to partial extraction - it is possible to extract from a rar to memory but depending on the rar settings, some files
will require all the compressed data before them to be decompressed so that the stream can be read - so even if this is all done in temp memory it could be slow - but as long as the files are small this should not be a problem - which is fine for most rar'd subs.

regards,

/damien
damien7579 is offline   Reply With Quote
Old 2004-02-23, 18:52   #5
damien7579
Junior Member
 
Join Date: Feb 2004
Posts: 8
damien7579 is on a distinguished road
Default

the complex unrar source is based on an oldish distro of the rarlabs unrar source code - but the changes required to port to the xbox are pretty small so i have continued working on the current unrar release. since this is my first attempt at xbox development i have quickly come to realise how important it is to be able to do real time debugging - so tonights exercise is to convert my retail box to a debug dev one before continuing. so wish me luck... muhahahahahaaaaaaaa.



/damien
damien7579 is offline   Reply With Quote
Old 2004-02-24, 11:51   #6
Frodo
Team MediaPortal
 
Join Date: Sep 2003
Posts: 509
Frodo is on a distinguished road
Default

sounds good
you're gonna make ppl happy with this:-)
frodo
__________________
XBMC Project Founder (Retired), now head programmer of MediaPortal
Frodo is offline   Reply With Quote
Old 2004-02-25, 17:05   #7
damien7579
Junior Member
 
Join Date: Feb 2004
Posts: 8
damien7579 is on a distinguished road
Default

frodo: yeah i noticed all the posting's for rar support.

in repsect to rar browsing, how difficult would it be to to add support to the smb/local directory classes to allow a rar file to be navigated ? i have yet to look to deep into that but i cant seeing it being a major issue...

anyhoo, thanks for the support

/damien
damien7579 is offline   Reply With Quote
Old 2004-02-25, 18:47   #8
erpi99
Senior Member
 
Join Date: Dec 2003
Posts: 137
erpi99 is on a distinguished road
Default

can you make the unrar also avaible for extracting files into xbox hard drive? it will be very convenient for the upgrade of xbmc. it takes much less time to ftp one tar file into xbox and untar the file in the xbox then ftp thousands of files untared in pc to the xbox.
erpi99 is offline   Reply With Quote
Old 2004-02-25, 20:34   #9
damien7579
Junior Member
 
Join Date: Feb 2004
Posts: 8
damien7579 is on a distinguished road
Default

the unrar source only supports rars (obviously but is there also need for zip support or even other formats?
damien7579 is offline   Reply With Quote
Old 2004-02-25, 22:37   #10
Gamester17
Team-XBMC Project Manager
 
Gamester17's Avatar
 
Join Date: Sep 2003
Location: Sweden
Posts: 10,582
Gamester17 will become famous soon enough
Exclamation

Quote:
Originally Posted by (damien7579 @ feb. 25 2004,18:34)
is there also need for zip support or even other formats?
i think butcher said he would look into porting zlib (for unzipping) to xbmc, but not sure how fully he plans to implement it
__________________
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.
Gamester17 is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
linux ccxstream unrar broken hardc0r3 XBMC for Xbox Specific Support 7 2006-03-13 14:46
Unrar in Python kennelbound Plugin/Script (Python) Development 7 2005-11-29 01:32
G-Force vis-plugin porting to XBMC, need help plz questor/fused XBMC Development 24 2004-04-15 16:21
Unrar thurgood XBMC Feature Suggestions 0 1970-01-01 02:00


All times are GMT +2. The time now is 04:51.


Protected by Akismet, We recommend WordPress blogs
Copyright © 2008, XBMC Project