Posts: 5
Joined: Nov 2009
Reputation:
0
couple bugs fixed:
It seems that GetPercentage() is not always called. I'm not sure why. So volume tracking, m_playing bool and OnPlayBackEnded() are now managed in the GetTime() func.
fixed call to SetActiveDevice(m_iActiveDevice);
Posts: 26,215
Joined: Oct 2003
Reputation:
187
Perhaps you could elucidate on the advantages of this over:
1. Using XBMC's built in player.
2. Using foobar2000 as an external player.
One presumes the advantage over 2 is that the interaction between XBMC and the player is much tighter. I'm not sure what the advantage over 1 is though.
Cheers,
Jonathan
Posts: 5
Joined: Nov 2009
Reputation:
0
2009-11-19, 09:05
(This post was last modified: 2009-11-19, 09:08 by Scottgardner.)
It looks like you need to add the files in the FoobarPlayer directory to your project:
Copy PlayerCore*.* .....\xbmc\cores\playercorefactory (looks like you did this)
Copy FoobarPlayer .....\xbmc\cores\FoobarPlayer (you may have already done this)
Add .....\xbmc\cores\FoobarPlayer\FoobarPlayer.cpp and FoobarPlayer.h to XBMC project. (you still need to do this)
Compile...
You also need to run "foo_comserver2-0.7-setup.exe" once to setup Foobar2000 as a Com server. (included in rar at link above)
Scott
Posts: 5
Joined: Nov 2009
Reputation:
0
2009-12-16, 02:19
The patch I supplied does not include changes to the main sln or vcproj files. If it did I would likely break future builds. In fact from this point going forward you should be using svn to merge changes from the repository.
If this patch were made part of the main code base that problem would go away but new problems would/will arise as Foobar2000 changes. Release 1.0 is coming and this patch may not work with it.
If you really want to use this patch you will need to be prepared to make changes to the project and maybe even the source.
So to get this to work you will FIRST have to manually add the supplied FoobarPlayer.cpp and h files to the XBMC project and then build.
It has been tested against the latest source as of 12/12/2009. Anything newer than that and you are on your own.
I MAY post updates if necessary but keep in mind this is open source software and that means you take part of the responsibility in making it work.
Have fun,
Scott
Posts: 40
Joined: Nov 2009
Reputation:
0
Thanks, I will ask to someone who can do that ! ^^
Posts: 47
Joined: Oct 2010
Reputation:
0
2.5 years later ....
Hello guys, I'm very interesting about this integration. Please, can you tell me your advance in this job.
For me, the only problem with the use of foobar on a external player is to play the next song.We must click on OK when the file has ended.
So, ... any news ?