Page 25 of 30

geoPVR

Posted: Tue Jun 01, 2010 2:45 pm
by moras86
geo650 wrote:Backlight (with MUTE) hotkey is also good idea. If I knew how to do it, I would implement this feature as well. Unfortunately, I don't know how to call such function (yet). All these problems can be solved by analysing exeDSP. It's not easy without source code.
Don't know how make function for turn off backlight, but I think you can use one from remote key for change Energy Saving state - Off/Low/Medium/High/Auto:

Code: Select all

0x77	KEY_77_##_ENERGY_TOGGLE
Only you should find, good hotkeys combination for this, example STOP and next MUTE :?
sirjohn771103 wrote:I need to change the Audio Language on the channels, but can not direct from a button, just from the Menu - Sound...
Can U make this Audio Change to AD (Audio Description) button?
This keycode should be good:

Code: Select all

0x00	KEY_00_##_SAP - SAP (?), Dual audio toggle (?); NICAM STEREO/MONO/ on B650
I also have some suggestions for next PVR app:
  • Remote keys shortcut for delete last recorded file.
  • After successful recording apps should show box with some informations about recorded file (file name, size, length, free space on disc). It's can be show like SMS window using MessageBox Service (more info at this thread http://forum.samygo.tv/viewtopic.php?f=5&t=641)

Re: geoPVR

Posted: Tue Jun 01, 2010 3:30 pm
by geo650
moras86 wrote:

Code: Select all

0x77	KEY_77_##_ENERGY_TOGGLE
Only you should find, good hotkeys combination for this, example STOP and next MUTE :?
Thank you. I will check this out.
moras86 wrote:
  • Remote keys shortcut for delete last recorded file.
What?! Did you read my TODO list? This is exactly what I am planning to do :lol:
moras86 wrote:[*]After successful recording apps should show box with some informations about recorded file (file name, size, length, free space on disc). It's can be show like SMS window using MessageBox Service
Good idea!

But I have sad information: you cannot find these improvements in the application, that I am attaching below :shock:
sico_pata wrote:+1000 please for the next version
Especially for you, kids: geoPVR 0.6 with full totally rebuilt source code
Enjoy! and remember: there still can be errors!

Re: geoPVR

Posted: Tue Jun 01, 2010 4:48 pm
by sbav1

Code: Select all

0x77	KEY_77_##_ENERGY_TOGGLE
This most likely will not work, AFAIRC given keycode is just a toggle between Auto/Off/Low/Medium/High, and "Picture Off" is not available. It's possible to send keycode sequence, ie: MENU, DOWN, DOWN, DOWN, ENTER, ... - but it will not work so well either (some intermediate menu options may be grayed out in some TVs, "Energy saving" menu after enering is positioned on last setting used etc.).

I thought I found some relevant functions in firmware; my last attempt to call them was like this:

Code: Select all

extern unsigned int g_AppWindow;
extern unsigned int g_AppWindowPIP;

// mflag (boolean): 0 | 1
static int video_mute_onoff(int mflag) {
   _ZN8TCWindow9MuteVideoEb(g_AppWindow, mflag);
   _ZN8TCWindow9MuteVideoEb(g_AppWindowPIP, mflag);
   return(mflag);
}
but it just kills exeDSP.. I hope maybe doodlecz can help (if he can be persuaded it's interesting enough feature :).

Re: Record TV over USB

Posted: Tue Jun 01, 2010 5:07 pm
by geo650
martindejmal wrote:geo650, pas5:
I also still can't get working recording over network. Tried both SMB and NFS. I have gigabit LAN.
Record file is created, but with zero size and date.
It should not be because of permissions because i have full RW permissions there and I can touch a file and create it via standard input or so.

It works for me only when recording to directly attached USB device (pendrive or hard drive).

Any hints appreciated...
Does PVR application work with your network directory? Did you try geoPVR 0.6 or 0.5 ?

I am using CIFS from SamyGO Extensions. Share your folder using known username and password (with permission for reading and writing), then run such script on your TV:

Code: Select all

#!/bin/sh
SERVER="{place your sever IP address here}"
SHARE="{place your shared directory name here}"
USER="{place your username here}"
PASS="{place your password here}"
SUBDIR="/mtd_wiselink/MOVIE001"

insmod cifs.ko
mkdir -p $SUBDIR
mount -o user=$USER,password=$PASS -t cifs //$SERVER/$SHARE $SUBDIR
Before recording, you can test this using MediaPlay: put some clips into your shared directory then try to play them with MediaPlay.
Of course you may map your shared folder to other place on your TV: /dtv/usb/sda1 is an example (the directory must exist), or use virtual USB (not tested by me yet).
This (CIFS method) works for me, where shared directory is placed on MS Windows system. Please check your firewall settings!
And please remember that only DVB sources are allowed to record from (I am sure you do, because you can record to a pendrive).
If your host network station isn't based on MS Windows, then please ask someone else for help. I can't help you.

Re: Record TV over USB

Posted: Tue Jun 01, 2010 5:16 pm
by geo650
sirjohn771103 wrote:I Think this would be great:

Red: Change Aspect ratio
Green: Change Audio Language
Yellow: Backlight
Blue: Display the messages
The problem is that my application doesn't know what is actually displayed on the screen. It means that when a user is pressing BLUE key in Internet@TV Widgets Manager it should display Widgets Gallery. If my application catches BLUE key, the user won't get into Widget Gallery. Colour keys are also used in some situations (RED or BLUE keys in MediaPlay, YELLOW button in Contents Library Manager), in games etc. I am looking for method to know "where we are now". This knowledge could push geoPVR interface one big step ahead.