Deleting Picture from MyPictures or during slideshow????

  • Hi There

    I am having some problems deleting pictures from within MyPics... I am able to delete them through the context menu but am trying to shorten the process from 7 button pushes to 3!!

    I have tried adding delete to and in keymap.xml but with no success!!

    Some help please!!

    Also on a side note.. is it possible to delete the photos from within the full screen slideshow mode??

    Thanks in advance for your help

    JeNkO


  • I have tried adding delete to and in keymap.xml but with no success!!
    It should work. Post a debug log. At the very least, we should be able to see the actions in the log.

    Also on a side note.. is it possible to delete the photos from within the full screen slideshow mode??
    No. You cant.


  • Based solely on that date, it should be in that version, though you can never really sure if you dont compile it yourself. Is this in your changelog file?
    - 02-09-2006 fixed: Delete and Rename from Mediawindows didn't work from Keymap.xml


  • Hi jmarshall

    When i push the hash key from within mypictures i get the conformation box "Confirm file delete" come up just as it does from within the context menu but when i click yes it does not delete the file it just brings back the thumbnails of the photos which includes the one i have tried to delete.

    Hope this answers your query!!

    Some help required please

    Many Thanks

    JeNkO


  • So you have mapped delete to a button on the remote, and that function doesn't work?


  • addition......

    When i delete using the delete i get the following

    DEBUG FileManager::DeleteItem: IMG_0593.jpg
    INFO Loading skin file: DialogYesNo.xml
    INFO Loading skin file: DialogProgress.xml
    DEBUG CGUIMediaWindow::GetDirectory (smb://samba:lan@mediaserver/DISK 2/photos/1Canon/Angels/)

    And when i use the context menu to delete the photo i get the following..

    DEBUG FileManager::DeleteItem: IMG_0593.jpg
    INFO Loading skin file: DialogYesNo.xml
    INFO Loading skin file: DialogProgress.xml
    DEBUG FileManager: delete smb://samba:lan@mediaserver/DISK 2/photos/1Canon/Angels/IMG_0593.jpg
    DEBUG CGUIMediaWindow::GetDirectory (smb://samba:lan@mediaserver/DISK 2/photos/1Canon/Angels/)

    For some reason delete is not passing the path of the file through to the dialogyesno ?!?!?!?

    Again some help please...

    Many thanks already

    JeNkO


  • Hi There

    Thanks for the heads up!! You learn something new everyday!! =]

    Here is the debug log as requested!!

    31-08-2006 20:09:13 NOTICE -----------------------------------------------------------------------
    31-08-2006 20:09:13 NOTICE Starting XBoxMediaCenter. Built on Mar 17 2006
    31-08-2006 20:09:13 NOTICE Q is mapped to: Harddisk0Partition2
    31-08-2006 20:09:13 NOTICE Log File is located: Q:xbmc.log
    31-08-2006 20:09:13 NOTICE -----------------------------------------------------------------------
    31-08-2006 20:09:13 NOTICE Setup DirectX
    31-08-2006 20:09:13 INFO Available videomodes:
    31-08-2006 20:09:13 INFO Found mode: 720x480 at 50Hz,
    31-08-2006 20:09:13 INFO Found mode: 720x576 at 50Hz,
    31-08-2006 20:09:13 INFO Found mode: 720x480 at 60Hz,
    31-08-2006 20:09:13 NOTICE load settings...
    31-08-2006 20:09:13 NOTICE loading T:settings.xml
    31-08-2006 20:09:13 NOTICE Getting hardware information now...
    31-08-2006 20:09:13 INFO Using digital output
    31-08-2006 20:09:13 INFO AC3 pass through is enabled
    31-08-2006 20:09:13 INFO DTS pass through is enabled
    31-08-2006 20:09:13 NOTICE Checking resolution 10
    31-08-2006 20:09:13 INFO AV Pack: S-Video
    31-08-2006 20:09:13 INFO AV Flags: Pal60
    31-08-2006 20:09:13 NOTICE Setting autoresolution mode 6
    31-08-2006 20:09:13 NOTICE loading Q:XboxMediaCenter.xml
    31-08-2006 20:09:13 INFO Key combination detected for full debug logging (X+Y)
    31-08-2006 20:09:13 INFO map drives...
    31-08-2006 20:09:13 INFO map drive C:
    31-08-2006 20:09:13 INFO map drive E:
    31-08-2006 20:09:13 INFO map drive D:
    31-08-2006 20:09:14 INFO map drive F:
    31-08-2006 20:09:15 INFO Drives are mapped
    31-08-2006 20:09:15 INFO Checking skinpath existance, and existence of keymap.xml:Q:skin...
    31-08-2006 20:09:15 DEBUG Setting resolution 6
    31-08-2006 20:09:15 DEBUG We set resolution 6
    31-08-2006 20:09:15 DEBUG Setting resolution 6
    31-08-2006 20:09:15 DEBUG We set resolution 6
    31-08-2006 20:09:15 INFO load language file:Q:languageenglishstrings.xml
    31-08-2006 20:09:15 NOTICE loaded Q:systemplayersmplayerISO639-1.xml
    31-08-2006 20:09:15 NOTICE loaded Q:systemplayersmplayerISO639-2.xml
    31-08-2006 20:09:15 INFO load keymapping
    31-08-2006 20:09:15 INFO Loading Q:keymap.xml
    31-08-2006 20:09:15 INFO Checking skin version of: Project Mayhem III
    31-08-2006 20:09:15 INFO Skin version is: 2.0
    31-08-2006 20:09:15 INFO GUI format 720x576 PAL 4:3
    31-08-2006 20:09:15 INFO install unhandled exception filter
    31-08-2006 20:09:15 INFO creating subdirectories
    31-08-2006 20:09:15 INFO shortcuts folder:Q:shortcuts
    31-08-2006 20:09:15 INFO albums folder:Q:albums
    31-08-2006 20:09:15 INFO recording folder:Q:recordings
    31-08-2006 20:09:15 INFO screenshots folder:Q:screenshots
    31-08-2006 20:09:15 INFO thumbnails folder:Q:thumbs
    31-08-2006 20:09:15 INFO playlists folder:Q:albumsplaylists
    31-08-2006 20:09:15 INFO subtitle folder:Q:subtitles
    31-08-2006 20:09:15 NOTICE initialize assignment:[dash] network ip:[192.168.0.3] netmask:[255.255.255.0] gateway:[192.168.0.1] nameserver:[0.0.0.0]
    31-08-2006 20:09:15 WARNING Not initializing network, using settings as they are setup by dashboard
    31-08-2006 20:09:15 INFO init network
    31-08-2006 20:09:15 INFO get local ip address:
    31-08-2006 20:09:15 INFO ip adres:10.0.0.25
    31-08-2006 20:09:15 NOTICE start webserver
    31-08-2006 20:09:15 DEBUG xbmcHttpShim starts
    31-08-2006 20:09:15 INFO WebServer: Server starting using Q:web on 10.0.0.25:80
    31-08-2006 20:09:15 DEBUG DB: Registering database table
    31-08-2006 20:09:15 DEBUG DB: Registering database table
    31-08-2006 20:09:15 DEBUG DB: Registering database table
    31-08-2006 20:09:15 DEBUG UM: Loading User Configuration from file
    31-08-2006 20:09:15 DEBUG DB: About to read data file
    31-08-2006 20:09:15 DEBUG webs: Listening for HTTP requests at address 10.0.0.25
    31-08-2006 20:09:15 NOTICE XBFileZilla: Starting...
    31-08-2006 20:09:15 NOTICE XBFileZilla: Started
    31-08-2006 20:09:15 NOTICE Checking the Date!
    31-08-2006 20:09:15 INFO - Current Date is: 31-8-2006
    31-08-2006 20:09:15 NOTICE start dvd mediatype detection
    31-08-2006 20:09:15 NOTICE initializing playlistplayer
    31-08-2006 20:09:15 INFO lcd not used
    31-08-2006 20:09:15 NOTICE load default skin:[Project Mayhem III]
    31-08-2006 20:09:15 INFO load skin from:Q:skinProject Mayhem III
    31-08-2006 20:09:15 INFO delete old skin...
    31-08-2006 20:09:15 INFO Default 4:3 resolution directory is Q:skinProject Mayhem IIIpal
    31-08-2006 20:09:15 INFO Default 16:9 resolution directory is Q:skinProject Mayhem IIIpal16x9
    31-08-2006 20:09:15 INFO Skin version is: 2.0
    31-08-2006 20:09:15 INFO Loading skin includes from Q:skinProject Mayhem IIIpalincludes.xml
    31-08-2006 20:09:15 INFO load fonts for skin...
    31-08-2006 20:09:15 INFO Loading fonts from Q:skinProject Mayhem IIIpalfont.xml
    31-08-2006 20:09:15 INFO Load font:common-font13.xpr path:Q:skinProject Mayhem IIIfontscommon-font13.xpr
    31-08-2006 20:09:15 INFO Load font:common-font14.xpr path:Q:skinProject Mayhem IIIfontscommon-font14.xpr
    31-08-2006 20:09:16 INFO Load font:matrix8.xpr path:Q:skinProject Mayhem IIIfontsmatrix8.xpr
    31-08-2006 20:09:16 INFO Load font:common-font10.xpr path:Q:skinProject Mayhem IIIfontscommon-font10.xpr
    31-08-2006 20:09:16 INFO Load font:common-font12.xpr path:Q:skinProject Mayhem IIIfontscommon-font12.xpr
    31-08-2006 20:09:16 INFO Load font:special-normal-pal.xpr path:Q:skinProject Mayhem IIIfontsspecial-normal-pal.xpr
    31-08-2006 20:09:16 INFO Load font:special-bold-pal.xpr path:Q:skinProject Mayhem IIIfontsspecial-bold-pal.xpr
    31-08-2006 20:09:16 INFO load new skin...
    31-08-2006 20:09:16 INFO Skin version is: 2.0
    31-08-2006 20:09:16 INFO Loading skin file: home.xml
    31-08-2006 20:09:16 INFO Loading references file: Q:skinProject Mayhem IIIpalreferences.xml
    31-08-2006 20:09:16 INFO Loading user windows Q:skinProject Mayhem IIIpalcustom*.xml
    31-08-2006 20:09:16 INFO Loading skin file: Q:skinProject Mayhem IIIpalcustom1.xml
    31-08-2006 20:09:16 INFO Loading skin file: Q:skinProject Mayhem IIIpalcustom1_SettingsSubmenu.xml
    31-08-2006 20:09:16 ERROR Error, trying to add a second window with id 10055 to the window manager
    31-08-2006 20:09:16 INFO Loading skin file: Q:skinProject Mayhem IIIpalcustom2_SkinSettings.xml
    31-08-2006 20:09:16 INFO Loading skin file: Q:skinProject Mayhem IIIpalcustom3.xml
    31-08-2006 20:09:16 INFO Loading skin file: Q:skinProject Mayhem IIIpalcustom4.xml
    31-08-2006 20:09:16 INFO Loading skin file: Q:skinProject Mayhem IIIpalcustom5.xml
    31-08-2006 20:09:16 INFO Loading skin file: Q:skinProject Mayhem IIIpalcustom5_SlideshowOverlay.xml
    31-08-2006 20:09:16 ERROR Error, trying to add a second window with id 10059 to the window manager
    31-08-2006 20:09:16 INFO initialize new skin...
    31-08-2006 20:09:16 INFO Loading skin file: Pointer.xml
    31-08-2006 20:09:16 INFO Loading skin file: MusicOverlay.xml
    31-08-2006 20:09:16 INFO Loading skin file: VideoOverlay.xml
    31-08-2006 20:09:16 INFO Loading skin file: DialogVolumeBar.xml
    31-08-2006 20:09:16 INFO Loading skin file: DialogSeekbar.xml
    31-08-2006 20:09:16 INFO Loading skin file: DialogKaiToast.xml
    31-08-2006 20:09:16 INFO Loading skin file: DialogMuteBug.xml
    31-08-2006 20:09:16 INFO Loading Q:skinProject Mayhem IIIsoundssounds.xml
    31-08-2006 20:09:16 INFO skin loaded...
    31-08-2006 20:09:16 DEBUG Activating window ID: 10000
    31-08-2006 20:09:16 INFO removing tempfiles
    31-08-2006 20:09:16 NOTICE initialize done
    31-08-2006 20:09:16 NOTICE Running the application...
    31-08-2006 20:09:16 DEBUG FreeVisualisation() started
    31-08-2006 20:09:16 DEBUG FreeVisualisation() done
    31-08-2006 20:09:16 WARNING kernel32.dll fake function DisableThreadLibraryCalls called
    31-08-2006 20:09:16 INFO Get URL: http://feeds.feedburner.com/XboxScene
    31-08-2006 20:09:17 DEBUG Got rss feed: http://feeds.feedburner.com/XboxScene
    31-08-2006 20:09:17 DEBUG RSS feed encoding: UTF-8
    31-08-2006 20:09:17 DEBUG Parsed rss feed: http://feeds.feedburner.com/XboxScene
    31-08-2006 20:09:17 DEBUG FileCurl::Close(D05ADA70)
    31-08-2006 20:09:19 DEBUG Activating window ID: 10002
    31-08-2006 20:09:19 DEBUG FreeVisualisation() started
    31-08-2006 20:09:19 DEBUG FreeVisualisation() done
    31-08-2006 20:09:19 INFO Attempting to default to:
    31-08-2006 20:09:19 WARNING kernel32.dll fake function DisableThreadLibraryCalls called
    31-08-2006 20:09:19 INFO Loading skin file: MyPics.xml
    31-08-2006 20:09:19 DEBUG CGUIMediaWindow::GetDirectory ()
    31-08-2006 20:09:19 DEBUG ParentPath =
    31-08-2006 20:09:21 DEBUG CGUIMediaWindow::GetDirectory (smb://samba:lan@mediaserver/DISK 2/photos/)
    31-08-2006 20:09:21 DEBUG ParentPath =
    31-08-2006 20:09:26 DEBUG CGUIMediaWindow::GetDirectory (smb://samba:lan@mediaserver/DISK 2/photos/1Canon/)
    31-08-2006 20:09:26 DEBUG ParentPath = [smb://samba:lan@mediaserver/DISK 2/photos/]
    31-08-2006 20:09:29 DEBUG CGUIMediaWindow::GetDirectory (smb://samba:lan@mediaserver/DISK 2/photos/1Canon/Angels/)
    31-08-2006 20:09:29 DEBUG ParentPath = [smb://samba:lan@mediaserver/DISK 2/photos/1Canon/]
    31-08-2006 20:09:33 DEBUG FileManager::DeleteItem: IMG_0591.jpg
    31-08-2006 20:09:33 INFO Loading skin file: DialogYesNo.xml
    31-08-2006 20:09:36 INFO Loading skin file: DialogProgress.xml
    31-08-2006 20:09:36 DEBUG CGUIMediaWindow::GetDirectory (smb://samba:lan@mediaserver/DISK 2/photos/1Canon/Angels/)
    31-08-2006 20:09:36 DEBUG ParentPath = [smb://samba:lan@mediaserver/DISK 2/photos/1Canon/Angels/]


  • Bump


  • You need to post a debug log. Hold X+Y while Xbmc loads to enable debug mode. You know it worked if u see a freemem counter onscreen.


  • I have this fixed. It'll be in CVS shortly.

    Thanks jmarshall!! Really appreciate it!!! It will make my life so much easier!! Looking forward to getting my hand on the new CVS

    JeNkO


  • Please do not bump threads until atleast 24 hours have elapsed. This is a global development team. Not everyone is in the same timezone.


  • Hello again...

    I have found the problem but do not know how to fix it.... Some help please

    When using delete it runs the delete command like this...

    DEBUG FileManager DeleteItem: IMG_0591.jpg

    Which doesnt work!!

    However when using the context menu in the same window the delete command runs like this

    DEBUG FileManager: delete smb://samba:lan@mediaserver/DISK 2/photos/1Canon/Angels/IMG_0591.jpg

    Which DOES work!! =]

    I thinks that the context menu delete item is running a different command than delete!!

    Some help for a n00b please!!

    JeNkO


  • Hi Guys

    I cannot thank you enough for all of the help that i have recieved over this issue!! I have just updated my system to 2006-09-08 which works a treat!! You have made my life so much easier!!

    Thanks again for all you have done!!

    JeNkO


  • I've moved this to the bug forum. I suggest you open an official bug report on xbmc.sf.net as well. Be sure to include a debug log. And it would be helpful if you tested the Video and Music windows too as they all use the same code CGUIMediaWindow::OnDeleteItem(), for both the context menu options, and button use.


  • Hey there m8!!

    I cannot find a changelog in the release.. So i do not know!!

    Does anyone have a changelog for 2006-09-04 ??

    If anyone could find out would appreciate it!!

    Thanks for all of you help!!

    Look forward to getting this bug sorted!! =]

    JeNkO


  • Hi Kraqh3d

    Thanks for the heads up.... just desperate to get this sorted!!!

    Has anyone got any ideas why the delete command is not actually deleting??

    Some solution would be greatly appreciated!!

    Many Thanks

    JeNkO


  • Hi There

    I hope someone can find a fault with this!! Could really do with getting this to work!! Thanks for your help so far!!

    Here is the xbmc.log as requested!!

    31-08-2006 17:15:31 NOTICE -----------------------------------------------------------------------
    31-08-2006 17:15:31 NOTICE Starting XBoxMediaCenter. Built on Mar 17 2006
    31-08-2006 17:15:31 NOTICE Q is mapped to: Harddisk0Partition2
    31-08-2006 17:15:31 NOTICE Log File is located: Q:xbmc.log
    31-08-2006 17:15:31 NOTICE -----------------------------------------------------------------------
    31-08-2006 17:15:31 NOTICE Setup DirectX
    31-08-2006 17:15:31 INFO Available videomodes:
    31-08-2006 17:15:31 INFO Found mode: 720x480 at 50Hz,
    31-08-2006 17:15:31 INFO Found mode: 720x576 at 50Hz,
    31-08-2006 17:15:31 INFO Found mode: 720x480 at 60Hz,
    31-08-2006 17:15:31 NOTICE load settings...
    31-08-2006 17:15:31 NOTICE loading T:settings.xml
    31-08-2006 17:15:31 NOTICE Getting hardware information now...
    31-08-2006 17:15:31 INFO Using digital output
    31-08-2006 17:15:31 INFO AC3 pass through is enabled
    31-08-2006 17:15:31 INFO DTS pass through is enabled
    31-08-2006 17:15:31 NOTICE Checking resolution 10
    31-08-2006 17:15:31 INFO AV Pack: S-Video
    31-08-2006 17:15:31 INFO AV Flags: Pal60
    31-08-2006 17:15:31 NOTICE Setting autoresolution mode 6
    31-08-2006 17:15:31 NOTICE loading Q:XboxMediaCenter.xml
    31-08-2006 17:15:33 NOTICE loaded Q:systemplayersmplayerISO639-1.xml
    31-08-2006 17:15:33 NOTICE loaded Q:systemplayersmplayerISO639-2.xml
    31-08-2006 17:15:33 NOTICE initialize assignment:[dash] network ip:[192.168.0.3] netmask:[255.255.255.0] gateway:[192.168.0.1] nameserver:[0.0.0.0]
    31-08-2006 17:15:33 WARNING Not initializing network, using settings as they are setup by dashboard
    31-08-2006 17:15:33 NOTICE start webserver
    31-08-2006 17:15:33 NOTICE XBFileZilla: Starting...
    31-08-2006 17:15:33 NOTICE XBFileZilla: Started
    31-08-2006 17:15:33 NOTICE Checking the Date!
    31-08-2006 17:15:33 NOTICE start dvd mediatype detection
    31-08-2006 17:15:33 NOTICE initializing playlistplayer
    31-08-2006 17:15:33 NOTICE load default skin:[Project Mayhem III]
    31-08-2006 17:15:34 ERROR Error, trying to add a second window with id 10055 to the window manager
    31-08-2006 17:15:34 ERROR Error, trying to add a second window with id 10059 to the window manager
    31-08-2006 17:15:34 NOTICE initialize done
    31-08-2006 17:15:34 NOTICE Running the application...
    31-08-2006 17:15:34 WARNING kernel32.dll fake function DisableThreadLibraryCalls called
    31-08-2006 17:15:36 WARNING kernel32.dll fake function DisableThreadLibraryCalls called


  • Hi Jmarshall

    I have just updated to the latest CVS 2006-09-04 and i am still having the same problem trying to delete pictures using hash ( delete )

    Has your fix been put into this cvs??

    Here is my debug log is ur interested..

    DIRECTORY::CSMBDirectory::OpenDir - Using authentication url smb://xbox:changeme@mediaserver/DISK%202/photos/1Canon/Angels
    DEBUG: CApplication::OnKey: 41 pressed, action is 80
    **Using delete**
    DEBUG: FileManager::DeleteItem: IMG_0598.jpg
    INFO: Loading skin file: DialogYesNo.xml
    DEBUG: CApplication::OnKey: 168 pressed, action is 2
    DEBUG: CApplication::OnKey: 11 pressed, action is 7
    INFO: Loading skin file: DialogProgress.xml
    DEBUG: CGUIMediaWindow::GetDirectory (smb://xbox:changeme@mediaserver/DISK 2/photos/1Canon/Angels/)
    DEBUG: ParentPath = [smb://xbox:changeme@mediaserver/DISK 2/photos/1Canon/Angels/]
    DEBUG: DIRECTORY::CSMBDirectory::OpenDir - Using authentication url smb://xbox:changeme@mediaserver/DISK%202/photos/1Canon/Angels
    DEBUG: CApplication::OnKey: 229 pressed, action is 117
    INFO: Loading skin file: DialogContextMenu.xml
    DEBUG: CApplication::OnKey: 167 pressed, action is 4
    DEBUG: CApplication::OnKey: 167 pressed, action is 4
    DEBUG: CApplication::OnKey: 167 pressed, action is 4
    DEBUG: CApplication::OnKey: 11 pressed, action is 7
    **Using Context Menu**
    DEBUG: FileManager::DeleteItem: IMG_0598.jpg
    INFO: Loading skin file: DialogYesNo.xml
    DEBUG: CApplication::OnKey: 168 pressed, action is 2
    DEBUG: CApplication::OnKey: 11 pressed, action is 7
    INFO: Loading skin file: DialogProgress.xml
    DEBUG: CURL::CURL - Url has no protocol IMG_0598.jpg, empty CURL created
    DEBUG: FileManager: delete smb://xbox:changeme@mediaserver/DISK 2/photos/1Canon/Angels/IMG_0598.jpg
    DEBUG: CGUIMediaWindow::GetDirectory (smb://xbox:changeme@mediaserver/DISK 2/photos/1Canon/Angels/)
    DEBUG: ParentPath = [smb://xbox:changeme@mediaserver/DISK 2/photos/1Canon/Angels/]
    DEBUG: DIRECTORY::CSMBDirectory::OpenDir - Using authentication url smb://xbox:changeme@mediaserver/DISK%202/photos/1Canon/Angels

    Hope this helps!!

    Thanks very much for all that you and the team have done for me so far!!

    JeNkO


  • I have this fixed. It'll be in CVS shortly.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about Deleting Picture from MyPictures or during slideshow???? , Please add it free.

    My rights and duties- employer asks me to provide testimony in its civil lawsuit TU Settlement - Credit Inqury on my credit report