Hi Sparky,
the main problem is that I need the slave mode of MPlayer. In the slave mode of MPlayer I can send commands to mplayer through the input stream of the process, which I need for controlling MPlayer. AFAIK your RARPlayer uses unrar and sends the output from unrar through a pipeline to a mplayer process. If I would call your RARPlayer I would loose the possibility to control MPlayer, which is essential for the integration in MP, because I have no access to the input stream of the process.
I should mention that MPlayer itself can play rar/zip files if they don't have any compression, because it skips the additional rar/zip header. The main problem is that a gapless playback in multi-volume archives is not possible, even if you specify all files of the archive at startup of MPlayer. Also you can't specify a specific file in the archive. This is why I don't add the rar extension to the default configuration files.
I'm planning to release a new test version tomorrow. I would prefer a stable release, but I encountered performance problems during the final tests of the OSD library, which have to be solved before the next stable release will be available. :sorry: Therefor I need more test results from other users to solve the problem.
Regards,
MisterD
The problem is that I currently update the OSD to often (at least every second), even if nothing is displayed. In future releases the osd will only be updated, if anything has changed. This should improve the performance.The Attached ExternalOSDLibrary did it, thank you
Unfortunately it works a little bit slow but i know you will find a solution, I changed to the new xface skin, but same slow result.
You can test and test and test the plugin. Did I already mention that you can test the plugin? Especially different systems are good. I have tested the plugin on three machines here with WindowsXP and it worked with the installer.Tell me, if i can do anything to improve your plugin.
Best regards
ercuem
Your goal can be achieved really easy. E.g. if you search for the rar plugin by Aron (and-81), you can play files from an rar archive with the internal player of MP. I tried to implement something similar myself with a plugin architecture for supporting more different formats, but I never finished it really. I stopped the work on it, because I don't know where MP is going to and I don't want to make such a work twice.Thanks for looking at it misterd, I wouldnt mind helping to acheive this goal (Just installed Visual C# Express so I can begin).
This is what I hope to acheive:
Unrar to a temporary file (or stdin if i can)
Open mplayer in slave mode
Open temporary file
When done delete temporary file
Doing it this way would mean it could support split volume archives, also another way to do it is similar to how XBMC does it, it mounts the rar to a temporary filesystem and then mplayer can handle it like any other file.
I would understand if you arent heavily interested in these ideas as is it beyond the scope of what you originally built this plugin for.