2009-07-28, 12:36
I'm interested in doing some coding for XBMC. While my motives are somewhat selfish (I want some features added ) , who knows where it will take me. As far as my experience/skills set, well all my experience is with Windows development. I've been coding for a very long time in C++ and C#. If anyone wants more details just PM me.
Anyways, I followed the Wiki and got the source through SVN. I know the Wiki can become outdated, so let me know if I'm missing anything. I'm using Visual Studio 2008 Pro. I also have DirectX SDK (Summer 2004) installed. Everything compiles, runs and debugs fine. The only issue I saw was just a lot of warnings. Let me know if that's normal for you guys or if there is something else I need to do.
I guess now I just need to be pointed in the right direction. I'm looking at tackling the video progress bar to allow the mouse to jump to specific points in the video file. Based on some of the code that I saw and what would be required, the progress bar would obviously have to be displayed. I see that sometimes its not. So I guess I need to know if that is controlled by xbmc or the skin. I would also need to be able to know the location/boundary box of the progress bar. Is that even available? If not, how bad are the changes for that?
I kept digging around and found GUIWindowOSD which handles the OSD and saw how it handles the mouse click which triggers the pause action. I modified it to pass a new action I created and in the application OnAction I added the code to handle this new action. To quickly test it I simply checked the CanSeek method in the player interface and then called SeekPercentage with an amount. Amazingly enough it worked the first time So now I guess it's a question of doing it correctly. I implemented the OnMouse method in the SeekBar dialog and disabled the pause in the OSD. How do I get the mouse events enabled in the SeekBar? Also, how do I get the location/area of the progress bar to check the clicked area and calculate the percentage of where to seek to.
Anyways, I followed the Wiki and got the source through SVN. I know the Wiki can become outdated, so let me know if I'm missing anything. I'm using Visual Studio 2008 Pro. I also have DirectX SDK (Summer 2004) installed. Everything compiles, runs and debugs fine. The only issue I saw was just a lot of warnings. Let me know if that's normal for you guys or if there is something else I need to do.
I guess now I just need to be pointed in the right direction. I'm looking at tackling the video progress bar to allow the mouse to jump to specific points in the video file. Based on some of the code that I saw and what would be required, the progress bar would obviously have to be displayed. I see that sometimes its not. So I guess I need to know if that is controlled by xbmc or the skin. I would also need to be able to know the location/boundary box of the progress bar. Is that even available? If not, how bad are the changes for that?
I kept digging around and found GUIWindowOSD which handles the OSD and saw how it handles the mouse click which triggers the pause action. I modified it to pass a new action I created and in the application OnAction I added the code to handle this new action. To quickly test it I simply checked the CanSeek method in the player interface and then called SeekPercentage with an amount. Amazingly enough it worked the first time So now I guess it's a question of doing it correctly. I implemented the OnMouse method in the SeekBar dialog and disabled the pause in the OSD. How do I get the mouse events enabled in the SeekBar? Also, how do I get the location/area of the progress bar to check the clicked area and calculate the percentage of where to seek to.