Support and General Use > Audio Playback, Database and Playlists

Fuze V2 USB mode in Rockbox Mode

<< < (2/3) > >>

ruebyi:
Thank you! It works great for me!

What I want to get rid is the playlist problem. If I sync a playlist to my micro SD in my Sansa I had to edit the Playlist file after the sync.
I will try if the USB mode in Rockbox makes any change for this!

EDIT: Doesn't help either... Playlists on the micro SD are not recognized AND can't be played after copying them on the Playlist folder on internal memory....

Progweed:

--- Quote ---Playlists on the micro SD are not recognized AND can't be played after copying them on the Playlist folder on internal memory....
--- End quote ---
Sure. That's an entirely different problem that has nothing to do with USB, I'm afraid.

When you create a playlist on your computer, the file path of each entry will contain the drive letter that is assigned to the SD card by Windows or whichever OS you are using. Once you replace the drive letter by /<microSD1> - the mount point under which Rockbox accesses the SD card slot - playlists will work from the playlist directory. But I guess you know that already.   ;)

ruebyi:
Yes I know that  ;)
But it's not really comfortable  :P
I'm trying to find a solution for Mediamonkey and my rockboxed Sansa!

Never the less: At least I don't need the original Firmware for syncing anymore ;)

Progweed:
Isn't there a program called Sansa Playlister or something like that? I never used it, but the name suggests that it might be able to solve this problem.

ruebyi:
Sorry, it's not made for fuze

I wrote already a script to rename the Playlist... I only can't copy the Playlist automatically to the other folder.... (or I don't find the right command for that)

Const ForReading = 1
    Const ForWriting = 2
    Set objFSO = CreateObject("Scripting.FileSystemObject")

   Sub FixRockboxM3Us()

    '--Set Variable for Path  -- the script will search all files in this path (unless limited by extention below)

         sPath = "L:\Playlists"

    '--Get extension to search For -- Limit the search to files with this extension

          sExt = "m3u"

    '--Call the Function to Do search and Replace

    s = DoSearch(sPath, sExt)

   End Sub

    ' -- The meat of the script ... function to replace text, basically reads all text into a variable then replaces any instance of
    '-- \Music with . then writes the contents of the modified variable to the same filename.

    Function DoSearch(FolPath, sExtName)

    Set objFSO = CreateObject("Scripting.FileSystemObject")

    Dim SubPath, Fol, s1, sList, oFol, Fils, oFil, s, sPath, Fols, LExt
        LExt = Len(sExtName)
        sExtName = UCase(sExtName)
        Set oFol = objFSO.GetFolder(FolPath)
        Set Fils = oFol.Files
          If Fils.count > 0 Then
             For Each oFil In Fils
                Set objFile = objFSO.OpenTextFile(sPath & oFil, ForReading)
                strText = objFile.ReadAll
                objFile.Close
                If InStr (strText, "microSD1") < 1 Then
               strNewText = Replace(strText, "\Music\", "\<microSD1>\music\")
            End If
               
                Set objFile = objFSO.OpenTextFile(sPath & oFil, ForWriting)
                objFile.WriteLine strNewText
                objFile.Close
             Next
             
             SDB.MessageBox "Successfully fixed " & Fils.count & " M3U playlists.", mtInformation, Array(mbOk)
             
           End If
    End Function



@Mods: Sorry for beeing so offtopic

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version