Jump to content


Photo

Dreambox - Movielist.py?


  • Please log in to reply
17 replies to this topic

#1 xPafx

  • Member
  • 13 posts

0
Neutral

Posted 20 November 2020 - 17:10

I can see that OpenPLI has stopped creating images for Dreambox some time ago, and as far as I can see this was a statement because OpenPLI doesn't agree with Dreambox not supporting open source anymore. I totally agree with this statement, but unfortunately I still keep using Dreambox, simply because I believe it's the best receiver, and I also still want to use OpenPLI, which without doubt has been the best image I've been able to find. So I keep using and old version, which for the most part works fine. Now, there is one point I can't quite understand with this argumentation. In my previous Dreambox images I was able to make little changes by altering the py-files, which contained the source code, and this was then compiled to pyc-files when the Dreambox started. But even in my old OpenPLI 7.2 image, which works just fine on my Dreambox 8000, I cannot find any py-files, which seems rather strange as OpenPLI pronounces its support of open source.

 

My problem with this is that I would really like to be able to alter the program in use when listing and playing recordings. I'm not sure what that program is called, but it's the one opening when pressing the PVR-button, so my guess is the Movielist.py/pyc? In the latest couple of OpenPLI versions, the Move command has been replaced with a Copy command. And I really miss being able to move movies from one location to another, while Copy is pretty much useless to me. I think I should be able to change this myself, if I could only get hold of the correct py-file.

 

Anyone who has a copy of an old Movielist.py (or the correct one, if I've guessed the name wrong)?



Re: Dreambox - Movielist.py? #2 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 20 November 2020 - 17:16

No, it has nothing to do with "not agreeing with", it has to do with "no support from DMM anymore".  We won't create images we can not properly support, and for that we require access to and support from driver developers.

 

As to python source, we split those off since virtually nobody needs them, and it keeps the image smaller. Any ipk package containing python also has a "-src" package ( for example "enigma2-src" ) that contains the source code.

 

Also, all our source can be found online: https://github.com/openpli/


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Dreambox - Movielist.py? #3 Persian Prince

  • Senior Member
  • 1,982 posts

+247
Excellent

Posted 20 November 2020 - 17:56

simply because I believe it's the best receiver

The good thing about parallel universe is everything is possible :)


Open Vision sources: https://github.com/OpenVisionE2


Re: Dreambox - Movielist.py? #4 mrvica

  • Senior Member
  • 1,260 posts

+86
Good

Posted 20 November 2020 - 18:53

only dreambox core is closed source, not the python code

https://github.com/o...ts/MovieList.py

https://github.com/o...vieSelection.py



Re: Dreambox - Movielist.py? #5 littlesat

  • PLi® Core member
  • 57,183 posts

+699
Excellent

Posted 20 November 2020 - 19:39

opkg install enigma2-src installs the py files (when there is sufficiant space left in the limited flash of the dmm8000)

WaveFrontier 28.2E | 23.5E | 19.2E | 16E | 13E | 10/9E | 7E | 5E | 1W | 4/5W | 15W


Re: Dreambox - Movielist.py? #6 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 20 November 2020 - 19:43

only dreambox core is closed source, not the python code

https://github.com/o...ts/MovieList.py

https://github.com/o...vieSelection.py

 

Which means you have to pull the drivers out, and then try to reverse engineer them.

 

And then litter our code with "if dreambox then", because they've been doing things differently, on purpose, for many years. Even when they were still open source, simply to frustrate other image builders.

 

As we're not in the business of providing DMM with additional sales, if they don't want to play ball, so won't we...


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Dreambox - Movielist.py? #7 mimisiku

  • Senior Member
  • 5,518 posts

+115
Excellent

Posted 21 November 2020 - 11:51

Even for the most famous Linux box it's curtains someday....... The inevitable faith of all consumer electronics.... The DM8000 has served me well over the years but now has been replaced by a VU+Ultimo4K BTE....
Met één been in het graf..... Helaas

Re: Dreambox - Movielist.py? #8 xPafx

  • Member
  • 13 posts

0
Neutral

Posted 22 November 2020 - 11:49

No, it has nothing to do with "not agreeing with", it has to do with "no support from DMM anymore".  We won't create images we can not properly support, and for that we require access to and support from driver developers.

 

As to python source, we split those off since virtually nobody needs them, and it keeps the image smaller. Any ipk package containing python also has a "-src" package ( for example "enigma2-src" ) that contains the source code.

 

Also, all our source can be found online: https://github.com/openpli/

 

Ok, my bad... But thanks for the reply anyway. Guess I'll be looking around in there to try to find the right code to change from "Copy" to "Move", which was the main point in this context for my part. :)

 

 

only dreambox core is closed source, not the python code

https://github.com/o...ts/MovieList.py

https://github.com/o...vieSelection.py

Great! This seems to be what I was looking for, all though the "Copy file" command must have been coded somewhere else? But I guess I should be able to locate it now that I've got it all available! (And hopefully this can be done without the pulling out drivers and reverse engineering parts, which I'm afraid is a bit too complex for me... :) )



Re: Dreambox - Movielist.py? #9 ccs

  • Senior Member
  • 229 posts

+7
Neutral

Posted 22 November 2020 - 12:03

Can I ask a daft question -  Has the Move command really been replaced with the Copy command in movielist?


test


Re: Dreambox - Movielist.py? #10 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 22 November 2020 - 14:23

No.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Dreambox - Movielist.py? #11 ccs

  • Senior Member
  • 229 posts

+7
Neutral

Posted 22 November 2020 - 14:50

No.

So the problem the OP described in post #1 doesn't exist, as nothing has changed.


test


Re: Dreambox - Movielist.py? #12 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 22 November 2020 - 14:59

Correct.

 

The movielist has both actions in the menu, and as a user (or as OpenPLi clone image maker) you can define in the settings which actions are assigned to the colour buttons.

 

So maybe there someone has switched Move with Copy?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Dreambox - Movielist.py? #13 xPafx

  • Member
  • 13 posts

0
Neutral

Posted 23 November 2020 - 18:32

Well, I can't unfortunately choose the Move command any longer and haven't been able to for quite som time now. My current image might be a clone, but my previous I'm quite sure wasn't . On that drambox I was running OpenPLI 7.2 release from 2019-12-07, enigma version 2019-12-06 (7.2 release), and as far as I can remember, this was downloaded from openpli.org, but still without the Move option available. But anyhow. If one of you happens to have a MovieList.py/pyc available with the Move-option still present, I would be grateful for a copy, as I still haven't been able to locate the correct code to alter it yet…



Re: Dreambox - Movielist.py? #14 WanWizard

  • PLi® Core member
  • 70,546 posts

+1,813
Excellent

Posted 23 November 2020 - 18:42

The move command has been in OpenPLi for a long time. We only make images for the DM8000, so you have a different model, it's a clone image.

 

You can't simply copy the MovieList code, as it has all sorts of the dependencies, including the fact that the background move process is part of the Enigma C++ core code.

 

If I select a recording in the movielist, and press the menu button, I see both Move and Copy:

Attached File  1_0_1_D74A_82F_2_11A0000_0_0_0_20201123174142.jpg   70.36KB   1 downloads


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Ultimate (S2+T2), Octagon SF8008 (S2+T2), Zgemma H9.2H (S2+T2)

Due to my bad health, I will not be very active at times and may be slow to respond. I will not read the forum or PM on a regular basis.

Many answers to your question can be found in our new and improved wiki.


Re: Dreambox - Movielist.py? #15 xPafx

  • Member
  • 13 posts

0
Neutral

Posted 29 November 2020 - 15:00

Ha, ha!  And thank you, you just solved my problem...
This is what I get up when pressing the Menu button:

 

...for some reason I cannot post images here, but what it says is this:

8 Slett

6 Kjør

2 Gi nytt navn

5 Kopier
...

This is in Norwegian, and translated it means "8 Delete, 6 Run, 2 Rename, 5 Copy". Now, what I realized was that the Move command hadn't been replaced with Copy after all, as you can see, but with Run, which seems rather stupid, as the Run command is activated pressing OK. I then checked my other version, which is running on my old DB8000, I really thought this to be an original version, but the menu was still the same, so apparently not. I then realized that the error here might just be in translation, which happened to be right! So when I choose "Kjør" (meaning "Run") I can move the video files again as I used to... Stupid, but true... So thank you!



Re: Dreambox - Movielist.py? #16 Pr2

  • PLi® Contributor
  • 6,182 posts

+261
Excellent

Posted 30 November 2020 - 12:13

Hello,

 

You can help up with translation:

https://wiki.openpli...for_translators

 

But in short term, you can download the po file from your language here:

 

https://github.com/O...tree/develop/po

 

Open it in you browser, select raw and then save the po file.

 

Download and install PoEdit and you can easily edit the downloaded po file once it is done you just post your file in this thread:

 

https://forums.openp...post-them-here/

 

And someone from the team will create the pull request to insert your translation back into OpenPLi source code.

 

Feel free to contact me if you have problems.

 

Pr2


NO SUPPORT by PM, it is a forum make your question public so everybody can benefit from the question/answer.
If you think that my answer helps you, you can press the up arrow in bottom right of the answer.

Wanna help with OpenPLi Translation? Please read our Wiki Information for translators

Sat: Hotbird 13.0E, Astra 19.2E, Eutelsat5A 5.0W
VU+ Solo 4K: 2*DVB-S2 + 2*DVB-C/T/T2 (used in DVB-C) & Duo 4K: 2*DVB-S2X + DVB-C (FBC)

AB-Com: PULSe 4K 1*DVB-S2X (+ DVB-C/T/T2)
Edision OS Mio 4K: 1*DVB-S2X + 1*DVB-C/T/T2
 


Re: Dreambox - Movielist.py? #17 xPafx

  • Member
  • 13 posts

0
Neutral

Posted 10 December 2020 - 12:57

Hello,

Sure, I could do that, but will it be used? If OpenPLI does not support/create new images for Dreambox any longer, I would assume it's a bit late for a new translation?

 

But looking through the nn.po file it's a small thing to correct the error I've just described:

 

Line 5715 is a translation for "Move" and it should have been "Flytt" or "Flytte" ("to move" = "å flytte"), not "Kjøre"

I believe "Flytt" would be the correct translation, as this probably refers to "Move file" which would be "Flytt fil" in norwegian

 

There are also a few other lines with directions, ie. "Move east", or west / north / south, which could be correct, but I would say that is dependent on the context, as "Kjør" means "run", but could also mean "drive", so if your moving a car east, "Kjør øst" would be correct, but if you're moving a cursor east, I would rather use "Flytt østover", than "Kjør østover"

 



Re: Dreambox - Movielist.py? #18 ccs

  • Senior Member
  • 229 posts

+7
Neutral

Posted 10 December 2020 - 13:03

Hello,

Sure, I could do that, but will it be used? If OpenPLI does not support/create new images for Dreambox any longer, I would assume it's a bit late for a new translation?

 

 

 

Translations would apply to all boxes, not just Dreambox.


test



2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users