Search results

  1. mnmr

    Homepage Userbridge Forum/Homepage disabled

    I'm not able to log in on the home page. Is that a separate account I need to create or is my forum account supposed to work there also?
  2. mnmr

    Homepage Userbridge Forum/Homepage disabled

    It doesn't seem to work for me. I can log in on the forum page, but when I navigate to the wiki page it shows the login box in the top corner (and editing functionality is of course also not available)..
  3. mnmr

    [WiP] Repair & Update Unit Tests

    I would recommend that you take a look at NSubstitute before settling on Moq. It has superior syntax (much more readable) and you can find many articles on Google from people explaining how to migrate from Moq to NSubstitute. One example here (shows a few examples side-by-side for the two...
  4. mnmr

    WebEpg development

    I'm afraid I don't know anything about the code or what you're trying to achieve, and without context it's hard to give concrete advice. But it sounds like there are multiple consumers of the file format you are producing, so before introducing breaking changes you should consider whether these...
  5. mnmr

    WebEpg development

    The parsing question is really rather simple: the feed provider will have some sort of documentation on the content of the feed, and you will most likely need to support a variety of formats. If you parse a date string and it doesn't include TZ info, then you need to have that from somewhere...
  6. mnmr

    WebEpg development

    Good points with DST. My vote goes to UTC also.
  7. mnmr

    WebEpg development

    I'll second that, although it might still make sense to store local times in the database (it'll save a lot of unnecessary conversions, as the clock is also in local time - easier for both tv-engine and ui). The important thing is to have a convention and sticking to it.
  8. mnmr

    WebEpg development

    Overall, I'm with Tony on this one, but do have a few remarks: Working with a DateTime without knowing the associated time zone is much like reading a text file without knowing the encoding (you could get garbage or you could get the correct data, but you wouldn't know which one it was)...
  9. mnmr

    Cannot add network share

    You could also open a command prompt and type "net view" to have windows enumerate the machines it can find. If it doesnt see it, MP wont either.
  10. mnmr

    Cannot add network share

    I can add that I didn't have any issues finding my NAS (a Synology DS-1813), so it sounds more like a firewall issue or perhaps network browsing has been disabled on the NAS. The device you see in Other Devices is probably the built-in media server on the NAS. The samba (windows file sharing)...
  11. mnmr

    [fixed] Error parsing HTTP headers

    That looks great. I think the extensions class should be moved to a separate file and made public, since it's kind of a generic utility method rather than something internal to the HttpMessage. The byte[] optimization we can return to if performance is an issue :)
  12. mnmr

    Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)!

    That is a good point, and worth considering before anybody makes any changes. However, as MP cannot predict what channels you'll be recording, it seems reasonable that it would show worst-case scenarios (i.e. calculated disk usage based on that). If you then watch a channel that takes less...
  13. mnmr

    [fixed] Error parsing HTTP headers

    The error is in the unit test code: string fullRequest = string.Join(delimiter, requestHeaders.ToArray()); This inserts the delimiter between items, not after each item. Thus, to have the header end with two delimiters you need an extra "" item in the headers list. Alternatively you could...
  14. mnmr

    Durchgäniges Schauen aufeinander folgender Aufnahmen möglich?

    Wenn die sendungen auf dem gleichen kanal gesendet werden sollte MP das selbst ausrechnen können (aber natürlich muss jemand die logik dafür schreiben)..
  15. mnmr

    MP 1.6 installation and setup report

    I've spent quite a bit of time over the recent weeks to try out different HTPC solutions, and thought I'd share my thoughts on the process - especially since I'm pretty happy with the result ;-) I bought one of the new Intel NUC's and a HDHomeRun-4DC tuner and installed Windows 8.1 (64-bit) and...
  16. mnmr

    [fixed] Error parsing HTTP headers

    That is only true in theory - in the current code base they always pass a MemoryStream. I asked my good friend, Dr. ReSharper ;), to investigate, and it appears that all calls to the SimpleHttpMessage.Parse method happens from the two places you mention (SSDP and GENA classes). Both of these...
  17. mnmr

    [fixed] Error parsing HTTP headers

    Okay, so did a few quick experiments and was able to bring the runtime for 10k runs down to around 360ms (the original code used about 430ms on my machine), so it's only slightly faster. These are the modified bits: internal void ParseHeaderAndBody( Stream stream, out string...
  18. mnmr

    Suggestion for USB/PCI-E DVB-C tuner?

    MP supports the tuner, so if it's on the same network as the TvServer it just shows up like any old USB tuner would..
  19. mnmr

    [fixed] Error parsing HTTP headers

    Ok, great - I'll see what I can come up with!
  20. mnmr

    Suggestion for USB/PCI-E DVB-C tuner?

    XBMC needs a PVR backend, such as MP or TvHeadend, as it doesn't work directly with tuners. To bypass the HTPC and use the tuner directly you need a media player with DLNA support.
  21. mnmr

    Suggestion for USB/PCI-E DVB-C tuner?

    I just completed a setup of MP 1.6 with a HDHomeRun-4DC and had no problems at all getting it to work (on the i5 NUC). It is connected over the network and also has a built-in DLNA server, which allows iOS devices to stream directly from it.
  22. mnmr

    [fixed] Error parsing HTTP headers

    That looks more like what I'd have expected.. If you'd like, I could still take a look at the other optimization, but since I'm not familiar with the code it'll be much easier if I have some existing unit tests to throw at any changes I make. In any case, I really doubt this is a performance...
  23. mnmr

    Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)!

    That'd work, although the labels should probably not be based on technical knowledge - something like "space saver", "default", "space waster" would be more appropriate. That is a common choice, and the upside is that it keeps things relatively simple. The downside is that it's not entirely...
  24. mnmr

    How to: use DD Octopus Net in MP

    What does your tool consume as input? And is it available for download somewhere? That looks like it should just be built-in.. I fact, I think it may already be in TVE 3.5 (I vaguely recall seeing the x_pmt parameter somewhere), though I could be wrong. Someone else will know ;) It won't be...
  25. mnmr

    [fixed] Error parsing HTTP headers

    If it's slower then it is doing something different (performance of string operations in .NET vary wildly). Try using StringComparer.OrdinalIgnoreCase instead. I wasn't really writing the code with performance in mind. The LINQ methods Take/Skip/ToArray are not performance friendly (but very...
  26. mnmr

    How to: use DD Octopus Net in MP

    I ended up buying a HDHomeRun and now have MP 1.6 up and running with that. MP 1.x includes a working transponder file for YouSee, so I think I have what I need. I'd still like a full Sat>IP .m3u with all the channels individually (i.e. with all the extra info tags to specify logo, channel...
  27. mnmr

    Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)!

    The tool already does this (it shows estimated HD/SD recording times). The formula is the same, you simply swap which variable the user enters.
  28. mnmr

    Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)!

    Most thing are obvious, once you know the answer. But most people don't even have the terminology required for understanding that screen, and even if they do, they want to install an HTPC and not pass a minor math exam in the process. Anyway, this is purely my opinion on the matter. I believe...
  29. mnmr

    [fixed] Error parsing HTTP headers

    I agree, that is probably wisest. I would suggest to improve the error message though - perhaps by including the source of the offending packet, so that it's possible for people to disconnect or block whatever device is causing the problem. It would also be useful with code to throttle logging...
  30. mnmr

    [fixed] Error parsing HTTP headers

    The second ToUpperInvariant seems to be rendundant (line 73): index = index.ToUpperInvariant(); return _headers.ContainsKey(index) ? _headers[index.ToUpperInvariant()] : null; In fact, both the indexer and the two ContainsHeader and SetHeader methods could be simplified if the dictionary was...
  31. mnmr

    [fixed] Error parsing HTTP headers

    This snippet (line 186-187) seems like it could be the root cause of the log errors I am seeing: if (index == -1) throw new InvalidDataException("Invalid HTTP header line '{0}'", line); I'm not sure what the spec says on the matter, but if it doesn't cause other errors to go...
  32. mnmr

    Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)!

    Great, let's see what we can come up with. And thanks for the lengthy write-up! I think I understand how it works at this point, but still have a few questions before we get to solutions. First you say this: But then later you note that: Why does sharing (TsReader can access the file being...
  33. mnmr

    [fixed] Error parsing HTTP headers

    I am also seeing a server crash. Logs attached.
  34. mnmr

    Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)!

    I am going to take another swing at the timeshifting options in TvSetup ;) I have tried, but still fail to grasp what these settings do. I'd like to think that I'm not particularly stupid and I'm certainly fairly tech-savvy, which makes me think that these options are inexplicable to most...
  35. mnmr

    Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)!

    Thanks again, I'll go with AC3filter - sounds like it'll fix one of my major gripes with the Sonos gear! (y)
  36. mnmr

    [fixed] Error parsing HTTP headers

    Fair enough, those are reasonable arguments for building your own.
  37. mnmr

    [fixed] Error parsing HTTP headers

    Or maybe just by using HttpListener, which would use the HTTP request parsing built-in to .NET ;) Although CRLF is the line termination sequence defined by the RFC, the spec does recommend also allowing for just LF (source). The throw statement in the above would always execute (unless the...
  38. mnmr

    Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)!

    So what you are saying is that this is a permissions issue? I think the UNC shares I'm trying to use might actually only be read-only to public users, so that could explain it. I'll need to see if I can set permissions on a subfolder on the NAS, since I'd prefer not to give everyone full r/w...
  39. mnmr

    Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)!

    I don't think that this is firewall related, since it is receiving the packet - it just cannot parse the contents of it. Besides, both client and server run on the same machine, and firewall's are typically smart enough to allow such things. FWIW I'm using Norton Internet Security (2014). My...
  40. mnmr

    Testbuilds for Native MP2 TV - Updated for 10th AE Update 1 (2014-09-13)!

    I've tried again, and TvSetup does not remember the recording/timeshift folders unless they are on a local drive. It does indeed allow you to browse and select an UNC path, but just like the mapped network drives, it does not save the setting. A small improvement would also be to make the...
Top Bottom