Using FB2K for correcting file names that are too long ?, [Moved from Support] |
This is NOT a tech support forum.
Tech support questions go to foobar2000 Tech Support forum instead.
See also: Hydrogenaudio Terms of Service.
Using FB2K for correcting file names that are too long ?, [Moved from Support] |
Apr 13 2012, 21:54
Post
#1
|
|
|
Group: Members Posts: 208 Joined: 23-August 05 Member No.: 24082 |
Hi
I came across a weird problem today. I have been running a music library from an ext USB driver (320GB+, mostly mpt3 files) for my Logitech Squeezebox devices. Bought a nice new Win 7 64bit laptop today with a 750GB drive so tried to copy over the library. Annoyingly approx. 113 mp3 files refused to copy because of filename length issues. Don't understand why they can exist & be played from the USB drive on my old netbook, but there you go. Is there an easy way I can use FB2K to identify all the culprits & shorten the filename lengths to circumvent this problem ? thanks |
|
|
|
![]() |
Apr 18 2012, 11:38
Post
#2
|
|
![]() Group: Members Posts: 477 Joined: 5-June 11 Member No.: 91257 |
Yes it is possible to manage this information from within foobar2000.
Firstly, I would like to state that I am using Columns UI alternative user interface ("CUI"), and this allows me to create a custom column with conditional string colors, i.e. if path is below 255 characters in length then display the string using normal color, if string exceeds 255 characters display the string in bright red. As you may guess, having the option of coloring strings conditionally is a powerful visual aid, unfortunately the foobar2000 Default User interface ("DUI") does not have such features. So... this is how to do it : Create a custom column in your Playlist Viewer, and give it a name, eg: Path Len. and give it dimensions, eg: Width: 59 | Alignment: Centre and give it this Display script: $len(%path%) Restart foobar2000 (to permanently set this new configuration). Search your entire Media Library and create a custom playlist, @ foobar2000 toolbar -> Library -> Search @ Media Library Search window -> enter this query: ALL SORT DESCENDING BY "$len(%path%)" wait for list to fully populate... click button [...] -> Create Playlist close Media Library Search window You now have a Playlist of your entire Media Library sorted by Path Length, descending with highest number at the top of the list (as can be seen in your Path Len. column). Happy editing. P.S. --- was there a need to quote my whole previous post !!!??? |
|
|
|
swayzak Using FB2K for correcting file names that are too long ? Apr 13 2012, 21:54
derty2 Before commiting to a massive copy/backup job, it ... Apr 14 2012, 09:26
swayzak Many thanks
Is there a simpler method in FB2K e.g... Apr 18 2012, 08:13
swayzak Many thanks
However this sorts by path length (ra... Apr 18 2012, 13:34
derty2 Why do you care about the length of this argument?... Apr 18 2012, 14:01
swayzak Sorry - just being dim I guess.
I thought my issu... Apr 18 2012, 18:35![]() ![]() |
|
Lo-Fi Version | Time is now: 20th June 2013 - 00:53 |