INTERACT FORUM

Please login or register.

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

Author Topic: Expression String no longer works  (Read 2791 times)

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Expression String no longer works
« on: April 23, 2012, 01:11:05 pm »

the string,  ListItem([Filename (path)], Math(ListCount([Filename (path)], \) - 1), \)
no longer displays the folder name when multiple files are in that folder. this happened after upgrading to version 17.0.129
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

Matt

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 42372
  • Shoes gone again!
Re: Expression String no longer works
« Reply #1 on: April 23, 2012, 01:22:34 pm »

That expression seems to work for me.

Maybe you could try the latest:
http://yabb.jriver.com/interact/index.php?topic=71692.0
Logged
Matt Ashland, JRiver Media Center

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Expression String no longer works
« Reply #2 on: April 23, 2012, 02:10:59 pm »

Curious.  It works for me in both 129 and 132.

Btw. there is also now the new FileFolder() expression.  These are equivalent to the expression above:

   FileFolder()
   FileFolder(,0)

Logged
The opinions I express represent my own folly.

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Expression String no longer works
« Reply #3 on: April 23, 2012, 02:58:21 pm »

odd. only folders with a single file into it works. display is left blank for anything over 1 file...
how would i write the new filefolder expression?
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Expression String no longer works
« Reply #4 on: April 23, 2012, 04:15:41 pm »

how would i write the new filefolder expression?

It's there listed in the reply above; either of:

   FileFolder()
   FileFolder(,0)

will do the trick.
Logged
The opinions I express represent my own folly.

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Expression String no longer works
« Reply #5 on: April 23, 2012, 07:21:30 pm »

thank you, will give that a try.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Expression String no longer works
« Reply #6 on: April 23, 2012, 07:23:46 pm »

That expression seems to work for me.

Maybe you could try the latest:
http://yabb.jriver.com/interact/index.php?topic=71692.0

thanks Matt, i do have the latest J river 17.0.132, but same issue. will try the new expression mentioned above when i get home. will let you know if that works.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Expression String no longer works
« Reply #7 on: April 24, 2012, 02:58:15 am »

I tried both strings above, still doesn't fix the issue. i'm at a loss. it doesn't make much sense.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Expression String no longer works
« Reply #8 on: April 24, 2012, 03:05:57 am »

(deleted)
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Expression String no longer works
« Reply #9 on: April 24, 2012, 04:25:44 pm »

I should mention, that if there is more than one of the same file type in the folder, it doesn't show folder name. having one video and one Jpg seems to be fine, but if 2 or more videos in the folder, the display folder name goes blank.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Expression String no longer works
« Reply #10 on: April 24, 2012, 09:36:17 pm »

Can you show a screenshot of this in a panes view?  Add a pane with an expression column from your first post.  Be sure the filename (full path and file) is showing in the file list below.
Logged
The opinions I express represent my own folly.

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Expression String no longer works
« Reply #11 on: April 25, 2012, 12:19:38 am »

Can you show a screenshot of this in a panes view?  Add a pane with an expression column from your first post.  Be sure the filename (full path and file) is showing in the file list below.

is this what you are after? all the blanks in the folder column are multiple video files in that folder, eg series tv shows.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Expression String no longer works
« Reply #12 on: April 25, 2012, 12:43:22 am »

What is the file / folder listing under one of these?  For example, under E:\Video\Big Bang Theory, The S4.

I'm guessing that the code that catches and manages DVD and Blu-ray sub-folders is being tripped up by multiple items.
Logged
The opinions I express represent my own folly.

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Expression String no longer works
« Reply #13 on: April 25, 2012, 05:54:43 am »

What is the file / folder listing under one of these?  For example, under E:\Video\Big Bang Theory, The S4.

I'm guessing that the code that catches and manages DVD and Blu-ray sub-folders is being tripped up by multiple items.

Hi MrC
if you mean what files in the folder,
they are

The Big Bang Theory [2.01].avi
"                           "[2.02].avi
through to [2.23]

there are also MKV files in other folders and MP4,  all have same issue

if i remove all but one file from folder, after J river refreshes the library, the folder name shows. i place the files back, jriver refreshes and folder label gone again.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Expression String no longer works
« Reply #14 on: April 25, 2012, 10:29:24 am »

I'm failing to reproduce this (see attached) from the information available.  The only things I can think of now are a) PM me an playlist export showing all files/fields, or b) wait until Matt or someone asks for a Library.

Logged
The opinions I express represent my own folly.

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Expression String no longer works
« Reply #15 on: April 30, 2012, 02:51:32 am »

I'm failing to reproduce this (see attached) from the information available.  The only things I can think of now are a) PM me an playlist export showing all files/fields, or b) wait until Matt or someone asks for a Library.



Hi MrC.

how do i do this?

Thanks
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Expression String no longer works
« Reply #16 on: April 30, 2012, 11:34:50 am »

Select all you tracks from the view that shows the problem.  Use File > Export Playlist and set the Format to Text File (CSV delimited).  Select All Fields under Included Files, and select All under Output Range.

Hit OK, and this will generate a text file you can email.  Send it via PM if you can.
Logged
The opinions I express represent my own folly.

MrC

  • Citizen of the Universe
  • *****
  • Posts: 10462
  • Your life is short. Give me your money.
Re: Expression String no longer works
« Reply #17 on: May 01, 2012, 01:28:19 pm »

I've tried and tried, but can't reproduce this from the fields in your CSV.
Logged
The opinions I express represent my own folly.

Blaine78

  • Galactic Citizen
  • ****
  • Posts: 472
Re: Expression String no longer works
« Reply #18 on: May 01, 2012, 09:43:27 pm »

I've tried and tried, but can't reproduce this from the fields in your CSV.

really odd. i don't get it either. it was fine, has has been fine for ages. only the last couple of updates have affected it. I've even re-installed JRiver.
Logged
Windows 10 | Sony 55W805C TV | Metrum Acoustics Musette DAC | Luxman L-550AX | PMC Twenty.23
Pages: [1]   Go Up