Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Sganarelle

1
Allgemein [ General ] / Set localtime (localtime) to Europe/Paris
« on: January 06, 2024, 16:32:35 »
Hello,

Sorry if the question is always solved (many times ;-) ), but I don't understand the German and Google translate is not accurate.

I'm testing MLD 5.4 (stable) on X86.

The time is set to Berlin. I can see only a possibility for Berlin and London. I can not find a standard solution to set the date on Linux or using 'dvbdate'.

It is not possible to record a TV channel based on the EPG information.

If my local time is 15 h 00, the display show 14 h 00.

Even if I set the time on a DVB signal, nothing is changed.

How to set the local time for MLD 5.4 ?

Thank you for any help.

2
Hello,

Sorry if this question has already asked in German.

With MLD 5.4 on Raspberry Pi 3b (Rev 1.2) I make a scan of all channels. My DVB-Tuner is a Sundtek MediaPro 3.
The usage is normal for a while.

I get the file generated by 'scp' on my computer, edit it with Vim to set the good order for the channels, the commands to edit : [dd] [p], and load it with the WEB interface of MLD.

After some hours, the channel's number displayed isn't the video stream displayed, by example, the number 6 (TNT channel 6) is the TNT channel 22. And some channels are black.

I've made some new fresh installs or change of Raspberry Pi 3 + power supply with the same results. Few months ago, I had the same problems.

The RPI 3b with the Sundtek MediaPro 3 is used all the time and is stable with LibreElec.

How to solve this problems ?

Kind regards.

3
Hallo,

Please, be patient, It take some time, because I suppose that below roughly one half hour, I can't reproduce the problem.

I've made a test with a MP4 file download on ARTE ("Le Cid") after one hour trying to play with the remote, the image was paused but the sound turn in a very short loop for the scene. Impossible to stop this with the remote. No way with the Web access when I tried to stop VDR or reboot - even waiting few minutes. Finally : power plug removed  :( This must be considered as an strange experience and not a serious test like expected.

4
Hallo,

My configuration : Rpi3 / MLD 5.4 / Sundtek MediaPro III

The remote command works perfectly to manage the VDR. But  when I use the Mplayer plugin after a while it becomes inactive :o The only way to use the system is to use a keyboard to control the system.

To restart VDR (not the full system) doesn't solve the problem.

The remote command is a part of the Sundtek MediaPro III. And the blue led of the TNT tuner is on.

I suppose there is a timeout somewhere.

How to keep alive the remote command of the Sundtek MediaPro III with the Mplayer plugin ?

Thanks for you help.

5
Hallo,

Thank you for the proposition. With the option "PCM Multicanal" the sound is as expected  :D

6
For the keyboard, it's for a next time  ;)

I found the problem with my Rpi3 : the test for the "passthrough=-p". I don't know what is expected but I propose the script that I have modified to use the Mplayer plugin.

I take each part individually :

Code: [Select]
MLD> grep -q "rpihddevice.AudioFormat = [^0]" /etc/vdr/setup.conf
MLD> echo $?
1
MLD>

When the "$passthrough" equal "-p" the sound is awful. I've modified '''/usr/bin/omxplayer.sh''' like this :
Code: [Select]
#!/bin/sh

passthrough=
if grep -q "rpihddevice.AudioPort = 1" /etc/vdr/setup.conf; then
        audio_out=hdmi

        # 03/01/2019 - Sganarelle : Change the test.
        #                           For a RaspberyPi 3, nothing is found.
        #
        # If something is found by "grep" : "$? == 0"
        # with "!" if something is found the result would be true.
        # if ! grep -q "rpihddevice.AudioFormat = [^0]" /etc/vdr/setup.conf; then
        #       passthrough=-p
        # fi

        # If something if found : "$? == 0"
        grep -q "rpihddevice.AudioFormat = [^0]" /etc/vdr/setup.conf

        # if something is found then the option "-p" is set
        if [ $? -eq 0 ]
        then
                passthrough=-p
        fi
else
        audio_out=both
fi

omxplayer -o $audio_out $passthrough --key-config /etc/vdr/plugins/omxplayerkey.conf "$1"
killall -9 omxplayer.bin


I've write the small script below to test the two logics :

Code: [Select]
MLD> cat ~/demo.sh
#!/bin/sh

grep -q streamdev-client.Timeout  /etc/vdr/setup.conf
if [ $? -eq 0 ]
then
  echo "streamdev-client.Timeout in /etc/vdr/setup.conf : Find !"
else
  echo "streamdev-client.Timeout in /etc/vdr/setup.conf : No find :-("
fi

if ! grep -q streamdev-client.Timeout  /etc/vdr/setup.conf ; then
  echo "streamdev-client.Timeout in /etc/vdr/setup.conf : Found !"
else
  echo "streamdev-client.Timeout in /etc/vdr/setup.conf : No found :-("
fi

I launch the script, knowing that "streamdev-client.Timeout " is in "/etc/vdr/setup.conf" :
Code: [Select]
MLD> ~/demo.sh
streamdev-client.Timeout in /etc/vdr/setup.conf : Found !
streamdev-client.Timeout in /etc/vdr/setup.conf : No found :-(
MLD>


I attach the file "/etc/vdr/setup.conf" used with my Rpi3.

7
A small request : how to add the French layout for the keyboard, because with an AZERTY keyboard connected to the Rpi, the English or German layout is not very easy to use ?

From my computer, I have tested many files with "omxplayer" during VDR was running with "mp4" and "ts" files with success. The single problem is that there is the sound of the channel TV and the one of "omxplayer".

The test of "mplayer" was done from the VDR's main menu.

When I try to launch "/usr/bin/mplayer.sh", some arguments are missing.

I suppose that the binary is good for "omxplayer".

[Update] The image and the sound are controlled on the TV not from my computer. The computer is only used to launch the program, the display is TV connected to the Rpi3.

8
I understand that there is no way to see my media files with my configuration - the sound is awful with Mplayer. My understanding is right or wrong ?

P.S. : Sorry for the form of the question, but French -> English -> German -> English -> French it's not a direct way.

9
In console mode it could be possible, but you've right, I prefer an integrated version in the main menu.

With only a remote command (the Sundtek), it's difficult to have access to the console  ;)

With the file manager, it could be a solution if a link could be done with VLC or MPV, but I don't know how to modify the menu for the file manager.

10
Hi,

In the Web interface to configure MLD 5.4, there is no plugin "mpv" in the Package menu available nor for the system or VDR. So, I've done :

Code: [Select]
MLD> apt install mpv
After, I don't see any new menu/option available in the main VDR's menu to watch my media-file.

How to add an entry in the main menu ?

11
Hello,

Before to use MLD (a big THANK to the team), I used LibreElec with an Rpi2. With LibreElec I use two sources : records done by Libreelec+Sundtek MediaPro III and records on my NFS server. For Rpi3+MLD 5.4, I use the same USB hard drive than for LibreElec.

On my NFS server I put my video records converted by Handbrake (mkv or mp4) or the video downloaded (replay) with the tool Captvty : http://captvty.fr/ . With Captvty, I have access to many "replays", like ARTE, the format is "ts" or "mp4".

With Rpi3+MLD 5.4, I have tested the "Mplayer" plugin but the sound for the records done by LibreElec or download by Captvty is awful, there is an echo or reverberation. There is no problem with Rpi2+LibreElec.

I've installed VLC, but I don't know how to use it to watch my previous record. Or a better choice could exists ?

Any idea ?

Thank you.


12
Hello,

With the configuration "Rpi3 / MLD 5.4 / Sundtek MediaPro II", I notice some very short interruptions of the image with a black screen. It's like a parasite.

I notice that during a recording or when I watch the record but if I re-watch the scene there is no problem. The quality of the record is not touch by this problem. It's not a problem due to my TNT signal, a control by a technician was done few days ago.

It's a annoying defect. How to solve this ?

Thank you.


 

13
Raspberry PI / authorized_keys
« on: January 02, 2019, 15:35:03 »
Hello,

Sorry for the English, I use GoogleTranslate to read the forum  :(

It's not a problem. You could put your public key in "/root/.ssh". I 've done it like this :

Code: [Select]
my-login@computer:~/$ ssh-copy-id -i ~/.ssh/id_rsa.pub root@mld
/usr/bin/ssh-copy-id: INFO: Source of key(s) to be installed: "/home/my-login/.ssh/id_rsa.pub"
/usr/bin/ssh-copy-id: INFO: attempting to log in with the new key(s), to filter out any that are already installed
/usr/bin/ssh-copy-id: INFO: 1 key(s) remain to be installed -- if you are prompted now it is to install the new keys
root@mld's password:
Permission denied, please try again.
root@mld's password:

Number of key(s) added: 1

Now try logging into the machine, with:   "ssh 'root@mld'"
and check to make sure that only the key(s) you wanted were added.

my-login@computer:~$ ssh root@mld


BusyBox v1.25.1 (2018-08-27 03:43:10 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

MLD>

I hope that this could help you.

For the usual "/etc/ssh" directory, it is necessary to manage the SSH access by user, group or other things ... And I don't know how to do that.

14
Yes, I've bought the licenses.

Merci beaucoup.

15
Thank you Gr4vity,

You are right  :D

Thank you !

Now, I must learn to use VDR  ;)

Merci beaucoup et très bonne soirée.