Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - tschak909

Pages: 1 ... 4 5 [6] 7 8 ... 367
76
Developers / Re: MPD integration
« on: January 12, 2014, 08:43:34 pm »
You need to do some serious study of the media plugin, and of the Xine Plugin and Player, as this is the most feature complete media player we have, which uses ALL of the functionality of the system.

You're overthinking things, this is what happens when you try to think things through without actually digging your hands into the code. stop it.

the Media Plugin concerns itself with instances of MediaStream. Which is merely a container for a given instance of media throughout the house. Right now, the media handlers look for media devices in an entertainment area (in the DeviceTemplate_MediaType table), and then cross reference this with a vector that is populated when the different media plugins run their ::Register() methods. The two ends meet, and the relevant media plugin's CreateMediaStream is called, which, in the end, will take the subclassed media stream (e.g. MPDMediaStream), and return it back to the Media Plugin.

Once this is done, StartMedia is called, which does all the logic to figure out WHERE a stream needs to go. You're given a LOT of data in the MediaStream object (look in src/Media_Plugin/MediaStream.h), and you use this to cross reference with the device tree, to figure out ultimately where things need to go, either ending in a CMD_Play_Media() call, or a CMD_Start_Streaming() call for sending to multiple destinations.

These individual calls are merely declarative control, you're not actually sending the streams down these DCE calls, you're just coordinating signalling to the target media player as need be. Your Player's job, is to either EMBED mpd, or to control it, depending on the approach.

The Media Plugin does a _LOT_ of abstraction for you, including figuring out whether the media stream needs to be bifurcated or not (if you're sending an audio stream to a couple of media directors running Xine, a couple of squeezeboxes, and a couple of MPD endpoints, then THREE separate media streams will be created, the media streams themselves will not talk to each other.)

The Squeezebox support, for example, relies on a Slim Server Streamer, that runs on the core, and talks to the CLI interface that Logitech Media Server exposes for integration. The Squeezeboxes themselves are children of the Slim Server Streamer, and their configuration script merely sets the Controlled Via to be the Slim Server Streamer on the core. The Entertainment areas for each device are set appropriately, and are placed in their appropriate rooms.

So, what you need to figure out now, is whether to either (on the core)
(1) embed the mpd libraries and call them from C++ (spawn thread, etc.)
(2) talk to mpd over a socket to your player.

then, you need to figure the same out for the media directors.

-Thom

77
Developers / Re: MPD integration
« on: January 12, 2014, 07:28:26 pm »
Any new features go into the development trunk, which right now is 12.04, full stop. 10.04 will not receive any new features, and you shouldn't develop any new features on it.

Since this is a media plugin and player pair, you'll need to develop these in C++, full stop. No, don't argue. You'll have to, because the media plugins need to have access to class pointers of the other plugins in the router memory space to do infrastructure work.

-Thom

78
Users / Re: MythTV .25 in 12.04
« on: January 11, 2014, 04:07:58 am »
Sorry for the lag in responses, I'm doing some major late night work for AT&T...and i'm knee deep in sheet.

I see some big red flags in that output, namely that you are not running the NVIDIA drivers.

1. You need to talk to l3top asafp, to amend the detection code so that the correct drivers are chosen.
2. You need to set the accelleration to vdpau, using Web admin > Wizard > Media Directors, finding the appropriate media director, and selecting vdpau under Video Accelleration.

-Thom

79
Users / Re: MythTV .25 in 12.04
« on: January 11, 2014, 02:03:55 am »
You must do the screen commands as root, as all the screen sessions, run as root.

What video hardware are you using ?

-Thom

80
Users / Re: MythTV .25 in 12.04
« on: January 10, 2014, 06:14:12 am »
you may want to look at Xine_Player's screen session to see if anything interesting shows up:

Code: [Select]
screen -ls

find Xine_Player's pid, then

Code: [Select]
screen -r XXXXX

be sure to hit control-a d to exit without killing Xine Player.

You can also hit control-a ] to enable back scroll. esc exits.

-Thom

81
Developers / Re: DNS inconsistencies, input sought.
« on: January 09, 2014, 04:16:44 pm »
Thanks so much, for working on this!

I would guess compartmentalization, but feel free to dig around to see where these scripts are called, and why. If it can be simplified, by all means, throw in a patch and we can test.

(The reason I put such emphasis on studying what is already there, is to understand the intended feature set, and to avoid regressions while simplifying or refactoring code.)

-Thom

82
Users / Re: MythTV .25 in 12.04
« on: January 07, 2014, 05:04:19 pm »
Scheduling in MythTV should be fine, I am guessing the MythTV Plugin still thinks it needs to manage capture devices. You may want to go to

Go To Web Admin
Go to Advanced > Configure > Devices
Find the MythTV Plugin device, underneath your CORE and DCERouter.
Scroll to the device data at the bottom.
Check "Don't Auto Configure"
Save
Reload router.

If this persists, we'll go further.

-Thom

83
Developers / Re: MPD integration
« on: January 07, 2014, 04:41:00 pm »
Have you made a device in C++ yet? I would do that, before making anything else, so you can understand the API that we have fully. Why are you avoiding this?

-Thom

84
Users / Re: Best Approach to Controlling a Network Device
« on: January 07, 2014, 01:26:47 am »
I'll be able to look at it soon, sorry, I've been consumed with needing to take care of work, and a wife/daughter...It has to be something _really_ simple.

-Thom

85
Users / Re: [SOLVED] GSD problem
« on: January 07, 2014, 12:21:19 am »
I'm glad this was resolved.

And, thanks, from all of us. It's been a definite challenge moving entirely to a community supported development model, as many of us have lives, and can't spend 8 hours a day coding on this thing (although some of us have tried!), this puts a smile on my face.

-Thom

86
Developers / Re: MPD integration
« on: January 07, 2014, 12:12:36 am »
Go for it. My general plan is to integrate squeezeserver/squeezeslave for audio playback, as it is very adept at audio synchronization (needed for proper multi-zone audio playback), but this system is modular, you can drop in support for whatever you feel like.

I do know you tried to do a JAVA implementation of DCE, but perhaps you should try using the C++ tools, to see what's there first?

-Thom

87
Actually, no.. LinuxMCE uses very little of KDE, itself.

The core code, is roughly 4 million lines of our own C++ code, not counting the 12 or so projects that we incorporate upstream:

http://svn.linuxmce.org/svn/trunk/

It doesn't matter whether I "own" it or not, I am merely one of the contributors to the code base, these days, of which, the above linked codebase is one of three known forks to exist:

* Ours (LinuxMCE)
* Dianemo (Convergent Home Technology)
* Schneider-Electric, has a variant made for the KNX market, and purchased the commercial code outright from Pluto after its insolvency, but as of yet, has not made a shipping product with it.

Why are you being so hostile? You still haven't even answered my initial question.

-Thom

88
You missed my point. Not surprising, given your lack of proper punctuation, and/or sentence structure.

As I said, as of 2008, LinuxMCE became wholly a community open source project, when the company that started this project, Pluto, became insolvent. The remaining licensee of the technology, Fiire, closed their doors, a few months before Pluto did, this is the hardware you refer to, it never had a chance to even prove itself in the marketplace.

My point was, you complain about the quality of help here, this can only change if you help change it. However, given the way you respond, and the fact that you've only done a handful of posts, I don't see this happening.

The irony is, you never even directly answered my question.

-Thom

89
I appreciate your commentary on the state of LinuxMCE, allow me to reply:

LinuxMCE is, as of 2008, a community open source project. There is no company driving its direction, nor is any one person dictating its direction or behaviour.

We don't even have enough people to warrant any form of management, which people seem to volunteer for in droves.

I have used LinuxMCE for many years, as well (since 2006), and I am utilizing virtually every part of the system, sans telecom in my house. (I am using telecom, but I am also actively trying to get it back to feature parity), which brings me to my next point:

Because this code base is so large, and there are so few people working on it, things break, and we fix them as we get around to them. Would you like this situation to change? CONTRIBUTE! You'll find the majority of my posts that people say "attack" one or another, revolve around the lack of contribution, and the over abundance of complaint from _very_ vocal users who seem to have nothing else to do, but criticise the hard work of myself and others.

So you help, you say? Fantastic, dig in, and try to solve problems for others here, and help document things, this community only survives because of its users, because it and the code, is all we have.

Also, you've used LMCE for years? Where are your wiki posts? or your forum posts, for that matter, helping others?

-Thom

90
What does ls -l tell you as to who owns that file?

-Thom

Pages: 1 ... 4 5 [6] 7 8 ... 367