Movie Sets Collection Grouping for Video Database Library Custom Sort Order Filters?

  Thread Rating:
  • 3 Votes - 4.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
RockDawg Online
Posting Freak
Posts: 1,257
Joined: Jun 2005
Reputation: 0
Post: #21
I went back and searched for a couple old posts I made about this topic awhile bcak and I found this interesting reply that I had completely foprgotten about:

This was posted over a year ago by kraqh3d (a dev who unfortunately hasn't been around since Feb.)

Quote:rockdawg,
this is a little different thing but yes this has brought up before, and it it will be added to the video database. there are some other changes to the video database coming soon so i want to bundle them all together. the "sortname" will be a hidden column in the database that advanced users will be able to take advantage of.

Can any mod/dev comment on whether oir not this ever made it in?
find quote
gamerzhaven81 Offline
Junior Member
Posts: 24
Joined: Sep 2007
Reputation: 0
Post: #22
Yeah see that would be perfect right there...any word from devs on this?
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,520
Joined: Oct 2003
Reputation: 138
Post: #23
It's not there. A patch would be welcome.

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.


[Image: badge.gif]
find quote
RockDawg Online
Posting Freak
Posts: 1,257
Joined: Jun 2005
Reputation: 0
Post: #24
jmarshall Wrote:A patch would be welcome.

I've always taken that trademark phrase to mean that none of the devs are willing to consider implementing said feature. Not just right now, but for the forseeable future. If that is an accurate assessment, can I ask why in reagrds to this feature?
find quote
gamerzhaven81 Offline
Junior Member
Posts: 24
Joined: Sep 2007
Reputation: 0
Post: #25
I'll be happy to patch it in if someone can point me in the right direction...I've searched through tons of code and so far I managed to find the sorting routines, but not the portion of code that passes the database fields to that function to be sorted.
find quote
sho Offline
Team-XBMC Member
Posts: 4,133
Joined: May 2004
Reputation: 3
Post: #26
RockDawg Wrote:If that is an accurate assessment, can I ask why in reagrds to this feature?
Most likely because there is no one currently maintaining the Video Library.

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.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,520
Joined: Oct 2003
Reputation: 138
Post: #27
Why "a patch would be welcome" is: Because I don't have time to devote to it.

What you'd need to do is:

1. Add the field to the VideoInfoTag.

2. Add the field to the database (VideoDatabase.h - you have to add to an enum, and to the offsets section - hopefully there's enough unused columns for this.

3. Adjust the sorting routines in SortFileItem to sort by the sort field you added (if it exists) rather than the title.

Once you've taken a look at that, just ask if you need more info.

Cheers,
Jonathan

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.


[Image: badge.gif]
find quote
gamerzhaven81 Offline
Junior Member
Posts: 24
Joined: Sep 2007
Reputation: 0
Post: #28
Will do, I'm just getting my dev laptop back up and re-installed visual studio last night, now I need to find the XDK on one of my hard drives somewhere then I'll start messing with it this weekend and see what I can do.
find quote
jmarshall Offline
Team-XBMC Developer
Posts: 24,520
Joined: Oct 2003
Reputation: 138
Post: #29
You can just use the win32 dev environment if you don't want to bother with the XDK - you just need the DirectX SDK.

tools/Win32/XBMC_PC.sln.

Cheers,
Jonathan

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.


[Image: badge.gif]
find quote
gamerzhaven81 Offline
Junior Member
Posts: 24
Joined: Sep 2007
Reputation: 0
Post: #30
Cool, I'm leaving work in a few, I'll post a patch if I can this weekend...
find quote
Post Reply