Jump to content


Photo

Fallback Timer missing movie location


  • Please log in to reply
41 replies to this topic

#1 Florie

  • Senior Member
  • 54 posts

+1
Neutral

Posted 24 February 2019 - 21:38

Hi, I started to use openpli 7 on all my boxes. Now I also wanted to use the fallback time feature as my main box has the most tuners and some boxes even have no sat cable but use the fallback receiver feature.
But If I create a new fallback timer I can not set the movie Location. Would it bei possible to so this or at least have a default location for each client box?

Re: Fallback Timer missing movie location #2 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 25 February 2019 - 07:40

Use mountmanager for that

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


Re: Fallback Timer missing movie location #3 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 25 February 2019 - 10:19

I think the TS refers to remote locations / bookmarks. Which has nothing to do with mounts.


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Fallback Timer missing movie location #4 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 25 February 2019 - 11:01

O.K. now I see... I thought this was about where to see the recordings on the client box...

 

Indeed with a fallback timer you cannot change the recording folder. The reason behind this is that the feature works via the OWIF (OpenWebif) interface and at this moment OWIF does not offer that feature within it's timer features. Therefore the recording will always go to the default folder on the fallback (remote) tuner.


Edited by littlesat, 25 February 2019 - 11:04.

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


Re: Fallback Timer missing movie location #5 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 25 February 2019 - 11:04

I think he would like to use one of the remote bookmarks for the fallbacktimer and said that is not possible. I´m not familar with remotefallbacktimer I only use remotefallbacktuner

On local timers you can use bookmarks for choosing location


Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: Fallback Timer missing movie location #6 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 25 February 2019 - 11:11

When it is added to the OWIF I also need a method to get the list of choices from the fallback tuner... It might get complicated....


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


Re: Fallback Timer missing movie location #7 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 25 February 2019 - 11:18

When it is added to the OWIF I also need a method to get the list of choices from the fallback tuner... It might get complicated....

 

Already exists: /web/getlocations

 

FYI: see https://github.com/E...I-documentation


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Fallback Timer missing movie location #8 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 25 February 2019 - 11:26

...


Edited by littlesat, 25 February 2019 - 11:27.

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


Re: Fallback Timer missing movie location #9 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 25 February 2019 - 11:28

<e2locations>
<e2location>/hdd/movie/</e2location>
</e2locations>
 
Is indeed available that list... but it get's extreme complicated to add this as feature...
(note that partnerbox and remotetimer plugin did also not support it due to the complications)
It needs also access to the OWIF during you're in timeredit.py... 
 
It needs to add the attribute to FallbackTimerClass.. then add the option in TimerEdit.py where also the possible destinations are 'cached' via the WebIf.... I feel volunteers coming ;) as I do not see the real added value....

Edited by littlesat, 25 February 2019 - 11:36.

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


Re: Fallback Timer missing movie location #10 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 25 February 2019 - 11:29

Possible, yes. I my case the list is a lot longer. And /hdd/movie isn't in it.  ;)


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Fallback Timer missing movie location #11 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 25 February 2019 - 11:33

This shows my box. That are exactly my bookmarks in enigma
<e2locations>
<e2location>/hdd/movie/</e2location>
<e2location>/hdd/movie/Serien/</e2location>
<e2location>/hdd/movie/Zweite Platte/</e2location>
</e2locations>

I know that wih OWIF a user can create a timer not only with timer create but directly with timer edit and can change all timer setings 


Edited by anudanan, 25 February 2019 - 11:35.

Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: Fallback Timer missing movie location #12 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 25 February 2019 - 11:38

Webif has indeed dirname which is now always None which means the default dir...

https://github.com/E...trollers/web.py

Line 1060...

https://github.com/O...allbackTimer.py

Line 101

So it can added... 


Edited by littlesat, 25 February 2019 - 11:43.

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


Re: Fallback Timer missing movie location #13 WanWizard

  • PLi® Core member
  • 68,309 posts

+1,719
Excellent

Posted 25 February 2019 - 11:41

mmmm.. but does the OWIF also has this attribute...?

 

?


Currently in use: VU+ Duo 4K (2xFBC S2), VU+ Solo 4K (1xFBC S2), uClan Usytm 4K Pro (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: Fallback Timer missing movie location #14 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 25 February 2019 - 11:48

? -> Already re-covered... ;)...

 

Here...

 

https://github.com/O...s/TimerEntry.py

 

around line 140 it should be arranged that the list of possible destination is derived from the fallback tuner....

When I had infinitive time ;)....


Edited by littlesat, 25 February 2019 - 11:50.

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


Re: Fallback Timer missing movie location #15 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 25 February 2019 - 12:26

This code that could be considered to be added to Tools/FallbackTimer.py is able to retreive the current dir and possible dirs for the recordings on the fallback tuner.... It is 'test' code as e.g. localhost here should be replaced by the IP of the fallback tuner. As it is made here the code to build the dir should be based on 'fallback'... 

When in E2 python code the reactor stop/start rows can be removed...

from twisted.web import client
from twisted.internet import reactor
import xml.etree.ElementTree
 
class getTimerDirectories():
        def __init__(self, callback):
                self.callbackcounter = 0
                self.callback = callback
                self.locations = [(None)]
                self.currlocation = None
                client.getPage('http://localhost/web/getlocations').addCallback(self.getLocationsCallback).addErrback(self.getLocationsError)
                client.getPage('http://localhost/web/getcurrlocation').addCallback(self.getCurrLocationCallback).addErrback(self.getCurrLocationError)
                reactor.run()
 
        def getLocationsCallback(self, data):
                self.locations = [c.text for c in xml.etree.ElementTree.fromstring(data)]
                self.checkEnd()
 
        def getLocationsError(self, error):
                print "[] cannot retreive possible locations", error
                self.checkEnd()
 
        def getCurrLocationCallback(self, data):
                self.currlocation = [c.text for c in xml.etree.ElementTree.fromstring(data)]
                if self.locations:
                        self.currlocation = self.currlocation[0]
                self.checkEnd()
 
        def getCurrLocationError(self, error):
                print "[] cannot retreive current location", error
                self.checkEnd()
 
        def checkEnd(self):
                self.callbackcounter += 1
                if self.callbackcounter == 2:
                        reactor.stop()
                        self.callback(self.locations, self.currlocation)
 
def callback(a, b):
        print a,b
 
getTimerDirectories(callback)

Edited by littlesat, 25 February 2019 - 12:28.

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


Re: Fallback Timer missing movie location #16 ims

  • PLi® Core member
  • 13,608 posts

+211
Excellent

Posted 25 February 2019 - 18:08


(note that partnerbox and remotetimer plugin did also not support it due to the complications)

 

I can easy create timer on box1 for box2 and can set, that box2 will be recording it to box3 hdd ... all via Partnerbox. Standard PB feature.


Kdo nic nedělá, nic nezkazí!

Re: Fallback Timer missing movie location #17 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 25 February 2019 - 18:24

As far I could see at the time I developed fallbacktuner box it was not possible to set the directory of the recording even in partnerbox... it might be I missed it, but that was the reason why it was also out of scope that time...
Partnerbox is kind of wierd solution as you can programm timers on all boxes... but on the overview you see only one remote tuner... unless you switch hardly to one box....
Note this is not that you can record on multiple places... this is about setting the record directory.

But I can make it... :)

Edited by littlesat, 25 February 2019 - 18:55.

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


Re: Fallback Timer missing movie location #18 Florie

  • Senior Member
  • 54 posts

+1
Neutral

Posted 26 February 2019 - 19:21

Oh, that sounds so great. :) Thanks in advance for all your effort.

 

I tried to copy your code to the FallbackTimer.py (at the end of https://raw.githubus...llbackTimer.py)

removed the .pyo on my client box, and restarted the box. The new .pyo was generated but from there on the box just show the spinner in a loop and does not boot up.

 

How do I need to modify/copy/create FallbackTimer to get it working?



Re: Fallback Timer missing movie location #19 anudanan

  • Senior Member
  • 1,185 posts

+16
Neutral

Posted 26 February 2019 - 19:38

The above code is only an example. You can‘t copy ist to the end of the fallbacktimer.py

Receiver:2 x Uno4k SE (PLI 7.3 rel), 1 x ET9200 (PLI 4.0), NAS: 2 x QNAP 410, TV: LG 65C8llla, LG 47LB570V, LG 42LM615S, Sound: Yamaha RX-v663, Teufel System 5 THX


Re: Fallback Timer missing movie location #20 littlesat

  • PLi® Core member
  • 56,123 posts

+685
Excellent

Posted 26 February 2019 - 19:39

The code above is just Some testing.. it is most likely the folder option Will be in 7.1 and/or 8.0

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



1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users