INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: IMJFilesAutomation sort still broken?  (Read 3216 times)

WickedEwok

  • Regular Member
  • Recent member
  • *
  • Posts: 34
  • Software Architect
IMJFilesAutomation sort still broken?
« on: December 30, 2003, 11:47:55 am »

Hi Matt and Nikolay,

It looks to me (and I might be crazy) that IMJFilesAutomation->Sort() is still broken, in that it will always sort by Artist, and not by any sort settings that the user has specified.

Is there some other function I can use? I'd really like to present the user with the same tree that they see in MediaCenter.

Thanks!
Logged

sapnho

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 301
  • Leave a legacy
Re:IMJFilesAutomation sort still broken?
« Reply #1 on: December 30, 2003, 01:44:49 pm »

This is exactly the bug that I wrote twice about here on the forum but received no feedback.  :'(
As far as I can see it, it is also the bug that causes smartlists called up through NetRemote to not be random at all but sorted by artists as well. :'( :'(
Would be great to find some sort of solution! :)
Logged

Mastiff

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1988
  • The Multi-Zone Tzar
Re:IMJFilesAutomation sort still broken?
« Reply #2 on: December 31, 2003, 02:06:38 am »

It would be very nice if this could be fixed, yes.
Logged
Tor with the Cinema Inferno & Multi-Zone Audio system

sapnho

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 301
  • Leave a legacy
Re:IMJFilesAutomation sort still broken?
« Reply #3 on: January 16, 2004, 11:35:49 am »

Still no answer? :'( :'( :'(
Logged

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42382
  • Shoes gone again!
Re:IMJFilesAutomation sort still broken?
« Reply #4 on: January 16, 2004, 12:05:06 pm »

It's impossible to know what setting to use, so we use a default artist, album, track #, name.

Ideally we need a new sort function that takes a parameter.  You could always build the sort into your searches for now.

Thanks guys.
Logged
Matt Ashland, JRiver Media Center

WickedEwok

  • Regular Member
  • Recent member
  • *
  • Posts: 34
  • Software Architect
Re:IMJFilesAutomation sort still broken?
« Reply #5 on: January 16, 2004, 01:48:36 pm »

Thanks for the reply, Matt.

Couldn't you use the sort that is defined for that view? Or some global sort defined? Or at least take out the default artist and put album artist (auto) instead?

This is a problem for any CD with multiple artists, as the sort is always wrong.

Thanks Matt! I look forward to a fix/workaround for this issue.
Logged

sapnho

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 301
  • Leave a legacy
Re:IMJFilesAutomation sort still broken?
« Reply #6 on: January 17, 2004, 03:46:26 pm »

It's impossible to know what setting to use, so we use a default artist, album, track #, name.

Thanks for the answer, Matt. However, I don't understand what this means. Why apply any sort rather than the view sort?

This a big issue for all NetRemote users using MC as multiple artist albums are just not playable. I suspect this is also the reason why called up smart lists always have the same order. MC is great but not always ideal as a front end. This is why many people use NetRemote together with MC. Not being able to exploit the vast power of Media Center would be very sad.

So if you could solve this issue, you would make many many people happy. ::)

Thanks! :)
Logged

nila

  • Guest
Re:IMJFilesAutomation sort still broken?
« Reply #7 on: January 17, 2004, 10:00:09 pm »

It's impossible to know what setting to use, so we use a default artist, album, track #, name.

Ideally we need a new sort function that takes a parameter.  You could always build the sort into your searches for now.

Thanks guys.

I tried this Matt and the data returned was still unsorted.

I used the same string in MC's search bar and it was sorted, for the plugin though it wasn't?

Does it definitely sort it if called with the SDK?
If so I'll try again but I'm pretty sure it wasn't sorting (could have lost the sorting when I grouped by albums I guess).

If it's definitely meant to then I'll keep playing with it.
Logged

Rob L

  • Regular Member
  • Galactic Citizen
  • ****
  • Posts: 469
Re:IMJFilesAutomation sort still broken?
« Reply #8 on: February 20, 2004, 07:57:46 am »

Nah, sorting's definitely not working.

I have a view scheme defined called "random" (at the moment, I was using Girder to sent MJEXTMAN commands to play then when I press a particular button, but there are reasons why I wanted to do it using the automation interface instead).

Unsurprisingly, that View scheme has "sort:[random]" specified.

When I use GetViewItem and then GetFiles, it just returns a completely alpha-sorted list of all the files. It's totally ignored the "sort:[random]" bit. Even calling Sort on the files returned doesn't change that.

Even calling DoCommand on the View causes it to play the files in alpha sort order!

(That's with MC 10.0.74)


Logged
Pages: [1]   Go Up