Windows [SOLVED]Pathsubmissions and new path

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Blaxxor Offline
Member
Posts: 51
Joined: Oct 2010
Reputation: 0
Post: #1
Hi !

I have a problem which I don't know how to solve.

I'm using XBMC Eden v11 and shares library by MySQL and everything is working fine.

Lately I've been running out of diskspace so I've kept placing files where i don't normally store them because the diskspace was full. So I ended up having shares named "HD Movies2", "HDMovies3" and so on.

But now I have bought a new drive and want to merge all HD Movies folders and place all of them in the same folder to store them like it's supposed to be.

This is when the problem arrives.

I tried to use Pathsubmissions to change path from HD Movies2 and 3 to just "HD Movies" where I want to place the files on my PC. It works fine, except that it keeps adding the movie again so I will have two posters of the same movie which both of them work.

I can live with XBMC adding the movie the second time because it's not that hard to remove the link so I can use the old one instead like it meant to with pathsubmissions. The biggest problem is that the movielink I removed keeps being added next time I update the library so it always ends up with to links to the same movie.

I don't want to stop XBMC from adding files from the merged path because there's where all new files will end up

To sum up the whole situation:

All movies from HD Movies 2 and HD Movies 3 have been moved to a new drive named HD Movies. Changed path in XBMC with Pathsubmissions and its working fine except for getting two copies of the movie in XBMC which is not a big problem since it's not that hard to remove the second one.

The second link to the movie keeps being added when i update the library. Wouldn't be a problem if I could remove the scanning of that path. But I can't do that since all new movies from today and forward will be added there and if I don't update then the new movies won't be added in the library.




Is there a way to stop XBMC from adding the old movies again or is there any other simple solution to my problem.

Would appreciate some help

//Stellan
(This post was last modified: 2012-05-02 17:12 by kricker.)
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #2
Here are the steps I would have taken.

Export video library as separate files.
Remove the un-needed sources and when asked remove those items from the library.
Move all movies to the new location.
Confirm that source is set properly in XBMC.
Go to settings\video\library and run a clean library command.
Go to movies and update the library.
If the exported files from the database export are no longer wanted, delete them.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
(This post was last modified: 2012-04-30 17:03 by kricker.)
find quote
Blaxxor Offline
Member
Posts: 51
Joined: Oct 2010
Reputation: 0
Post: #3
If I do as you say, will the watchedstatus follow?

And does your example work when using SQL?

//Stellan
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #4
I do not think the watched status will follow. I don't use SQL, but those steps should work regardless. You could always use a SQL database editing tool and replace the path on the moved files by hand. With a find replace function it should not be that bad.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
Blaxxor Offline
Member
Posts: 51
Joined: Oct 2010
Reputation: 0
Post: #5
(2012-05-01 20:22)kricker Wrote:  I do not think the watched status will follow. I don't use SQL, but those steps should work regardless. You could always use a SQL database editing tool and replace the path on the moved files by hand. With a find replace function it should not be that bad.

The watchedstatus didn't follow just for notice Smile

I tried changing the moviepaths in the "path" table in my SQL but it didn't help. Don't know if I should have changed somewhere else to.

Ended up doing a backup and removed sources as you said. Then moved the files and added sources again. Had to correct som small things and add watchflag again. But it wasn't a big job Smile

Is there a way to share sources and thumbnails in a easy way ? Using three PC's sharing library by SQL. But every PC has it's own thumbnails.

//Stellan
find quote
kricker Online
Team-XBMC QA Specialist
Posts: 3,307
Joined: Apr 2004
Reputation: 16
Location: Knoxville, TN
Post: #6
I guess easy would be a relative term. I've read of attempts using Dropbox and NAS's and path substitutions and/or symlinks. I've not tried any of it myself yet though. If you do a search in the forums, you should find some discussions related to that.

Read this before using these builds.
XBMC win32 SVN builds
Changelog
find quote
Blaxxor Offline
Member
Posts: 51
Joined: Oct 2010
Reputation: 0
Post: #7
(2012-05-02 16:16)kricker Wrote:  I guess easy would be a relative term. I've read of attempts using Dropbox and NAS's and path substitutions and/or symlinks. I've not tried any of it myself yet though. If you do a search in the forums, you should find some discussions related to that.

Thanks for your help regarding my paths. Will do a search in the forums for sharing thumbs ! Big Grin

//Stellan
find quote