Sofort-Aufnahme erfolgt in Last-Videodir / Videothek-Plugin vs MovieLocationBox

  • Sofort-Aufnahme erfolgt in Last-Videodir


    Wenn man sich in der Liste der Aufnahmen befindet und über Video-Taste die Location-Box öffnet und dort ein anderes Verzeichnis wählt, wird diese Verzeichnis später auch für Sofort-Aufnahmen verwendet.


    D.h. die Aufnahmen, die über die Rote Taste gestartet werden, landen im Pfad des zuletzt gewählten Ordners, aus welchem eine Aufnahme abgespielt wurde. Das kann ja nicht beabsichtigt sein, denn beides hat ja eigentlich nichts miteinander zu tun.


    Videothek-Plugin (siehe IHAD, darf es leider nicht verlinken)
    Auch wenn ich dieses Plugin nicht auf dem Original DMM-Image entwickelt habe, würde sich die Funktion sicher einfach in die Original Firmware integrieren lassen. Im Moment sehe ich, dass im Bereich der Videoverwaltung weiterentwickelt wird, aber der Ansatz über die Location Box ist m.E. nicht wirklich intuitiv und benutzerfreundlich, insbesondere für Familienmitglieder, die sich mit Verzeichnisauswahldialogen nicht auskennen. Ich stelle meine Idee der Umsetzung hier gerne zur Weiterverwendung und Fortentwicklung zur Verfügung. Bitte aber nicht über die technische Umsetzung schimpfen. :winking_face: Es ist möglicherweise nicht schön programmiert, besser konnte ich es nicht, aber es funktioniert und ist intuitiv bedienbar. Anbei mal ein paar Screenshots. Der Menüpunkt "Verzeichnisauswahl aufrufen" ruft übrigens die Location-Box auf, über welche man dann auf Verzeichnisse zugreifen kann, die nicht im Menü auftauchen. Z.B. könnte man die Bookmarks aus der Location-Box gleich als Menüpunkte darstellen.... Die Funktion "Aufnahme verschieben" ist übrigens im Plugin ebenfalls enthalten.


    LG, ecky2

  • Ja ist ziemlich nervig die neue Videodir Variante, ich nutze das Videothek Plugin, weil einfach und inovativ, das wäre schön wenn mann es so ins CVS bekommen könnte, da besser fast nicht geht!

  • Auch ich finde es sehr unpraktisch, dass die Auswahl eines anderen Speicherorts für eine Aufnahme nun gemerkt wird und von da aus weitere Aufnahmen immer dort landen (habe neuestes Boxman-Image, aber Boxman sagt, ich soll mal hier anfragen, er wüßte keine Lösung). Das ist doch echt unpraktisch, wenn man nur mal eine Sendung in einem Spezialordner speichern will. Es sollte also, wie immer, wenn eine Lösung für die Einen gut und für die Anderen schlecht ist, ein Grundeinstellungspunkt gemacht werden, der es erlaubt festzulegen, was prinzipiell der Default-Ordner sein soll (z.B. hdd/movie oder meinetwegen auch ein anderer Ordner) und nur im Timer-Konfigurations-Fenster sollte eine einmalige Auswahl des alternativen Ordners erfolgen (für nur diesen einen Timer! So war es bis zum letzten Image glaube ich). Jetzt muß ich erst einen x-beliebigen Timer wieder auf hdd/movie erstellen, damit alle weiteren Timer, auch die Sofortaufnahmen etc. wieder dort landen, wo sie ja auch hin sollen. Man könnte natürlich auch einen Grundeinstellungspunkt machen, der festlegt, ob der letzte Ordner gemerkt wird oder nicht, was auf's gleiche rauskommt.


    Wäre toll, wenn Ihr da was dran machen könntet, denn einen "Dummy-Timer" zum Rückstellen des Speicherortes ist schon verdammt lästig! Ansonsten danke für Eure tolle Arbeit an den Dreamboxen! Macht echt Spaß damit! :]

    Zwei 7025'er Dreamboxen, je 2 x DVB-S-Tuner, OoZooN-Images, LAN über Devolo dLAN 200 AV mit realen 70 - 100MBit/s, 160 + 500 GB Festplatten, Vernetzung der Boxen via NFS-Server, zum PC via CIFS-Samba, DVR-Studio Pro und DVR-Compress zum Brennen...

  • Das ganze müsste von aholst sein.


    Der letzte Aufnahmeorder wird in "config.movielist.last_timer_videodir" gespeichert.


    Als vorläufiger Workaround müsste es ausreichen, wenn in
    /usr/lib/enigma2/python/Screens/TimerEntry.py
    in Zeile 283+284 "config.movielist.last_timer_videodir.." mit einem # an Anfang auskommentiert wird.



    Mir fallen dafür 2 Lösungen ein.


    1. Unter "Einstellungen - System - Anpassen" das Merken des Aufnahmeordners ein/ausschaltbar machen.


    2. Das automatische Merken des Aufnahmeordners deactivieren und in der Locationbox einen weiteren Menüpunkt hinzufügen mit dem dann der ausgewählte Ordner bei Bedarf gemerkt werden kann.



    Mich stört das ganze noch nicht, da ich z.Zt. kein aktuelles Image auf der Box habe.

    Gruß Ralf

    Two mit SSD, One, 7025-S, 7000-S

  • ralfK wrote:

    Zitat

    Das ganze müsste von aholst sein.


    Yes, I guess that the current solution is by my design: The suggested location in new timers is the same as for the last created timer (or last edited timer if the location was modified), whereas instead the location for instant recordings is the "current" location as shown when pressing "video".


    I agree that the "correct solution" would be to make this configurable, for example by letting the user select whether to use the "default location" (for now always "/hdd/movie", but this should be configurable too), the current location, the last set timer location, or any fixed location of the users choice.


    However, I wanted to get the code out (i.e. my part of this joint project with ritzMo and ralfK) reasonably fast, because it had taken too long already, and if I had embarked on the new task of adding full configurability I would not be able to make it before the end of the summer, after which everything would slow down considerably. So I thought hard about the best solution here that would be make it mostly right for most people.


    The rationale is this: Two basic scenarios for usage of a location specification are that 1) a different location is specified because /hdd is full, or 2) locations are selected as a means to organize movies. The defaults should be reasonable in both those scenarios. When you create a new timer entry, the initial location value is only a "default suggestion" that the user may easily change, so here it is not so critical. Nevertheless I figured that a good guess would be the same location as was used the last time a timer was created or edited. In case the standard location is full, all created timers is likely to have the same new location. If not, then maybe one category of movies is be the most common, and selecting the same as last time will then be correct in most cases. If all categories are equally common, then there is no better way to guess the loaction anyway.


    But for instant recordings, then the user has no way of specifying the location when the recording is started, and the user is probably in a hurry if the movie has just started, so a new dialog box asking for location and stuff is not so convenient. And when the recording is started, how should the user know in which location it ended up after all? The solution is to put the movie in the first place the user will look when searching for it, i.e. the location that will show on the first press of "video". This also gives the means to specify the location if really needed - before starting the recording just change the location as usual with two presses on "video" and select the suitable bookmark.


    So there was a rationale that seemed reasonable at the time - but certainly different people have different preferences, so making this configurable is the best solution. Things may be a little slow now for me however, so if someone feels tempted to start at it, you're welcome...



    But then I get a little confused:


    ecky2 says:

    Zitat

    D.h. die Aufnahmen, die über die Rote Taste gestartet werden, landen im Pfad des zuletzt gewählten Ordners, aus welchem eine Aufnahme abgespielt wurde.

    Yes, this is exactly as I describe it above.


    But then frankd says:

    Zitat

    Auch ich finde es sehr unpraktisch, dass die Auswahl eines anderen Speicherorts für eine Aufnahme nun gemerkt wird und von da aus weitere Aufnahmen immer dort landen.
    ...
    Jetzt muß ich erst einen x-beliebigen Timer wieder auf hdd/movie erstellen, damit alle weiteren Timer, auch die Sofortaufnahmen etc. wieder dort landen, wo sie ja auch hin sollen.

    But this is one of the consequences I wanted to avoid by the solution described above! So what is going on here? I admit that it was a while now, and I have not checked out the most recent CVS, but I don't think it has changed since I touched it. Are you claiming that the last set timer location is used for instant recordings, rather than the current location as selected by "video"*2 ?


    Best Regards
    Anders Holst

  • First: I use subfolders to "categorize" my recordings: Movies, Cartoons (my daugther's), Series (EmergencyRoom , Heroes), Others ....
    For me a "guess" is not possible from the last choices...


    aholst: It is as frank sais: Every change of the location - for example when creating a new timer and recording it to "Cartoons" - Subfolder changes the location, where the next manual recording goes to.


    Especially when using autotimer you never know, which timer recorded last, so you always have to search for your recording.


    I think this is a big, as you do not know this behaviour...


    Regards
    Tode

  • Zitat

    I think this is a bug, as you do not know this behaviour...


    Yes indeed! Then I can understand everyones indignation!


    But it is not the way it behaves here. Which image do you use? Or more specifically (but this is a long shot), has anyone had this in another image than Boxman (which was mentioned by frankd)?


    Check line 1411 (or therearound depending on the version) of InfoBarGenerics.py, it should read:

    Zitat

    recording = RecordTimerEntry(serviceref, begin, end, name, description, eventid, dirname = config.movielist.last_videodir.value)

    The last argument is the location, and it should not be last_timer_videodir.


    When it comes to autotimer, I guess that yet another principle should be used. I have not used it myself yet, but isn't the best solution to specify the location in the same dialog as the autotimer pattern? The movie category is probably known when the pattern is constructed. And the default for that field in the dialog box could then be given by a new variable last_autotimer_videodir.


    Best Regards
    Anders Holst

  • Zitat

    Original von aholst
    Check line 1411 (or therearound depending on the version) of InfoBarGenerics.py, it should read:

    The last argument is the location, and it should not be last_timer_videodir.
    Anders Holst


    And it should also not be config.movielist.last_videodir.value ;).


    There is no relationship between last videodir and next timerdir.
    ecky2

    Einmal editiert, zuletzt von ecky2 ()

  • ecky2 wrote:

    Zitat

    And it should also not be config.movielist.last_videodir.value .
    There is no releation between last videodir and next timerdir.


    Now I'm not sure I understand what you mean.


    The above line relates only to instant recordings. My design, bad or good, was to use last_timer_videodir when creating new timer entries, but last_videodir when starting instant recordings, as I tried to motivate above.


    I certainly agree that with suitable effort it is possible to do much better, i.e. full configuration of the behavior here, but until then I think that my proposed behavior is at least better than the one that has, for unknown reasons (although probably someone who also didn't like the proposed solution and tried to make it better but inadvertently ruined it), appeared in boxmans image.


    Best Regards
    Anders Holst

  • Sorry for my late answer.


    I agree with your idea and the design to release that. But it should really be possible to disable this feature. In my and much other users opinion there is no releationship between last used video directory and instant record directory. Its a little confusing if we view a movie from folder "/movie/horror" and the next instant record is a movie for my childrens in the same directory. I'd prefere a instant record in standard directory "hdd/movie" and to sort this later.


    Best regards, ecky2