View Full Version : Movie Info during play with End Time also.
realjobe
2007-05-27, 13:09
Hi There.
I'd like to suggest a small feature..
When user is watching a movie, info bar holds all the info from IMDB if queryed.
Infos are like genre, time now, remaining and ofcource running time.
Can there be also time next to "Real Time Now" that is the Real Clock when the movie ends.
like
... 15:30 (16:54)
:)
jmarshall
2007-05-28, 02:57
Kids today with their crappy math skills :(
:p
realjobe
2007-05-28, 12:05
:) Well, I must admit, My math has seen better skills .. :) This feature would be nice to have. It's easy to see the real time when the movies will end. but, if movie is paused or rew/ff, time has to be calculated again. :O
realjobe
2007-06-15, 10:13
Hello There.
have this suggestion got wings to fly? :)
realjobe
2007-07-12, 09:15
Dear Team.
The more I watch movies with mc the more I realize that the RealTimeDisplay when the movie is about to end is really needed feature...
I presume that the implemantation of this could be quite fast and simple, so why not just do it?
Is the infobar's objects configured in XML or must sourceCode be tampered with?
jmarshall
2007-07-12, 11:22
The sourcecode must be tampered with.
See GUIInfoManager.cpp for where the remaining time is returned.
Adding that to the get time function should give you what you want.
I'm sure a patch will be welcome. Sometimes you just have to do it yourself if you really want something.
Cheers,
Jonathan
Gamester17
2007-07-12, 11:32
I presume that the implemantation of this could be quite fast and simple, so why not just do it?Comments like that is going to make the devs even less likely to spend time on your suggestion
From the FAQ (http://www.xboxmediacenter.com/wiki/index.php?title=What_is_XBMC_%26_What_Can_it_Do%3F #When_will_this_and_that_feature_or_function_be_su pported_by_XBMC.3F):QUESTION: When will this and that feature or function be supported by XBMC?
ANSWER: Tomorrow, in a year, never... who knows! XBMC is a non-profit hobby project that is only developed by volunteers in their spare-time for free, none of us get paid to develop new features/functions/formats/codecs for XBMC meaning we foremost prioritize the things we ourselves what to see and use in XBMC. You as an end-user who do not yourself contribute source code patches to the XBMC project have no rights to demand new things to be implemented and get no garantees that some specific thing will be prioritized before something else, you may however suggest/request for things and if you ask nicely then maybe someday a developer might like your idea and implement the thing you asked for. We do appriciate your ideas, opinions and feedback if they are presented in a good way, so it is possible to lobby for something specific, just don't be a jerk about it, arrogant and 'pushy' people will most likely just be ignored (or even banned if they step over the line which we consider to be acceptable). Known that almost all users think their own ideas is the most important, and a very common comment is: "if you only add these features then XBMC will be perfect for me". If you can not accept the possibility that your thing might never make it into XBMC then you just have to bite the bullit and learn how to program C/C++ to be able to code it yourself, (see the "Appendix D: Development Notes (http://www.xboxmediacenter.com/wiki/index.php?title=Appendix_D:_Development_Notes)" section of this manual).
SixOneS4
2007-07-13, 05:31
Please correct me if I'm wrong, but would this not be the correct code? I don't have a dev. environment setup currently so I cannot test any of this, but by looking at the source files it looks like the needed lines would be...
else if (strTest.Equals("player.endtime")) ret = PLAYER_END_TIME;
case PLAYER_END_TIME:
strLabel = GetTime() + GetCurrentPlayTimeRemaining();
break;
jmarshall
2007-07-13, 08:02
Not quite. You're adding strings there, not adding the times.
You can probably add times via the CDateTime class.
realjobe
2007-07-13, 13:23
hmm... sounds kinda intresting quest..
so, what Do I need in order to setup a dev env?
I have .net 2005. :)
jmarshall
2007-07-13, 13:37
Either grab the directx sdk and play with XBMC_PC, or install the necessary SDL/OpenGL libs and play with the linux port.
Using the directx sdk is probably the easiest route. Just crank up the solution in tools/Win32.
realjobe
2007-07-13, 18:39
:nerd: rather than just scrw-around I'd like to buildUp a dev environment fo the sorcecode of the XBMC. I'm a Symbian coder you know for 5 yars now...
maybe I would like to tribute / debug myself a bit this unique piece of app..
So,
- Where the sources,
- IDE is .Net 2005?
- are there ready-to-deploy solutions for IDE?
???
jmarshall
2007-07-14, 01:05
Sources are in SVN.
Solution files are in SVN.
Ideally you'd use visual studio 2003, but XBMC_PC should build in 2005. For Win32 stuff you'll need the directx SDK.
Alternatively, build using the linuxport which requires a Ubuntu Feisty setup (there's a VMWare image on this forum with everything you need - a quick search will bring it up). All build instructions are in SVN. It won't run fantastically within the VM, but it's everything you need in a one stop download.
http://sourceforge.net/projects/xbmc
for the sources etc.
See the online manual for more info on building for linux.
Cheers,
Jonathan
jmarshall
2007-07-22, 13:04
You guys really need to learn to code faster. Try rev 9662 :p
realjobe
2007-07-23, 12:24
You guys really need to learn to code faster. Try rev 9662 :p
:grin: I saw the changeLog for "rev9662 build" and
"Player.FinishTime (which can also use this feature)".
I presume this new method is for this issue I'm raving about? I havn't tested this yet..
If this is the solution for this "problem" I bow deeply and shout "THANK YOU VERY MUCH!"
:)
realjobe
2007-07-23, 17:51
:grin: I saw the changeLog for "rev9662 build" and
"Player.FinishTime (which can also use this feature)".
I presume this new method is for this issue I'm raving about? I havn't tested this yet..
If this is the solution for this "problem" I bow deeply and shout "THANK YOU VERY MUCH!"
:)
Well, the feature is not quite yet implemented, but the function is there? I found DialogVideoInfo.xml and
<control type="label" id="0"<description>play time label</description> tags.. Is this the right place to include the Player.FinishTime?
If this is not, can you tell me what XML is the FullScreen MovieInfo xml?
:)
realjobe
2007-07-23, 18:13
Well, the feature is not quite yet implemented, but the function is there? I found DialogVideoInfo.xml and
<control type="label" id="0"<description>play time label</description> tags.. Is this the right place to include the Player.FinishTime?
If this is not, can you tell me what XML is the FullScreen MovieInfo xml?
:)
I DID IT! I will need confirmation that the XML hack is for real.
Edit & Add:
- open PAL/VideoFullScreen.xml
- Add below "<description>Current System Time label</description>" New controll..
<control type="label" id="1">
<description>The Time when the Video ends.</description>
<width>100</width>
<posx>680</posx>
<posy>30</posy>
<info>Player.FinishTime</info>
<align>right</align>
<textcolor>green</textcolor>
<font>special13</font>
</control>
:)
djdafreund
2007-07-24, 06:33
Yup, it's works. Good job. Now just need a descriptor that says something before like "Ending Time:", and "Current Time:" or something like that.
realjobe
2007-07-30, 10:25
Alright. New XboxMediaCenter SVN rev9771 is out but I can't find on the changelog that this new feature has been implemented in. Had to add my self manually? doesn't bother though.
jmarshall
2007-07-30, 10:57
The function is there, the skin is up to you.
realjobe
2007-08-27, 20:08
who are the skinners that I can contact and ask for integration?
btw, Now that I have this feature and I use it everytime I watch anything on my box, it seems a bit odd that it has not been included yet (rev10100 even).. :)
J_K_M_A_N
2007-08-28, 01:15
I just posted this in another thread if you are interested. Link. (http://xbmc.org/forum/showthread.php?p=147118#post147118) I am looking for a place to post the xml. Let me know if you have any ideas.
J_K_M_A_N