2012-01-23, 12:00
Cool! It would be great!
MrBasset Wrote:...
Powderking, you seem closer to starting than me, you doing this for a Uni dissertation
Powderking Wrote:Quite. I'm planning on starting this as a semester project hopefully this month.
I have a bit of an idea but the huge XBMC code still scares me...
Quote:This makes the setup of XBMC very easy: Install the squeezebox addon and magically XBMC's music database is already populated. You don't have to mount any samba, nfs or whatever shares.
sdsnyr94 Wrote:Why couldn't you just make it where:
- You open the add-on, the screen changes to a custom layout of your creation.
- The addon registers itself to LMS as being a squeezebox device that is now online.
- You select your music to be played.
- The plugin passes the audio to XBMC's audio player to be output to speakers.
Most XBMC skins now allow you to add favorites to your home menu.... so you could just hide the 'Music' menu and add 'Squeezebox'. This would be very similar to how the 'MythBox' plugin functions. If you did not want to do the first option (create a layout), you could just use XBMC's... the same way some of the other add-on's such as freecable and mlbmc do.
This should prevent you from needing to really get deep into the code of XBMC.
sdsnyr94 Wrote:Maybe I am misunderstanding you, but your quote " Install the squeezebox addon and magically XBMC's music database is already populated" confuses/scares me a touch. If you are looking to go the route of:
- Install add-on
- Enter existing menu option
- look at all your squeezebox files, as now it is communicating using squeezebox's protocol
I think the devs would have an issue with the way that add-on would work, as it sounds as if you are changing a core functionality once the add-on is installed. This could lead to unexpected results, especially with other add-ons.
Powderking Wrote:That sounds great! I'd be happy if I can realise this solution.Happy to help anywhere I can.
Thanks alot for the suggestion
Quote:This was exactly my intention. :o
Maybe in the distant future xbmc will have a very small core and even the music capability is an addon like in mythfrontend which should give some more possibilities...
The xbmc pvr version work a bit like this don't they?
But I see that it won't be easy to do that now
Powderking Wrote:Maybe in the distant future xbmc will have a very small core and even the music capability is an addon like in mythfrontend which should give some more possibilities...
The xbmc pvr version work a bit like this don't they?
But I see that it won't be easy to do that now
Powderking Wrote:Quite. I'm planning on starting this as a semester project hopefully this month.
sdsnyr94 Wrote:Do you have a Mythtv setup? If so, have you tried the mythbox add-on? It may give you an idea for a possible layout, if you want to go that route.
MrBasset Wrote:I think you'll find that that distant future is nearer than you think. The DEVs are in the process of moving functionality out of the core, for example the PVR add-on for Myth is looking to remove the LibMyth (or what ever the library is called, the name escapes me right now), and replace it with an add-on which uses myth's XML api.
MrBasset Wrote:Also the Binary Add-on functionality that is used for the CEC integration gives XBMC the ability to deliver this functionality outside of the core. I suspect that you'd get a lot more support from the DEVs if you look to deliver something like this. You would still get the seamless integration you are looking for, but a key advantage is that you wouldn't be tied into a release of XBMC to do it, not would you need the blessing and approval of the XBMC DEVs to include your code. Additionally you also wouldn't need to familiarise yourself with the guys of XBMC in quite the same way, but instead you'd need to code to the music player APIs much like the ICE streaming plug-ins do.
Still though just me two cents, but I do think that you are heading in the wrong direction if you want to try and add compatibility to the core code.
MrBasset Wrote:Oh, reason I asked this is for you to check out the IP policy for your Uni to make sure it is compatible with XBMC's GPL license. Reason I say is that my final project at Uni was for a company that sponsored my last year. They had to pay my university for the IP rights as the standard policy was that the university owns IP rights on anything the students produce. If your Uni does something similar they might get a little upset with you if you open source code that they think they own. It might be nothing, back when I went to Uni open source didn't exist so they never had to accommodate that kind of thing, but it's not worth loosing your degree over if they choose to punish you that way.