M3U format options [#6255]

Post a reply

Smilies
:D :) :( :o :-? 8) :lol: :x :P :oops: :cry: :evil: :roll: :wink:

BBCode is ON
[img] is ON
[url] is ON
Smilies are ON

Topic review
   

Expand view Topic review: M3U format options [#6255]

Re: M3U format options [#6255]

by Ludek » Wed Mar 14, 2012 2:59 pm

I am able to replicate the issue, tracked as http://www.ventismedia.com/mantis/view.php?id=9213

Re: M3U format options [#6255]

by PromisedPlanet » Tue Nov 08, 2011 8:48 am

rusty wrote:Tested 1420 and the m3u format options are all working for me. I tested both wmdm and usbms plugins, and tested with 'Organize playlists using...' both enabled and disabled.

Is the problem always occurring for you with the latest build? Perhaps a debug log?

Thanks.

-Rusty
Extended M3U not working for me in build 1456. I get a #EXTM3U tag but no #EXTINF tags.

Configuration on playlists page:

- Sync playlists checked
- Library playlists checked
- Destination directory: \
- Organize Playlists using: prefix for each playlist type
- Force relative paths checked
- Use extended M3U checked
- Use Linux folder separator checked

Will send you a debug log, thanks.

Re: M3U format options [#6255]

by rusty » Thu Aug 25, 2011 10:13 am

I suppose the UI can be cleaned up a bit to make this more obvious.

Covered at: http://www.ventismedia.com/mantis/view.php?id=8254

-Rusty

Re: M3U format options [#6255]

by nohitter151 » Thu Aug 18, 2011 11:02 am

The problem is user-error, you need to check specific albums/artists in the auto-sync list in order to generate playlists for them. You can't just check library playlists then have the artist/album playlists built from that.

Re: M3U format options [#6255]

by rusty » Thu Aug 18, 2011 11:00 am

Tested 1420 and the m3u format options are all working for me. I tested both wmdm and usbms plugins, and tested with 'Organize playlists using...' both enabled and disabled.

Is the problem always occurring for you with the latest build? Perhaps a debug log?

Thanks.

-Rusty

Re: M3U format options [#6255]

by mcow » Mon Aug 08, 2011 6:49 pm

Ludek wrote:Thank you, you are right, this no longer works, fixed as: http://www.ventismedia.com/mantis/view.php?id=8205
Not working for me with build 1415. Of these options:
Generate playlists for:
[x] Library Playlists
[x] Artists
[x] Albums
[x] Location
only Library Playlists works.

Re: M3U format options [#6255]

by Ludek » Fri Aug 05, 2011 5:24 am

mcow wrote:
rusty wrote:Fixed in build 1407. Please confirm that it works for you.

Thanks.

-Rusty
I have been trying to confirm with build 1408 and I cannot get the M3Us to be created at all.
My device options:
[x] sync playlists
Generate device Playlists for
[x] Albums
Dest directory: \Music\
[ ] Organize playlists...
[x] Force relative paths
[x] Use Unicode
[x] Use extended M3U
[x] Use Linux separator

Syncing to a Nokia N800 tablet, which is configured as a USBMass1 device. Music syncs fine.
Thank you, you are right, this no longer works, fixed as: http://www.ventismedia.com/mantis/view.php?id=8205

Re: M3U format options [#6255]

by mcow » Tue Jul 26, 2011 5:51 pm

Another M3U option that I will need to use the playlist-creation feature is to write the UTF-8 files without the BOM. I've discovered that Canola won't read a BOM'd file, just as it won't read a file with CRLF line endings.

What a pain. I probably should just get an iPod. Someday.

I also note that the current (well, as of 1408) implementation of "extended M3U" doesn't do anything except put a #EXTM3U header in the file. This doesn't make any difference to me—Canola accepts EXTM3U but doesn't use the features—but without the #EXTINF's, there doesn't seem to be much point.

EDIT: 29-Jul-2011
The File | Export to Playlist command, using UTF-8, also includes the BOM. (This is much better behaved than the MM3 implementation.) I took one and made a copy without a BOM, and then loaded both into WinAmp. WinAmp requires the BOM; the M3U without the BOM resulted in unintelligible entries in the playlist, and the associated files were not found.

It'd be great if the BOM were optional, but I've written a simple conversion script that I can run on the N800 after the playlists have been copied over. After some research, I think I've determined the problem is Nokia's fault: Maemo mandated UTF8-no-BOM as the text format, and didn't support BOM until Maemo5.

Re: M3U format options [#6255]

by Lowlander » Tue Jul 26, 2011 9:39 am

mcow wrote:You seem to think that bugs can be magically fixed by an incremented version number.
There have been plenty of times were users reported bugs and upgrading to the newest build fixed it. Add to that, that not all fixes that happen are reported in Mantis. Anyway when reporting bugs the latest version should be used to make sure no old ghosts are chased for nothing.
Rusty wrote:1) Make sure that you're using the most recent build
from: http://www.mediamonkey.com/forum/viewto ... ?f=6&t=341

In this case a debug log send to support might be the best route.

Re: M3U format options [#6255]

by mcow » Mon Jul 25, 2011 11:28 pm

You seem to think that bugs can be magically fixed by an incremented version number.

I experimented some more with the options, and the part that's not working is the "Generate playlists for..." settings -- only the "Library Playlists" option works. Real easy to test, no chasing involved -- especially since the playlists are re-generated, if missing, each time the Sync button is pressed, even if the music files are already resident on the target device.

The Linux path separator feature does indeed use the Linux line ending, which is what I initially set out to check.

Re: M3U format options [#6255]

by Lowlander » Mon Jul 25, 2011 10:57 pm

mcow wrote: I have better things to do than play russian roulette with random beta builds.
The same goes for chasing bug reports on old builds.

Re: M3U format options [#6255]

by mcow » Mon Jul 25, 2011 10:53 pm

I discovered that a single, empty playlist was created (altho three albums were sync'd over), but it was called
N800 (N-).m3u -- apparently named for the device, not for the album(s) as my options were set up.
Lowlander wrote:Try again with 1412 which is the current build.
Not unless you can point me to a bug marked Fixed since 1408 that looks at all related to on-device playlist creation. I have better things to do than play russian roulette with random beta builds.

Re: M3U format options [#6255]

by Lowlander » Mon Jul 25, 2011 8:32 pm

Try again with 1412 which is the current build.

Re: M3U format options [#6255]

by mcow » Mon Jul 25, 2011 6:37 pm

rusty wrote:Fixed in build 1407. Please confirm that it works for you.

Thanks.

-Rusty
I have been trying to confirm with build 1408 and I cannot get the M3Us to be created at all.
My device options:
[x] sync playlists
Generate device Playlists for
[x] Albums
Dest directory: \Music\
[ ] Organize playlists...
[x] Force relative paths
[x] Use Unicode
[x] Use extended M3U
[x] Use Linux separator

Syncing to a Nokia N800 tablet, which is configured as a USBMass1 device. Music syncs fine.

Re: M3U format options [#6255]

by markstuartwalker » Fri Jul 15, 2011 8:02 am

Code: Select all

function verifyPathCaseSensitivity(path:WideString):WideString;
var
  j,k:integer;
  folder,validPath:WideString;
  folders,subfolders:TStringList;
begin
  folders:=SplitStringToList(path,'\');

  validPath:=folders[0];
  for j := 1 to folders.count -1  do
  begin
    // get a list of the sub fodlers
    subFolders:=filesAndFoldersOf(validPath);
    subfolders.CaseSensitive := false ;

    // find the sub folder case insensitively
    folder:=folders[j];
    k:=subfolders.IndexOf(folder);
    if k>=0 then
    begin
      // append the valid folder
      validPath:=IncludeTrailingPathDelimiter(validPath)+subfolders[k];
    end;
  end;

  // give back the answer
  result:=validPath;

end;

Top