[Videos] [Mantis 4404] PLAY button remote can Play Vidéo in selected folder (1 Viewer)

azzuro

Test Group
  • Team MediaPortal
  • May 10, 2007
    9,948
    5,617
    France - IDF
    Home Country
    France France
    Hi, Team and Dev.

    Please Can you modify the function Play (with remote) on Myvidéos.

    For Play all vidéo into Selected folder. as MyMusic.

    with the new Myvidéo 1.3, this function exists, but is only possible by F9 menu.

    Thx

    Romain

    edit :
    http://mantis.team-mediaportal.com/view.php?id=4404
     
    Last edited:

    Deda

    Lead Dev MP1 Videos
  • Premium Supporter
  • March 18, 2009
    2,423
    2,385
    Zagreb
    Home Country
    Croatia Croatia
    GUIVIdeoFiles ->current master>line 642

    change:
    Code:
    	  if ((item.IsFolder && !item.IsBdDvdFolder))
    	  {
    		_currentSelectedItem = -1;
    	   
    		if (facadeLayout != null)
    		{
    		  _history.Set(facadeLayout.SelectedListItemIndex.ToString(), _currentFolder);
    		}
    	   
    		LoadDirectory(path);
    	  }

    with:
    Code:
    	  if ((item.IsFolder && !item.IsBdDvdFolder))
    	  {
    		// Play all in folder
    		if (_playClicked)
    		{
    		  if (!item.IsRemote && item.Label != ".." && !VirtualDirectory.IsImageFile(Path.GetExtension(item.Path)))
    		  {
    			if (!_virtualDirectory.RequestPin(item.Path))
    			{
    			  _playClicked = false;
    			  return;
    			}
    		   
    			OnPlayAll(item.Path);
    			_playClicked = false;
    		  }
    		}
    		else
    		{
    		  _currentSelectedItem = -1;
     
    		  if (facadeLayout != null)
    		  {
    			_history.Set(facadeLayout.SelectedListItemIndex.ToString(), _currentFolder);
    		  }
     
    		  LoadDirectory(path, true);
    		}
    	  }

    can't create branch for now but that's whole patch
     

    Users who are viewing this thread

    Top Bottom