Beiträge von aholst

    Zitat

    Ist damit zu rechnen, daß der "irgendwer" aus Beitrag 9 mit seiner
    etwas schöneren Form in absehbarer Zeit fertig wird, damit der
    recordpath patch evtl ins git kommt?

    I believe that Ritzmo referred to me, since I mentioned to him that I was trying to do this. Yes, it is in the debug phase now, and hopefully I will submit it to enigma2-devel within one or two weeks. What I have done is this:


    * I have started from ralfK's patch, and made it even more configurable, so now you can choose between fixed paths, or the "automatic" selection of location which was used before. (The automatic selection is also restored to its intended behaviour, since this had been somewhat eroded by other enigma2 changes making it even more incomprehensible...)


    * I have added a "default path" setting, which replaces the hardwired /media/hdd/ as default location and fallback when other locations fail.


    * I have tried to make it suitably conditional on the "expert level": I suggest that the default path and the timeshift path be configurable in other setup levels, but the others only in expert level. (If this doesn't pass, I will have to back of course.)


    So, please have patience just a little more...


    Best Regards
    Anders Holst

    Just when you thought that the bugs I introduced with my recent modifications of the webinterface were going to wear off, I have added a new bunch of large changes :winking_face:


    In short:

    • The channel selection in timers is rewritten: The radio buttons for TV/Radio are removed, since they took a lot of space and didn't work well (in WAP they didn't work at all, and otherwise they treated Radio unfairly). Instead the channel menu contains lines for all TV and Radio bouquets, and one can be expanded at a time by selecting it.
    • There is a navigation sidebar for the movie list, where the movie location and a tag filter can be selected. The tags of movies are shown in the movielist.
    • Various small fixes, like more compatibility fixes in case some external device uses the WAP interface, using a list instead of a string to transfer directory names (should fix the problem with spaces in directory names), and fixing some strange effects with repeated timers.

    I have prepared the asbestos shield and am awaiting your reactions :smiling_face:


    Best Regards
    Anders Holst

    trancenergy wrote:

    Zitat

    when im tryin to select a chan for recording, the bouquets category just doesnt open, it remains selected and thats how it goes.

    Yes, I just noticed this morning (and wondered how it could have gone unnoticed for so long)! A large piece of code related to channel selection has accidentally been removed. I will fix it tonight.


    Best Regards
    Anders Holst

    Maxl wrote:

    Zitat

    hope you went back to the "old" Webif command and not change the WAP
    interface - else controlR, and TV-Browser will still not work

    No. I actually changed the WAP interface to the new one, so now everything should be consistent.


    However, it seems that the TV-Browser uses the "normal" interface (not WAP), and there I added a backward compatibility fix so it can be called with both the old and the new parameters. If there are external programs using the WAP interface I will of course have to add the compatibility fix there too.


    Regarding controlR, I can't see what it has to do with timers at all? Does it still fail?


    But please tell me if I'm wrong above, because this web stuff is really not my thing - I'm just trying to get the recent locations and tags changes consistently added throughout Enigma2, and then I will silently leave the webif field again.


    Best Regards
    Anders Holst

    Hello maxl,


    A lot of things has changed related to timers, and if it doesn't work its probably my fault, and not Reichi's.


    I have no easy way to test the WAP interface and ControlR. Could you please describe the problems in more detail, and any code or devices outside of Enigma2 that is involved?


    Best Regards
    Anders Holst

    I promised to tell you the progress with making MovieCut work for HD movies on DM800 and DM8000. I have now a preliminary version that works on DM800 and DM8000 for both HD-movies and normal SD-movies. It still produces some flickering at the cut points though, I have not yet been able to remove this. Also, normal SD-movies cut with this version will show flickering at the cut points when played back on a DM7025, so if you start using this version you may like to keep your DM7025 and DM800/8000 movies separated...


    I would have preferred to produce a version that works on both DM7025 and DM800/8000, could handle both SD and HD, and produce no flickering at all when played back on either, but this is rather tricky (although it should not be impossible). So since this may take considerable time, and there have been some requests for a HD-capable version, I release this preliminary version now.


    Its only the binary that has changed, and I distribute only that one, in the attached tar archive. You need to unpack it on the box in the directory where the mcut binary resides (either /usr/bin/ or /usr/lib/enigma2/python/Plugins/Extensions/MovieCut/bin/ depending on where you got the MovieCut plugin from), and rename it from mcut-dm800 to mcut. (It is a good idea to first rename the original mcut to mcut.orig.)


    I hope this will help.


    Best Regards
    Anders Holst


    Edit: Note that this binary is obsoleted now by version 1.3 of MovieCut posted below. It remains here just for those running older Enigma2 versions than required by MovieCut-1.3.

    Several small fixes checked in now (packaged for download later during the night I guess).
    The extra-spaces-in-tags should be fixed, and hopefully the tvbrowser should work again.


    Best Regards
    Anders Holst

    LazyT,


    what you say makes sense:

    Zitat

    I mean the /web/timeraddbyeventid function which is used by dreamstream
    to add a timer. This function doesn't support location & tag like
    the other timer functions (only sRef,eventid,justplay).


    Would be nice to add the missing "dirname,tags" to this function too.

    I'll see what I can do, but I have to think about how, to make sure I don't break the existing interface.


    Best Regards
    Anders Holst

    Thanks eagle and tnemec, got it!


    The error appears when there is no /etc/enigma2/movietags file (supposed to contain the tags to fill the tag menu in the dialog with). There is a simple fix, that I will commit tomorrow together with some other small things. If there are no tags defined the menu will be empty, but it should not crash.


    (Well, if you cant wait, jast change line 320 of timer.js to:

    Code
    addTimerEditFormArray.tagsList = (typeof(result.getStateText()) != 'undefined' ? result.getStateText().split(" ") : []);

    )


    Best Regards
    Anders Holst

    Zitat

    die TS Dateien werden gar nicht geschnitten.

    Well, it is correct that the CutListEditor only lets you place the cut marks, without changing the .ts file.
    But:
    1) With the MovieCut plugin you can actually remove the parts from the .ts file as well (currently only works for non-HD movies though, but I am working on it).
    2) When burning DVDs (as far as I understand, because I don't burn much myself) there is no need to remove it from the original .ts file, since they are removed anyway in the processing for the DVD.


    Best Regards
    Anders Holst

    LazyT:
    Although your problem description was somewhat vague, I have yesterday found and corrected three glitches:
    * When selecting "add timer and edit" from the epg list, some fields had strange initial values.
    * Again, when selecting "add timer and edit" from the epg list, the timer couldn't be saved.
    * When selecting "add timer" from the egp list, the location was always set to /hdd/movie even if this directory is nonexistent.
    Hopefully some of these fixes also removed your problem.


    tnemec and eagle:
    Like OoZooN I am unable to confirm your troubles. Two hints: First, make sure you have restarted your browser since the new plugin was loaded - somehow it caches the javascript code which may confuse things. Second, once this is done, try to find a javascript error console in the browser (under firefox its under Tools - Error Console, for other browsers I don't know), and watch any output there when you press the button that seems to lack effect. This usually gives useful clues. (Ignore the warnings which are plenty, but report the errors directly by email to me, and I will see what I can do.)


    Best Regards
    Anders Holst

    You can also do it directly on the box: In the LocationBox dialogue (the one you get to for example by pressing "video" twice), if you go to the filelist and browse to the directory in which you want the new directory and then press "menu", you will find the alternative "create directory".


    Best Regards
    Anders Holst

    Hello DecimaMAS and diablo7878,


    Together your bug reports make sense: It seems that there is a bug in the new eConsoleAppContainer code which swallows the first argument after the program name. I will report this bug.


    Until it is fixed, you can apply this temporary fix to MovieCut/plugin.py (which adds an extra dummy argument in the position that is removed by the bug). Please remember to remove the fix once the real bug is fixed. (MovieCut should complain with a "Bad arguments" message again when this happens, so it should be "safe", but just don't complain to me when that happens... :smiling_face:



    Best Regards
    Anders Holst

    Zitat

    or just go the safe way and use a single argument which contains the whole command


    (Note that the command contains one or more filenames, which usually contains spaces and may also contain several other strange characters with special meanings to the shell. To quote all such special characters the right way and concatenate all arguments into a string that can be correctly parsed and split up again in separate arguments by sh, seems to me like a painful and risky detour. I'm very happy that the possibility to supply several arguments instead of just one concatenated string was put back again after its one week removal. Unfortunate though that the format changed.)


    Anders

    Yes, it seems that someone has played with the interface to eConsoleAppContainer, the class used to spawn processes in python. Without having the possibility to test it right now (I have an older version), I would also suggest something along ritzMo's solution.


    However, the difference between ritzMo's two versions was a star before self.queue[0][1] on line 236:

    Zitat

    self.container.execute(*self.queue[0][1])


    ritzMo claims this version with the star would not have worked, but it is the one of the two versions I would believe most in.


    Please test it, both with and without star, and report back, and I will be update the plugin accordingly.


    Best Regards
    Anders Holst

    This is the story (from my perspective) :


    On the DMM keyboard there are a few function keys that return the same ascii codes as legitimate ascii keys. One of them (the most often used one) is Mute which generates 0x35 = the ascii code of '5'. Whoever blocked it probably didn't think of that it would block '5' as well.


    I do not know about 0x7E, I have not found the key generating it.


    The fix to this bug has the adverse effect that now pressing Mute on the keyboard in a text editing context, both inserts a "5", and then deletes forward which is the function Mute is bound to. Mute on the remote control works without problems though. And there is no need to press Mute on the keyboard for deleting, since there are both a Delete and Backspace key readily available on the keyboard. Not being able to write '5' at all is therefore a far more serious problem than Mute generating a spurious '5'.


    I think that tmbinc wanted to make a more principled solution involving the driver instead. (I guess it means to prevent the driver from generating ascii codes at all for function keys.) However, any solution in the driver would also require the blocking of the key 0x35 to be removed, as in the fix. By applying the fix now, the keyboard will be fully functional immediately, and tmbinc can think of the principal solution in due time.


    So thanks for applying it!


    Best Regards
    Anders Holst

    parachutesj wrote:

    Zitat

    Something changed recently... In earlier releases (prior to 09/0cool when the movie was ended and the option "yes, and back to movie list" selected, the movie was stopped and user was back in list. Now, the movie runs in background and user is back in list.


    This was the case for a while, but (as far as I understand from the CVS patches) it was fixed again on september 27:th.


    Best Regards
    Anders Holst