![]() |
![]() OCAU News - Wiki - QuickLinks - Pix - Sponsors |
|
|
#856 | ||
|
Member
Join Date: Apr 2005
Posts: 1,724
|
Quote:
what ARE you trying to do with the protocol? why do you need to touch it at all? are the perl bindings insufficient for you? can't you use the (existing) perl/php libs that are part of mythweb? i've found the myth folks more than happy to accept changes/constributions. you just open a ticket, attach your diff & someone applies it. i've got multiple code commits into myth this way. Quote:
given noone gets paid for this stuff, i am not surprised the doc might be lacking. you get what you pay for. |
||
|
|
|
| Join OCAU to remove this ad! |
|
|
#857 | ||
|
Member
Join Date: Dec 2002
Location: Townsville
Posts: 9,102
|
Quote:
Quote:
I'm sorry if I sound like I don't appreciate the work of the myth developers, I certainly do. They've developed a fantastic piece of software that for the most part works. I guess I've been privileged enough to generally work on software projects that are strictly documented and professional in nature. I'm also a big believer in documentation - some people even say it's more important than the code itself - and I personally feel that it's a fundamental part of software development.
__________________
Successful trades: eyusuf, andy8, stuartl, michaeliam, theDarkHorse, bob |
||
|
|
|
|
|
#858 |
|
Member
Join Date: Jun 2002
Location: Brisbane
Posts: 1,596
|
What exactly is mythweb lacking?
There was a complaint earlier that it's slow? I don't find that at all. It's very quick for me, and does everything I could want it to. I am still to investigate streaming, but the ability to view the guide, set a recording schedule, view the status of the backend and adjust some (limited) settings from anywhere in the world is perfect! Calls for a complete rewrite seem a bit extreme.
__________________
Wealthy industrialist, philanthropist, and uh, bicyclist...
|
|
|
|
|
|
#859 |
|
Member
Join Date: Dec 2002
Location: Townsville
Posts: 9,102
|
Well I'm not calling for anyone else to re-write it, I'm instead looking at writing a similar thing myself instead. After all, like ltd73 stated, they did it for free, can't exactly expect them to do anything as such.
__________________
Successful trades: eyusuf, andy8, stuartl, michaeliam, theDarkHorse, bob |
|
|
|
|
|
#860 |
|
Member
Join Date: Jun 2002
Location: Brisbane
Posts: 1,596
|
And the reason for doing so is.....?
__________________
Wealthy industrialist, philanthropist, and uh, bicyclist...
|
|
|
|
|
|
#861 |
|
Member
Join Date: Dec 2002
Location: Townsville
Posts: 9,102
|
I initially wanted to make improvements and fix some bugs. But the code is difficult to follow (i.e. not an overly neat overall structure), and had bugs that seemed to be introduced due not to silly typos/mistakes, but fundamental design decisions.
My main problem with the myth project though is the protocol. The Myth team do know this is a problem though, they've stated it on the wiki. The mythweb project doesn't provide a very good level of abstraction from the protocol either though, which I think needs to be addressed in a system that is likely to have a long lifetime.
__________________
Successful trades: eyusuf, andy8, stuartl, michaeliam, theDarkHorse, bob |
|
|
|
|
|
#862 | |
|
Member
Join Date: Apr 2005
Posts: 1,724
|
i run svn top-of-tree mythtv, the mythweb there is light years ahead of what was/is in 0.21.
like you i don't get phreeky82's issues... Quote:
Last edited by ltd73; 9th September 2008 at 10:06 PM. |
|
|
|
|
|
|
#863 |
|
Member
Join Date: Dec 2002
Location: Townsville
Posts: 9,102
|
What do you mean by "binary"? It's mostly UTF8 string command based. It has no support for growth with future versions while remaining backward compatible at all. There is very little documentation, and a lot of the existing documentation is dated and/or wrong. Like I stated earlier, even the myth site indicates they believe it needs to be replaced.
edit: bit more info FYI... The backend protocol also doesn't actually provide access to a heap of information, and therefore requires both a connection to the backend (typically port 6543, command based like stated above), and also direct access to the mysql database (usual mysql access method). The backend protocol provides no method of authentication (no actual security). An example of data you don't appear to be able to get via the backend protocol is program listings - by "don't appear", I mean there is no info on it, I'm yet to actually look through the backend source to check if it's possible.
__________________
Successful trades: eyusuf, andy8, stuartl, michaeliam, theDarkHorse, bob Last edited by phreeky82; 9th September 2008 at 10:44 PM. |
|
|
|
|
|
#864 |
|
Member
Join Date: Nov 2002
Posts: 453
|
I'm currently building a multi-purpose box and looking at running MythTV on Slackware 12.
Can anyone recommend me the best way to partition a 640GB hard drive? |
|
|
|
|
|
#865 | |||||
|
Member
Join Date: Apr 2005
Posts: 1,724
|
Quote:
Quote:
there are a variety of external progs that can operate across multiple protocol versions based on capabilities of each version. Quote:
what problem is it solving? Quote:
Quote:
you dismissed them as being useless already earlier. its easy to be part of the peanut gallery and throw rocks. but without providing an ALTERNATIVE CODE those folks that have contributed are more than entitled to refuse to listen to whining folks. |
|||||
|
|
|
|
|
#866 | |||||||
|
Member
Join Date: Dec 2002
Location: Townsville
Posts: 9,102
|
Quote:
Quote:
A high level protocol certainly should be able to include feature expansion whilst remaining backward compatible, without even needing to specifically code for previous versions in most cases. The control socket connection isn't exactly bandwidth hungry, so while I accept that the data transfers need to be nice and lean, the control protocol could easily include a bit more complexity. Quote:
Quote:
Quote:
Quote:
Quote:
__________________
Successful trades: eyusuf, andy8, stuartl, michaeliam, theDarkHorse, bob |
|||||||
|
|
|
|
|
#867 |
|
Member
Join Date: Dec 2002
Location: Townsville
Posts: 9,102
|
No real progress, been busy
Got a new job ![]() However, I have come across a strange issue. Not sure if it's behaviour by design, a bug, or there's an option that is set be default causing this. Running 0.21, frontend (backend on a separate machine), if the recording folder as set in the BACKEND (i.e. /myrecordings) also exists in the FRONTEND machine itself (i.e. /myrecordings), live playback fails with an "error was encountered while displaying video". FYI, my actual situation is that my backend recording folder is /mnt/big/mythtv/recordings, and I have that shared via samba and mount it to that same folder on my frontend, as it's my "big" drive that I want to access from anywhere. My solution of mounting it to /mnt/server/big/ instead of /mnt/big on the frontend does work. Quite odd, but easily worked around, couldn't find anything about it via google.
__________________
Successful trades: eyusuf, andy8, stuartl, michaeliam, theDarkHorse, bob |
|
|
|
|
|
#868 |
|
Member
Join Date: Jul 2001
Posts: 740
|
just a question re what would be the better processor for a myth frontend / backend;
i'm looking at either a 2ghz quad core or a 2.5ghz dual core, how multithreaded is myth and which one would be the better option?
__________________
"Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." - Brian W. Kernighan |
|
|
|
|
|
#869 | |
|
Member
Join Date: Apr 2005
Posts: 1,724
|
Quote:
it prefers the former - and likely the frontend 'sees' the file so tries to open it. likely due to how shares with oplocks are done in SMB that the open ends up trying to open the file for exclusive use - and fails... you could strace it & see. there is a setting somewhere to set the preference. |
|
|
|
|
|
|
#870 |
|
Member
Join Date: Apr 2007
Location: Adelaide
Posts: 3,438
|
If you are using it as a dedicated HTPC (which I believe you should) then you can go with the dual core. I have an E2160 which is a 1.8 dual core and that can handle myth no problem at all.
__________________
|
|
|
|
![]() |
| Bookmarks |
| Tags |
| htpc, mythtv |
|
Sign up for a free OCAU account and this ad will go away! |
| Thread Tools | |
|
|