MPDCenter


Re: MPDCenter - What to do?
#28
Thanks for your kind words.

But this will take a while as there are a couple of questions to be answered for such functionality.

My idea is like follows:
1) make a list of all files in a specified directory.
2) Start with the first file of that list and look for the existance of a file with the same name in the tree.
2a) If same filename found as mpd content file - ok
2b) If same filename found as ldr/dat entry - if it is in unnamed.mpd - ok
2c) If same filename found as ldr/dat entry - if it is in another mpd (at this point I do not know whether this file is already imported into that mpd or not. So I need to reload and compare both mpd.)

I hope I have not forgotten something.

The worst case is that there might be files inside the mpd content files that have the same name but different content. I can think of the following situation:
files in the directory:
figure1.ldr
model1.mpd (contains a figure1.ldr that is different from the others)
model2.mpd (contains a figure1.ldr that is different from the others)

With my above attempt not all cases are detected right now i think.

cu
Mike
Reply
« Next Oldest | Next Newest »



Messages In This Thread
MPDCenter - by Michael Heidemann - 2012-09-17, 19:38
Re: MPDCenter - by Max Martin Richter - 2012-09-22, 8:47
Re: MPDCenter - by Michael Heidemann - 2012-10-06, 22:58
Re: MPDCenter - by Michael Heidemann - 2012-10-07, 10:52
Re: MPDCenter - by Michael Heidemann - 2012-10-22, 20:19
Re: MPDCenter - by Michael Heidemann - 2012-11-02, 9:35
Re: MPDCenter - by Michael Heidemann - 2012-11-03, 18:04
Re: MPDCenter - by Michael Heidemann - 2012-11-09, 23:34
Re: MPDCenter - by Michael Heidemann - 2012-11-17, 11:00
Re: MPDCenter - by Michael Heidemann - 2012-12-14, 22:25
Re: MPDCenter - by Michael Heidemann - 2012-12-30, 20:48
Re: MPDCenter - by Michael Horvath - 2013-12-21, 23:01
Re: MPDCenter - by Orion Pobursky - 2013-12-21, 23:10
Re: MPDCenter - by Michael Heidemann - 2013-12-21, 23:24
Re: MPDCenter - by Michael Heidemann - 2013-12-21, 23:21
Re: MPDCenter - by Michael Horvath - 2013-12-21, 23:44
Re: MPDCenter - by Michael Heidemann - 2013-12-22, 8:33
Re: MPDCenter - What to do? - by Michael Heidemann - 2013-12-23, 8:48
Re: MPDCenter - by Merlijn Wissink - 2014-05-29, 9:46
Re: MPDCenter - by Willy Tschager - 2014-05-29, 17:15
Re: MPDCenter - by Merlijn Wissink - 2014-05-29, 17:18
Re: MPDCenter - by Travis Cobbs - 2014-05-29, 17:20
Re: MPDCenter - by Michael Heidemann - 2014-06-01, 15:37
RE: MPDCenter - by Michael Horvath - 2016-09-20, 7:04
RE: MPDCenter - by Michael Horvath - 2018-01-07, 17:11
RE: MPDCenter - by Michael Heidemann - 2018-02-18, 15:32
RE: MPDCenter - by Michael Horvath - 2018-02-18, 21:19
RE: MPDCenter - by Roland Melkert - 2018-02-18, 22:22
RE: MPDCenter - by Steffen - 2018-02-18, 22:33
RE: MPDCenter - by Michael Heidemann - 2018-02-24, 10:55
MPDCenter 2.4.0.0 - by Michael Heidemann - 2018-03-10, 14:14
RE: MPDCenter 2.4.0.0 - by Michael Horvath - 2018-03-10, 20:51
RE: MPDCenter 2.4.0.0 - by Michael Heidemann - 2018-03-16, 15:29
MPDCenter 2.4.1.0 - by Michael Heidemann - 2018-03-16, 15:27
MPDCenter 2.5.0.0 - by Michael Heidemann - 2018-10-05, 17:05
RE: MPDCenter 2.5.0.0 - by Johann Eisner - 2018-12-08, 16:04
RE: MPDCenter 2.5.0.0 - by Orion Pobursky - 2018-12-09, 2:35
RE: MPDCenter 2.5.0.0 - by Roland Melkert - 2018-12-09, 19:00
RE: MPDCenter - by Michael Horvath - 2018-08-22, 3:16
RE: MPDCenter - by Michael Horvath - 2018-08-22, 19:41
RE: MPDCenter - by Michael Heidemann - 2018-09-22, 6:58
RE: MPDCenter - by Michael Heidemann - 2018-10-05, 17:01
RE: MPDCenter - by Michael Horvath - 2018-12-09, 19:08
RE: MPDCenter - by Roland Melkert - 2018-12-09, 19:10
RE: MPDCenter - by Michael Horvath - 2019-06-19, 7:29
RE: MPDCenter - by Michael Horvath - 2019-06-19, 7:18
RE: MPDCenter - by Michael Horvath - 2020-02-11, 1:06
RE: MPDCenter - by Michael Heidemann - 2020-04-09, 11:06
RE: MPDCenter - by Michael Horvath - 2020-02-11, 1:31
RE: MPDCenter - by Orion Pobursky - 2020-02-11, 2:12
RE: MPDCenter - by Michael Horvath - 2020-02-11, 2:35
RE: MPDCenter - by Roland Melkert - 2020-02-11, 21:31
RE: MPDCenter - by Michael Horvath - 2020-02-12, 22:10
RE: MPDCenter - by Orion Pobursky - 2020-02-12, 23:06
RE: MPDCenter - by Michael Horvath - 2020-02-12, 23:45
RE: MPDCenter - by Orion Pobursky - 2020-02-12, 23:52
RE: MPDCenter - by Michael Horvath - 2020-02-16, 19:11
RE: MPDCenter - by Orion Pobursky - 2020-02-16, 20:28
RE: MPDCenter - by Michael Horvath - 2020-02-16, 21:53
RE: MPDCenter - by Michael Heidemann - 2020-04-09, 10:38
RE: MPDCenter - by Michael Heidemann - 2020-04-09, 10:51
RE: MPDCenter - by Michael Heidemann - 2020-04-09, 10:58

Forum Jump:


Users browsing this thread: 1 Guest(s)