Multiple paths in a bookmark
#46
hi kraqh3d,

yes that's exactly how i have it setup. the default image just shows up and on the movie info screen the thumbnail is there. actually in these directories there are a couple of movies that don't have an imdb entry and therefore i have a "movie.tbn" file there and those thumbails show up. it seems that just the imdb thumbnails are not showing up.

thanks for implementing this feature, i've been looking forward to this for a long time.
Reply
#47
kraqh3d,

i'm having a huge issue where no videos display in 'title' view.

some of my new movies (since multi-path was implimented) were showing and others were not.

i thought my myvideos31.db was corrupt (since this happens quite a bit... i wish the dbs were more stable!Wink so i renamed it and started over.

now i scan the video manually, choose the movie, and it dl's the info... but nothing shows in the 'title' view at all.

and the thumbs show fine in the 'files' view.
I'm not an expert but I play one at work.
Reply
#48
(kraqh3d @ dec. 06 2005,00:59 Wrote:ok, i just tested in both video and music. i get folder.jpg thumbs for folders which are in the root of the virtual path from all my real paths. i even added brand new ones to ensure they were not cached previously.

remember to re-enable "find remote thumbs".
hey thanx that worked........im sure i tried that vefore and it didnt work.......oh well it works now! :thumbsup:

good job! your work is well appreciated

now only to get this to be recognised in the httpapi client ( currently it only recognise the root)
Image
Reply
#49
update...

i know whats wrong with imdb thumbs... expect a fix in a day or two...

affini, if you dont mind, plz zip up your db and email it to me.... you dont have locked bookmarks, do you? this is likely one of two things... either path related, or related to the code that hides locked movies until the appropiate bookmark is unlocked. the matching code gets a little confused when there's two bookmarks that are identical. first one wins. and when there's two bookmarks which overlap, the one with the longest matching path wins.

hmm... i didnt realize the httpapi didnt recognize these paths. it should unless its circumventing xbmc's cvirtualdirectory class which abstracts *all* filesystem types. i bet httpapi doesnt understand the new virtual stack:// filesystem as well. i'll contact nad about this.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#50
(kraqh3d @ dec. 06 2005,06:49 Wrote:affini, if you dont mind, plz zip up your db and email it to me.... you dont have locked bookmarks, do you?  this is likely one of two things... either path related, or related to the code that hides locked movies until the appropiate bookmark is unlocked.   the matching code gets a little confused when there's two bookmarks that are identical.  first one wins.  and when there's two bookmarks which overlap, the one with the longest matching path wins.

hmm... i didnt realize the httpapi didnt recognize these paths.  it should unless its circumventing xbmc's cvirtualdirectory class which abstracts *all* filesystem types.  i bet httpapi doesnt understand the new virtual stack:// filesystem as well.  i'll contact nad about this.
i don't lock any bookmarks.

i'll email both the new db and the one that "partially" worked.
I'm not an expert but I play one at work.
Reply
#51
ok... im pretty sure i fixed imdb thumbs for items in the root of a multipath videos bookmark (hopefully without breaking anything else). give it a try.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#52
how long does the anon cvs take to propergate your changes?
because i just created a new build and the imdb thumbs still dont work.
Reply
#53
dont know exactly. but i can confirm that i got imdb thumbs showing up for files in the root of my multipath bookmark. post your debug log, i can tell if you have the code or not from it.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#54
i put a new build on and the thumbs do in deed showup, a pleasant surprise was all the thumbs/info that i imdb'd for a single bookmark also show up in the multiple bookmark.

thank you!
Reply
#55
good. so, we'll consider the thumb issue closed then. and yes, that's on purpose. i made sure that if the paths you've defined in a multipath bookmark overlap with an older single path bookmark, the thumbs will show up.

just so you know, there's a downside to overlapping bookmarks... the video database has code which will "hide" items from locked bookmarks until the bookmarks are unlocked. i think this was requested by some porno addict Smile

since the database only knows paths, xbmc has to match the path to a bookmark. the first 100% matching bookmark always wins and returns immediately. (by 100%, i mean the path in the database is exactly a bookmark path, case insensitve.) if there isnt an exact match, the longest matching bookmark path wins. but, due to the first case, the order matters. so if you have a multipath bookmark which is not locked, and you had an overlapping exact bookmark above it that was locked, those items wont be seen.

also, this systems provides a little extra security. instead of locking a bookmark, you can completely remove it from the config to hide items in the database. that's the best way to hide your porn Smile

** edit **
oh yeah... this weekend, i noticed that jmarshalls optimized sorting routines fix the sporadic issues i had with music. any other issues?



Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#56
yup imdb thumbs work perfect now.

thanks a lot!
Reply
#57
Sad 
(kraqh3d @ oct. 16 2005,22:26 Wrote:i know this is the feature many of you have been waiting for. over the last two weeks, i silently added support for this to music as test. once its all sorted out, it can potentially be ported into video and pictures. i've been testing it myself for the time being and fixed a few issues i had introduced. so far, i can say it works as well as any other bookmark type. i even scanned my music thru one of these bookmarks. now, i need a larger community to test it.

it only accepts hard drive, samba, and xbms type paths. any others will be stripped while the configuration is read. it's built on top of the existing directory and file reading classes so all the wierd problems some people have with samba will be present here as well. i recommend using guest access or putting the workgroup and user details in the samba paths. it'll work otherwise, but it may be confusing if you're asked to provide user details for more than one samba path.

since comma is a valid character in samba and xbms, we cannot use comma seperated paths as the path definition. instead, i've added support for multiple paths in the true xml way:
Quote:<bookmark>
<name>music</name>
<path>e:\music</path>
<path>f:\music</path>
<path>smb://someserver/music</path>
<path>xbms://someotherserver:1400/music</path>
</bookmark>
you may have noticed in the changelog that this format is also now supported my programs bookmarks Smile

what it does... it retrieves all the items from each of the defined paths and puts them into a single directory listing. it is a little slower because more than one path needs to be retrieved. and be careful with how many paths you use, and more importanty, how many items in each path. the xbox has limited memory, and will likely have problems if all the paths combined return 20,000 items.

what it does not do... it does not consolidate items that are named the identically into a single item. you can and will have more than one item with the same exact name.

known bugs... sorting doesnt work correctly. when sorting by name (the label of the items), sometimes items which are named identically are not next to each other.

hi,

i just wonder if that would work for more than 1 smb share on the same server - my situation :

i use a linksys fg250v2 nas storage device and the shares are bind a single directory on either one of the hdds ....

therefore i'd need to be able to do a thing like :
---------------------------
Quote:<bookmark>
<name>smb network share</name>
<path>smb://uuu:[email protected]/moviez 1</path>
<path>smb://uuu:[email protected]/moviez 2</path>
</bookmark>
<bookmark>
<name>workgroup (smb) network</name>
<path>smb://uuu:[email protected]/moviez 1</path>
<path>smb://uuu:[email protected]/moviez 2</path>
</bookmark>
-----------------------------
same required for pictures, muzak and files/games

any idea of how to solve that ??

and i am using an older version of the xbmc - from which version multi pathed bookmarks will work - especially the samba ones ;-)

cheers - ahab666
Reply
#58
Quote:i just wonder if that would work for more than 1 smb share on the same server

wow, no one likes to experiment anymore, eh? yes, of course, you can do that!

in one of my shares, i have four smb:// paths defined. not only do i have two shares point on the same computer due to two hard drives, i also have two other samba shares on two other computers being collapsed together into a single listing.

if you have two share points (one for each hard drive), just put them both in the same bookmark, just like in your examples. (though i dont know why you would list them in two different bookmarks like that. you dont need to do that.)

basically, you can mix and match multiple smb://, xbms://, and hard drive paths. but, remember that xbmc has a finite amount of memory. if the combined number of items (folders and files) in the root of all these paths is very high (over 10,000), xbmc will likely crash.



Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply
#59
hi kraqh3d,

first of all to say thanks for adding this its awesome, something i (and many others) have been waiting a long time for, really appreciate your efforts.

just wondering if you have any plans to make it (optionally??) consolidate identically named folders into one. imo this would make this absolutely perfect as it would mean files could be invisibly spread across shares.

thanks again,
coined
Reply
#60
at this time, i have no plans to add folder-level consolidation.
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Reply

Logout Mark Read Team Forum Stats Members Help
Multiple paths in a bookmark0