Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for SMB File Rename if same share #11446

Merged
merged 1 commit into from Jan 15, 2017
Merged

Add support for SMB File Rename if same share #11446

merged 1 commit into from Jan 15, 2017

Conversation

fedux
Copy link
Contributor

@fedux fedux commented Jan 14, 2017

Description

If the file to be moved in ActionMove is in the same SMB share it can be renamed.

Motivation and Context

Copying a file instead of renaming is inefficient as it has to be transferred twice over the network. This makes move operations a server side operation.

How Has This Been Tested?

Tested in my own setup.

Types of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the Code guidelines of this project
  • My change requires a change to the documentation, either Doxygen or wiki
  • I have updated the documentation accordingly
  • I have read the CONTRIBUTING document
  • I have added tests to cover my change
  • All new and existing tests passed

(replaces #11445)

If the file to be moved in ActionMove is in the same SMB share it can be renamed.
@Paxxi
Copy link
Member

Paxxi commented Jan 14, 2017

jenkins build and merge this please

@jenkins4kodi jenkins4kodi merged commit a71741f into xbmc:master Jan 15, 2017
@arnova
Copy link
Member

arnova commented Jan 15, 2017

It seems the same is true for Dav and NFS, so those might also be added.

@MartijnKaijser MartijnKaijser added Type: Fix non-breaking change which fixes an issue v18 Leia labels Jan 20, 2017
@MartijnKaijser MartijnKaijser added this to the L 18.0-alpha1 milestone Jan 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Fix non-breaking change which fixes an issue v18 Leia
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants