PDA

View Full Version : scan program problem


calle81
2003-10-02, 16:49
my xbmc doesnt scan f: in my programs. is this a known bug or is it only me http://www.xboxmediaplayer.de/forums/non-cgi/emoticons/tounge.gif

Frodo
2003-10-02, 19:29
works here,
anybody else?

frodo

tslayer
2003-10-03, 23:19
works for me too.

calle81
2003-10-08, 01:29
still doesn't work for me. it finds apps on e: but none on f: and i probably have 100 games and apps on there.

i have an ibm 120 gb hd and run xbmc from mxm. xbmc is located in f:\apps\xbmc and im using the latest cvs release.

the album art feature doesnt work too well either. only in 1 out of 10 times the album art is saved. some times i need to lookup the album several times before its saved even though it displays the cover when in the review/tracks screen.

it can't only be me having these problems.

floink
2003-10-11, 08:27
same problem here. try to 'go to' f: and scan but still only scans c:. it only finds avalaunch.xbe evolutionx.xbe xboxdash and default.xbe. got 50 games 30 emus and 15 utils.

maybe this should be a seperate thread but;
i have the exact same prob with cddb as described above. it also find 'wrong' cddb info but saves that anyway. is it possible to get the same functionality as in the xbmp-imdb function where you scroll the search result and pick the appropriate one?

(running 8/10 cvs of xbmc, xbox 1.0, 120gb disc)

/nick

calle81
2003-10-18, 18:27
frodo, do you have a clue about what's causing this problem?

floink
2003-10-19, 02:16
using 10-18 build

still have same problem.

Frodo
2003-10-19, 10:05
no, dont have any clue.
like i said works for me and some other ppl
maybe it has something todo with
-lba48 ??
-bios?
-??

frodo

floink
2003-10-19, 17:03
hmm

i have...

-x2 pro - 4977 bios
-120gb drive
-ir-mod from chiptech (probably no effect?)

-i don't use lba48

do i have to go to f-drive in order to get xbmc to scan f or does the 'scan-button' scan all drives in one batch? as i've said before it only manages to find the apps on c:.

tslayer
2003-10-19, 19:55
scan will is hardcoded to scan c, e, f.

does your xboxmediacenter.xml possibly not have the use f drive setting?

ts

floink
2003-10-19, 22:43
if youre refering to this:


<!-- determines which drives 2 use. change this for lba48 !-->
<usefdrive>yes</usefdrive>
<usegdrive>no</usegdrive>


...then above is what i have in my xbmc.xml

and i can browse all drives the normal way. it's just that the shortcut function doesn't seem to go down in folders. recursive or what ever it's called http://www.xboxmediaplayer.de/forums/non-cgi/emoticons/tounge.gif

tslayer
2003-10-19, 23:57
weird.. not sure what is up... works great for me.

looking at the code, there is nothing different in how it scans.

it just looks for all .xbe in all folders starting at c, e, f roots.

i'm really not sure how it is only scanning your c partition.

are you able to create a bookmark to something on your f drive and browse to applications that way?

ts

floink
2003-10-21, 11:58
jupp... no problem at all.

i used the syntax from one of the auto created shortcuts and changed it to one of my games in f:.

like this:

<shortcut>
<path>f:\games\gamefoldername\default.xbe</path>
</shortcut>

tslayer
2003-10-21, 17:51
no, what i meant was are you able to create a "bookmark" that points to just f:\games (in xboxmediacenter.xml) and then browse to the applications(xbe files) in there?

ts

floink
2003-10-22, 12:09
ok did that, and strange things happen...

created a file named 'games.cut' with the contents:

<shortcut>
<path>f:\games</path>
</shortcut>

tested:

<shortcut>
<path>f:\games\</path>
</shortcut>

to and same behaviour

when selecting this, i think xbmc exits to my dash which is xbmp. at least the screen goes black for a couple of secs and the xbmp starts as when i boot up.

Frodo
2003-10-22, 14:07
shortcuts only work for referencing .xbe files
not for referencing directories
frodo

floink
2003-10-22, 17:13
ok that explains that fact... is the proper behaviour of selecting a 'bad' cut-file, to exit to dash? does xbmc crash or does the cut-file trigger a reboot?

no further clues on why some of us can't use the 'scan for apps' button?

tslayer
2003-10-22, 21:47
i've been trying to tell you not to use a .cut. use a bookmark as defined in xboxmediacenter.xml such that it references the f:\games directory... just to test to see if you can access it that way..

a bookmark such as:

<myprograms>
<bookmark>
<name>games</name>
<path>f:\games</path>
</bookmark>
<myprograms>

ts

floink
2003-10-23, 01:01
aaw ooookey * *http://www.xboxmediaplayer.de/forums/non-cgi/emoticons/tounge.gif

well that works fine... but i don't have any problem accessing the games. i just want the scanning to work so i don't have to browse through folders to start my apps/games.

and until the flattening of folders and show only default.xbe is implemented and running as smooth as in avalaunch i think the shortcut solution is a lot better.

calle81
2003-10-23, 01:36
im still having the exact same problem http://www.xboxmediaplayer.de/forums/non-cgi/emoticons/tounge.gif . ican see the dialog window showing f:\ for a second but then stops without going through any folders.

Hullebulle
2003-10-23, 03:11
there has been a bugfixed for this issue added to the cvs today. so maybe the problem is solved now.

from the cvs log: fixed: xbmc didnt scan c: in my programs?

tslayer
2003-10-23, 07:15
floink,

i made changes for flattening and default.xbe such that it is as fast as other dashs. it now loads pretty much instantaneous.

just need to wait for the developers to look over my change and then submit it officially.

if you can compile, you can get the patch at:

http://sourceforge.net/tracker....=581840 (http://sourceforge.net/tracker/index.php?func=detail&aid=820393&group_id=87054&atid=581840)

ts

tslayer
2003-10-23, 07:24
one more thing.

what does your f partition look like in the root?

meaning, what files are there and what directories? maybe there is something out of the ordinary causing this problem?

can you list what the root of f: looks like?

thanks,

ts

floink
2003-10-23, 16:10
problem solved! yay! :)

as you suspected tslayer. my root of f: contained one 'application.xbe'. i removed that file and now the scan worx flawlessly. 92 apps found.

maybe this is a bug though? or is it an unsolvable limitation in the functionality?

what i also noticed is that it lists shortcuts to all apps and not just default.xbe.

tslayer
2003-10-23, 17:08
that is the intended behaviour. to list all apps, not just default.xbe.

go take a look at the link to the patch that i uploaded on sourceforge. if you use that, you can tell it to just look for default.xbe.

as for being a bug when it finds an application.xbe in the root.. as it is now, that is how it was designed. once it finds an xbe, it will not recurse further into other directories(you can see there was a recent fix for that on the c drive only).
maybe that should be applied for all the drives that get scanned.

but i'm glad it is now working for you :)

ts

floink
2003-10-23, 18:33
i'm glad too. http://www.xboxmediaplayer.de/forums/non-cgi/emoticons/wink.gif

as for not scanning further if app.xbe found kind of contradicts not only scanning default.xbe. but i guess default.xbe always resides in the 'root directory' for all applications, therefore the reason for that? am i right?

tslayer
2003-10-23, 19:04
yeah, that is the assumption i went on as well. default.xbe will always be in the root directory.
i think that is the assumption other dashboards go by as well.

so, if you have a bookmark such as f:\games then the default.xbe(or any xbe) will always be under f:\games\dir1 or f:\games\dir2, etc...

i hope that is a valid assumption as that is what i have based my patch on for flattening directories.

my patch also modifies scanning such that if you have selected to only scan for default.xbe, it will recursively search for any xbe and then just look in that directory for default.xbe and not go any further.

so, i guess the main assumption is that when an xbe is found, there will not be any further xbes in any subdirectories.

ts

XBoxgeek
2003-10-24, 11:39
i also run gentoox linux and the gentooxx.xbe has to stay in the root of e: this means no other files on e: are scanned.

would be nice to override the default settings and let it scan past this.

cheers
xboxgeek

Gamester17
2003-10-24, 12:22
i would say this is a bug, please post a detailed bug report on sourceforge for it, that will be uses for tracking and reference. tia

tslayer
2003-10-24, 18:35
gamester,

it looks like a fix was already put in for the c partition. i think the logic just needs to be extended for the other partitions as well.

basically, don't stop scanning if an application is found in the root of the partition. (i think).

ts