INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Rename, Move, Copy Funtion creates proper filepath but with an uneeded space  (Read 2376 times)

lobo85

  • World Citizen
  • ***
  • Posts: 145

I'm trying to change the file locations on Ubuntu 15.04 with Media Center 21.0.6 my problem is that with the find and replace tool an unnecessary space appears in my file path.

Example I type "J" for find what (J:\ is not found for some reason) and type
Code: [Select]
/media/"MY-USERNAME"/FantomHD as replace with.

what winds up happening is that MC now points to
Code: [Select]
/media/"MYUSERNAME"/FantomHD /(FOLDER-WITH-MY-MUSIC)
Any idea on why this happens or anything I can do to fix it?
Logged

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5174
  • "Linux Merit Badge" Recipient

It's kind of hard to see what the problem is in your post because your paths are both wrapped.  Could you use code tags so it's a little clearer what the actual formatting problem is?  

It might be as simple as adding a trailing "/", but I can't actually see where your extra space is?  Is the line break where the extra space is?
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10710

How tiny is your screen that its wrapping? Are you on a phone? :D

I don't know why it would create a space there. Looks odd, indeed.
I could imagine its replacing the : with it, since it considers it an invalid character (and you said you are just replacing J, not J:, right?)
Logged
~ nevcairiel
~ Author of LAV Filters

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5174
  • "Linux Merit Badge" Recipient

How tiny is your screen that its wrapping? Are you on a phone? :D

It's a 55" 1080p TV screen, but it's at 150% dpi scaling so I can read it from the couch.  So big screen and big font  ;D

Maybe it's the leading backslash in the original path being processed as an escape symbol?
Logged

lobo85

  • World Citizen
  • ***
  • Posts: 145

Yes I am using J  not J: or J:\
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10710

Does "J:" not work? It might solve your problem. :)
Logged
~ nevcairiel
~ Author of LAV Filters

lobo85

  • World Citizen
  • ***
  • Posts: 145

Does "J:" not work? It might solve your problem. :)
Stangely enough it says it is invalid.
Logged

Hendrik

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 10710

Validation is probably a bit overzealous. The source pattern should probably allow it, only the target should not.
Logged
~ nevcairiel
~ Author of LAV Filters
Pages: [1]   Go Up