vdr-vnsi new recordings directory, exit on remote not working
#1
Many many thanks for sorting the directories with vdr-vnsi. However, I have noticed that the "Exit" button or "Back" doesn't work as expected on a remote. So if you go into a Series Directory, and then into the title of the episode (to check the date for instance), Exit or Back should bring you up one level, however, it takes you back to XBMC's main menu. If you then go back into LiveTV, you go back to the selected episode.

The only way to get up one level appears to be to hit backspace on the keyboard, which means getting out the chair...

Is this a skin error? I am using an MCE remote..
Reply
#2
the way I implemented it, it should work the same as any other file view in xbmc (and it has nothing to do with vdr/vnsi). so backspace goes one dir up, escape goes back to the main screen. you can also map that on your remote.
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#3
Here is the log in case it helps..

Code:
07:45:18 T:3023828800 M:1807941632   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings/American_Idol/Finalists_Cho                                      sen/)
07:45:18 T:3023828800 M:1807941632   DEBUG:   ParentPath = [pvr://recordings/American_Idol/Finalists_Chosen/]
07:45:18 T:3023828800 M:1807941632   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings/American_Idol/Finalists_Chosen                                      )
07:45:18 T:3023828800 M:1807941632   DEBUG: CGUIWindowPVRCommon - OnMessageFocus - focus set to window 'recordings'
07:45:18 T:3023828800 M:1807941632   DEBUG: CGUIWindowPVRRecordings - UpdateData - update window 'recordings'. set view                                       to 13
07:45:18 T:3023828800 M:1807941632   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings/American_Idol/Finalists_Cho                                      sen/)
07:45:18 T:3023828800 M:1807941632   DEBUG:   ParentPath = [pvr://recordings/American_Idol/Finalists_Chosen/]
07:45:18 T:2872421232 M:1807941632   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings/American_Idol/Finalists_Chosen                                      )
07:45:22 T:2894035824 M:1809096704   DEBUG: Received request to serve unknown md5 'DeviceDescription.xml'
07:45:23 T:3023828800 M:1809088512   DEBUG: UPower: Recieved an unknown signal DeviceChanged
07:45:40 T:3023828800 M:1809600512   DEBUG: SDLKeyboard: scancode: 22, sym: 8, unicode: 8, modifier: 0
07:45:40 T:3023828800 M:1809600512   DEBUG: OnKey: backspace (f008) pressed, action is ParentDir
07:45:40 T:3023828800 M:1809600512   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings//American_Idol/)
07:45:40 T:3023828800 M:1809600512   DEBUG:   ParentPath = [pvr://recordings/]
07:45:40 T:2872421232 M:1809600512   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings//American_Idol)
07:45:42 T:3023828800 M:1809952768   DEBUG: SDLKeyboard: scancode: 22, sym: 8, unicode: 8, modifier: 0
07:45:42 T:3023828800 M:1809952768   DEBUG: OnKey: backspace (f008) pressed, action is ParentDir
07:45:42 T:3023828800 M:1809952768   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings/)
07:45:42 T:3023828800 M:1809952768   DEBUG:   ParentPath = []
07:45:42 T:2872421232 M:1809952768   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings)
07:45:47 T:3023828800 M:1809981440   DEBUG: SDLKeyboard: scancode: 22, sym: 8, unicode: 8, modifier: 0
07:45:47 T:3023828800 M:1809981440   DEBUG: OnKey: backspace (f008) pressed, action is ParentDir
07:45:47 T:3023828800 M:1809981440   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
07:45:47 T:3023828800 M:1809981440   DEBUG: ------ Window Deinit (MyPVR.xml) ------
07:45:47 T:3023828800 M:1809981440   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
07:45:47 T:3023828800 M:1809981440   DEBUG: ------ Window Init (Home.xml) ------
07:45:47 T:3023828800 M:1809981440    INFO: Loading skin file: Home.xml
07:45:47 T:3023828800 M:1809981440   DEBUG: Load Home.xml: 43.30ms
07:45:47 T:3023828800 M:1809981440   DEBUG: Alloc resources: 46.73ms (44.93 ms skin load)
07:45:47 T:3023828800 M:1810997248   DEBUG: ExecuteXBMCAction : Translating SetFocus(9000)
07:45:47 T:3023828800 M:1810997248   DEBUG: ExecuteXBMCAction : To SetFocus(9000)
07:45:53 T:3023828800 M:1811009536   DEBUG: UPower: Recieved an unknown signal DeviceChanged
07:45:58 T:3023828800 M:1811144704   DEBUG: LIRC: Update - NEW at 338907:000000037ff07bdd 00 OK mceusb (OK)
07:45:58 T:3023828800 M:1811144704   DEBUG: OnKey: 11 (0b) pressed, action is Select
07:45:58 T:3023828800 M:1811144704   DEBUG: ExecuteXBMCAction : Translating ActivateWindow(TV)
07:45:58 T:3023828800 M:1811144704   DEBUG: ExecuteXBMCAction : To ActivateWindow(TV)
07:45:58 T:3023828800 M:1811144704   DEBUG: Activating window ID: 10600
07:45:58 T:3023828800 M:1811144704   DEBUG: Checking if window ID 10600 is locked.
07:45:58 T:3023828800 M:1811144704   DEBUG: ------ Window Deinit (Home.xml) ------
07:45:58 T:3023828800 M:1811148800   DEBUG: ------ Window Init (MyPVR.xml) ------
07:45:58 T:3023828800 M:1811148800    INFO: Loading skin file: MyPVR.xml
07:45:58 T:3023828800 M:1811148800   DEBUG: Load MyPVR.xml: 87.16ms
07:45:58 T:3023828800 M:1811148800   DEBUG: Alloc resources: 91.64ms (88.57 ms skin load)
07:45:58 T:3023828800 M:1811148800   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings/)
07:45:58 T:3023828800 M:1811148800   DEBUG:   ParentPath = [pvr://recordings/]
07:45:58 T:3023828800 M:1811148800   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings)
07:45:58 T:3023828800 M:1811148800   DEBUG: CGUIWindowPVRCommon - OnMessageFocus - focus set to window 'recordings'
07:45:58 T:3023828800 M:1811148800   DEBUG: CGUIWindowPVRRecordings - UpdateData - update window 'recordings'. set view                                       to 13
07:45:58 T:3023828800 M:1811148800   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings/)
07:45:58 T:3023828800 M:1811148800   DEBUG:   ParentPath = [pvr://recordings/]
07:45:58 T:2872421232 M:1811148800   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings)
07:46:00 T:3023828800 M:1810137088   DEBUG: LIRC: Update - NEW at 340789:000000037ff07be0 00 Down mceusb (Down)
07:46:00 T:3023828800 M:1810137088   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:46:01 T:3023828800 M:1810128896   DEBUG: LIRC: Update - NEW at 342036:000000037ff07be1 00 Up mceusb (Up)
07:46:01 T:3023828800 M:1810128896   DEBUG: OnKey: 166 (a6) pressed, action is Up
07:46:02 T:3023828800 M:1810128896   DEBUG: LIRC: Update - NEW at 342802:000000037ff07bdd 00 OK mceusb (OK)
07:46:02 T:3023828800 M:1810128896   DEBUG: OnKey: 11 (0b) pressed, action is Select
07:46:02 T:3023828800 M:1810128896   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings//American_Idol/)
07:46:02 T:3023828800 M:1810128896   DEBUG:   ParentPath = [pvr://recordings/]
07:46:02 T:2872421232 M:1810128896   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings//American_Idol)
07:46:03 T:3023828800 M:1810247680   DEBUG: LIRC: Update - NEW at 344015:000000037ff07be0 00 Down mceusb (Down)
07:46:03 T:3023828800 M:1810247680   DEBUG: OnKey: 167 (a7) pressed, action is Down
07:46:03 T:3023828800 M:1810247680   DEBUG: LIRC: Update - NEW at 344682:000000037ff07bdd 00 OK mceusb (OK)
07:46:04 T:3023828800 M:1810247680   DEBUG: OnKey: 11 (0b) pressed, action is Select
07:46:04 T:3023828800 M:1810247680   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings/American_Idol/Finalists_Com                                      pete/)
07:46:04 T:3023828800 M:1810247680   DEBUG:   ParentPath = [pvr://recordings//American_Idol/]
07:46:04 T:2872421232 M:1810247680   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings/American_Idol/Finalists_Compet                                      e)
07:46:08 T:3023828800 M:1810161664   DEBUG: LIRC: Update - NEW at 349405:000000037ff07bdc 00 Back mceusb (Back)
07:46:08 T:3023828800 M:1810161664   DEBUG: OnKey: 216 (d8) pressed, action is PreviousMenu
07:46:08 T:3023828800 M:1810161664   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
07:46:08 T:3023828800 M:1810161664   DEBUG: ------ Window Deinit (MyPVR.xml) ------
07:46:09 T:3023828800 M:1810161664   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
07:46:09 T:3023828800 M:1810161664   DEBUG: ------ Window Init (Home.xml) ------
07:46:09 T:3023828800 M:1810161664    INFO: Loading skin file: Home.xml
07:46:09 T:3023828800 M:1810161664   DEBUG: Load Home.xml: 35.89ms
07:46:09 T:3023828800 M:1810161664   DEBUG: Alloc resources: 38.33ms (36.76 ms skin load)
07:46:09 T:3023828800 M:1811685376   DEBUG: ExecuteXBMCAction : Translating SetFocus(9000)
07:46:09 T:3023828800 M:1811685376   DEBUG: ExecuteXBMCAction : To SetFocus(9000)
Reply
#4
that log's looking fine.

the backspace button is mapped to ParentDir, which goes to the parent dir.
when you're pressing the PreviousMenu button, you go back to the previous window (the home screen).

so, mapping a button to ParentDir on your remote should do the trick.

isn't that the same in every file browser window?
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#5
The log above shows keyboard and lirc entry. On the mce remote I only have a "Back" button. Which takes me back to the main menu.

To get out I need to hit backspace on the keyboard.

"Back" is consistent throughout xbmc, in that it takes me to the previous level of menu, if I hit "Menu" I normally go to the xbmc main menu.

Looking at the log, it appears to say that it's working correctly, however, it's not. When it says the Back button goes to "Previous Menu" in reality it takes me to the xbmc main menu.

Here is another log where after going to "Previous Menu" you'll see that going down gives me Video and Music instead of more recordings..
Code:
08:06:01 T:3023828800 M:1769857024   DEBUG: OnKey: backspace (f008) pressed, action is ParentDir
08:06:01 T:3023828800 M:1769857024   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
08:06:01 T:3023828800 M:1769857024   DEBUG: ------ Window Deinit (MyPVR.xml) ------
08:06:02 T:3023828800 M:1769857024   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
08:06:02 T:3023828800 M:1769857024   DEBUG: ------ Window Init (Home.xml) ------
08:06:02 T:3023828800 M:1769857024    INFO: Loading skin file: Home.xml
08:06:02 T:3023828800 M:1769857024   DEBUG: Load Home.xml: 36.73ms
08:06:02 T:3023828800 M:1769857024   DEBUG: Alloc resources: 39.19ms (37.58 ms skin load)
08:06:02 T:3023828800 M:1775443968   DEBUG: ExecuteXBMCAction : Translating SetFocus(9000)
08:06:02 T:3023828800 M:1775443968   DEBUG: ExecuteXBMCAction : To SetFocus(9000)
08:06:15 T:3023828800 M:1775742976   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avcore-0-i486-linux.so)
08:06:15 T:3023828800 M:1775742976   DEBUG: Unloading: avcore-0-i486-linux.so
08:06:16 T:3023828800 M:1775742976   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avcodec-52-i486-linux.so)
08:06:16 T:3023828800 M:1775742976   DEBUG: Unloading: avcodec-52-i486-linux.so
08:06:16 T:3023828800 M:1775747072   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avformat-52-i486-linux.so)
08:06:16 T:3023828800 M:1775747072   DEBUG: Unloading: avformat-52-i486-linux.so
08:06:16 T:3023828800 M:1779302400   DEBUG: LIRC: Update - NEW at 1557638:000000037ff07bdd 00 OK mceusb (OK)
08:06:16 T:3023828800 M:1779302400   DEBUG: OnKey: 11 (0b) pressed, action is Select
08:06:16 T:3023828800 M:1779302400   DEBUG: ExecuteXBMCAction : Translating ActivateWindow(TV)
08:06:16 T:3023828800 M:1779302400   DEBUG: ExecuteXBMCAction : To ActivateWindow(TV)
08:06:16 T:3023828800 M:1779302400   DEBUG: Activating window ID: 10600
08:06:16 T:3023828800 M:1779302400   DEBUG: Checking if window ID 10600 is locked.
08:06:16 T:3023828800 M:1779302400   DEBUG: ------ Window Deinit (Home.xml) ------
08:06:17 T:3023828800 M:1779302400   DEBUG: ------ Window Init (MyPVR.xml) ------
08:06:17 T:3023828800 M:1779302400    INFO: Loading skin file: MyPVR.xml
08:06:17 T:3023828800 M:1779302400   DEBUG: Load MyPVR.xml: 49.49ms
08:06:17 T:3023828800 M:1779302400   DEBUG: Alloc resources: 53.69ms (50.68 ms skin load)
08:06:17 T:3023828800 M:1779302400   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings/)
08:06:17 T:3023828800 M:1779302400   DEBUG:   ParentPath = [pvr://recordings/]
08:06:17 T:3023828800 M:1779302400   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings)
08:06:17 T:3023828800 M:1779302400   DEBUG: CGUIWindowPVRCommon - OnMessageFocus - focus set to window 'recordings'
08:06:17 T:3023828800 M:1779302400   DEBUG: CGUIWindowPVRRecordings - UpdateData - update window 'recordings'. set view to 13
08:06:17 T:3023828800 M:1779302400   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings/)
08:06:17 T:3023828800 M:1779302400   DEBUG:   ParentPath = [pvr://recordings/]
08:06:17 T:2872421232 M:1779302400   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings)
08:06:18 T:3023828800 M:1777405952   DEBUG: LIRC: Update - NEW at 1559504:000000037ff07be0 00 Down mceusb (Down)
08:06:18 T:3023828800 M:1777405952   DEBUG: OnKey: 167 (a7) pressed, action is Down
08:06:19 T:3023828800 M:1777405952   DEBUG: LIRC: Update - NEW at 1560053:000000037ff07be0 00 Down mceusb (Down)
08:06:19 T:3023828800 M:1777405952   DEBUG: OnKey: 167 (a7) pressed, action is Down
08:06:20 T:3023828800 M:1777410048   DEBUG: LIRC: Update - NEW at 1560753:000000037ff07bdd 00 OK mceusb (OK)
08:06:20 T:3023828800 M:1777410048   DEBUG: OnKey: 11 (0b) pressed, action is Select
08:06:20 T:3023828800 M:1777410048   DEBUG: CGUIMediaWindow::GetDirectory (pvr://recordings//The_Biggest_Loser_11#3A_Couples/)
08:06:20 T:3023828800 M:1777410048   DEBUG:   ParentPath = [pvr://recordings/]
08:06:20 T:2872421232 M:1777410048   DEBUG: CPVRDirectory::GetDirectory(pvr://recordings//The_Biggest_Loser_11#3A_Couples)
08:06:20 T:2872421232 M:1777410048   DEBUG: CPVRRecordings - GetSubDirectories - 'The_Biggest_Loser_11#3A_Couples' only has 1 subdirectory, selecting that directory ('The_Biggest_Loser_11#3A_Couples/2011.03.15-19#3A00-Tue/')
08:06:24 T:3023828800 M:1777545216   DEBUG: LIRC: Update - NEW at 1565459:000000037ff07bdc 00 Back mceusb (Back)
08:06:24 T:3023828800 M:1777545216   DEBUG: OnKey: 216 (d8) pressed, action is PreviousMenu
08:06:24 T:3023828800 M:1777545216   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
08:06:24 T:3023828800 M:1777545216   DEBUG: ------ Window Deinit (MyPVR.xml) ------
08:06:25 T:3023828800 M:1777545216   DEBUG: CGUIWindowManager::PreviousWindow: Activate new
08:06:25 T:3023828800 M:1777545216   DEBUG: ------ Window Init (Home.xml) ------
08:06:25 T:3023828800 M:1777545216    INFO: Loading skin file: Home.xml
08:06:25 T:3023828800 M:1777545216   DEBUG: Load Home.xml: 37.08ms
08:06:25 T:3023828800 M:1777545216   DEBUG: Alloc resources: 39.52ms (37.93 ms skin load)
08:06:25 T:3023828800 M:1779576832   DEBUG: ExecuteXBMCAction : Translating SetFocus(9000)
08:06:25 T:3023828800 M:1779576832   DEBUG: ExecuteXBMCAction : To SetFocus(9000)
08:06:27 T:3023828800 M:1779589120   DEBUG: UPower: Recieved an unknown signal DeviceChanged
08:06:28 T:3023828800 M:1779589120   DEBUG: LIRC: Update - NEW at 1569549:000000037ff07be0 00 Down mceusb (Down)
08:06:28 T:3023828800 M:1779589120   DEBUG: OnKey: 167 (a7) pressed, action is Down
08:06:29 T:2872421232 M:1775779840   DEBUG: DoWork - took 217 ms to load special://skin/backgrounds/videos.jpg
08:06:29 T:3023828800 M:1775906816   DEBUG: LIRC: Update - NEW at 1570533:000000037ff07be0 00 Down mceusb (Down)
08:06:29 T:3023828800 M:1775906816   DEBUG: OnKey: 167 (a7) pressed, action is Down
08:06:30 T:2872421232 M:1772040192   DEBUG: DoWork - took 265 ms to load special://skin/backgrounds/music.jpg
Reply
#6
same problem here. since the vdr video dir is shown in the folders i think this problem is related to the vdr-vnsi addon. this was working a week ago.
Reply
#7
it could be related to the changes I made to GetDirectory(). the code that showed directories was removed and I reimplemented it 2 weeks ago or so. the only change to the vdr addon was that it set the directory property in a recording entry afaik.

I'll run some tests later to verify if the code works as intended.
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply
#8
Any news on this?
Reply
#9
haven't looked into it yet
opdenkamp / dushmaniac

xbmc-pvr [Eden-PVR builds] [now included in mainline XBMC, so no more source link here :)]
personal website: [link]

Found a problem with PVR? Report it on Trac, under "PVR - core components". Please attach the full debug log.

If you like my work, please consider donating to me and/or Team XBMC.
Reply

Logout Mark Read Team Forum Stats Members Help
vdr-vnsi new recordings directory, exit on remote not working0