Announcement

Collapse
No announcement yet.

Problem DELETEFILE,RENAMEFILE in skin with MENU command

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Problem DELETEFILE,RENAMEFILE in skin with MENU command

    I have the same problem as liquid_smoke in this thread (http://www.mp3car.com/rr-bug-tracker...u-command.html), I tried the commands Guino offers but without success.

    Do you have another way?

    Thanx

  • #2
    again, those commands are Directory List required skins
    you provide NO useful information to even begin to help
    -Thanks
    Mitch
    www.rush2112.net

    "Did you test it in carwings??"

    Sun, Come shine my way
    May healing waters bury all my pain
    Wind, Carry me home
    The fabric of reality is tearing apart
    The piece of me that died
    Will return To live again

    Comment


    • #4
      I use directory list in my skin.

      Here a part code of my skin :
      ...
      [Buttons]
      B01,7,241,101,54,, <-(Command send by the exectbl via setbuttonid because i use this skin for delete,rename,load,save ...)
      B02,127,241,101,54,"Menu;JumpToLetter.skin",
      B03,247,241,101,54,"CANCEL",
      [Liste]
      IL,DL,RGBFF00FF,RGBFF00FF,***************,0,50,60
      S01,7,7,341,231,128,255,128,000,000,000,255,255,25 5,255,255,255,128,255,128,000,000,000,TRUE,12,"Dig iface"
      ...

      Here a part code of my exectbl.ini:
      ...
      "MANAGEDEL","MENU;AUDIO_PLAYLISTMANAGE.SKIN||SETPA TH;$PLAYLISTPATH$||SETVAR;VARMANAGE;Effacer||SETBU TTONID;B01;DELBUTTON"
      "MANAGEREN","MENU;AUDIO_PLAYLISTMANAGE.SKIN||SETPA TH;$PLAYLISTPATH$||SETVAR;VARMANAGE;Renommer||SETB UTTONID;B01;RENBUTTON"
      "DELBUTTON","EXIT||DELETEFILE"
      "RENBUTTON","EXIT||RENAMEFILE"
      ...

      I hope you have the information needed to help me.
      Thanx

      Comment


      • #5
        once you do menu.. the DL has to be on the AUDIO_PLAYLISTMANGE.SKIN

        and no one here can tell what context your in with just snips like that
        -Thanks
        Mitch
        www.rush2112.net

        "Did you test it in carwings??"

        Sun, Come shine my way
        May healing waters bury all my pain
        Wind, Carry me home
        The fabric of reality is tearing apart
        The piece of me that died
        Will return To live again

        Comment


        • #6
          Ok, you could find in attachment audio_playlistmanage.skin and exectbl.ini.

          Thanx
          Attached Files

          Comment


          • #7
            how about the images for this popup

            ---------- Post added at 09:33 AM ---------- Previous post was at 09:27 AM ----------

            also your logic dont make sense to me
            what command do you use to use this skin?

            i dont see how this is going to do anything useful...
            Last edited by mitchjs; 03-07-2011, 09:29 AM.
            -Thanks
            Mitch
            www.rush2112.net

            "Did you test it in carwings??"

            Sun, Come shine my way
            May healing waters bury all my pain
            Wind, Carry me home
            The fabric of reality is tearing apart
            The piece of me that died
            Will return To live again

            Comment


            • #8
              I use the command MANAGEREN (in the case of renaming) and MANAGEDEL (in the case of a deletion) from exectbl with a button in audio_playlist.skin.

              My logic is to use this skin for several functions (save, load, delete, rename, ...) to avoid the multiplication of similar skins.

              I provided a rar with images and skins.
              Attached Files

              Comment


              • #9
                ok, FYI delete file only works on DL
                your audio_playlist screen as it should has a PL

                so deleting from the PL isnt allowed, and it would muck up the PL, as technicall you have to remove and item..
                i know what you want to do... but deletefile is ment to come from a DL (directory list)
                not to mention Playlists dont usually have filenames
                -Thanks
                Mitch
                www.rush2112.net

                "Did you test it in carwings??"

                Sun, Come shine my way
                May healing waters bury all my pain
                Wind, Carry me home
                The fabric of reality is tearing apart
                The piece of me that died
                Will return To live again

                Comment


                • #10
                  ok, thank you very much for your help.

                  So I will change the command MENU by LOAD and redo my pictures.

                  Comment


                  • #11
                    im not sure that is a solution...

                    there is no solution for your concept, at least right now

                    you CANT use DELETEFILE with a PlayList, only with a DirectoryList

                    m

                    ---------- Post added at 12:38 PM ---------- Previous post was at 12:06 PM ----------

                    that wont work

                    Question, do you really want to have the popup have another PL on it?
                    dont you want to just select the item in audio_playlist.skin, and then press the deletebutton, get a conformation, if you
                    say yes, it deletes?

                    or as in the skin you sent me, you have ANOTHER playlist show up when i go to MANAGEDEL
                    and you pick from that and delete?

                    i need to know...

                    ---------- Post added at 01:16 PM ---------- Previous post was at 12:38 PM ----------

                    i just made delete work for Playlists, i have to do a MINUS1 type code, then delete the file
                    it works...

                    rename isnt going to happen, because thats really tag editing...

                    i suggest, that file management be not done from a PLAYLIST point a view, its just not what Playlists are for
                    -Thanks
                    Mitch
                    www.rush2112.net

                    "Did you test it in carwings??"

                    Sun, Come shine my way
                    May healing waters bury all my pain
                    Wind, Carry me home
                    The fabric of reality is tearing apart
                    The piece of me that died
                    Will return To live again

                    Comment


                    • #12
                      When I use the LOAD command instead of MENU that works very well.
                      However it is true that I prefer to use the popup (I find it cleaner visually).

                      But I do not understand, in audio_playlist.skin I use a PlayList but in audio_playlistmanage.skin I use a DirectoryList. So when i go to MANAGEDEL it load the MENU audio_playlistmanage.skin with the DL.
                      I think to understand that the command MENU uses the playlist from audio_playlist.skin because it's the real screen and not the directoryList of audio_playlistmanage.skin.

                      If I use a PL and a DL in audio_playlist.skin I can run but can cause bugs may be?

                      Comment


                      • #13
                        then dont do EXIT||DELETEFILE

                        no menu is same as load

                        once you do EXIT from the MENU, your not on the menu with the DL anymore


                        ---------- Post added at 09:21 AM ---------- Previous post was at 09:20 AM ----------

                        do DELETEFILE||EXIT


                        this closes menu, and DL is gone:
                        "DELBUTTON","EXIT||DELETEFILE"
                        "RENBUTTON","EXIT||RENAMEFILE"

                        now another issue, is the DELETEFILE, opens a popup confirm.skin
                        then that closes, i have no idea, if the menu "audio_playlistmanage.skin" will come back
                        if it dont, then DL is also gone...
                        and it wont work too!
                        Last edited by mitchjs; 03-08-2011, 09:26 AM.
                        -Thanks
                        Mitch
                        www.rush2112.net

                        "Did you test it in carwings??"

                        Sun, Come shine my way
                        May healing waters bury all my pain
                        Wind, Carry me home
                        The fabric of reality is tearing apart
                        The piece of me that died
                        Will return To live again

                        Comment


                        • #14
                          the menu "audio_playlistmanage.skin" don't come back after the confirm popup from DELETEFILE.

                          finally I use playlist and directory list on the same screen (see attached image). This work very well.

                          Thanx again for you help and time spent on the problem.
                          Attached Files

                          Comment


                          • #15
                            ok,looks great!!!!
                            btw

                            i added a DELETEFILE from PlayList in new RR, i cant do a rename, cause thats really Tag Editing!
                            -Thanks
                            Mitch
                            www.rush2112.net

                            "Did you test it in carwings??"

                            Sun, Come shine my way
                            May healing waters bury all my pain
                            Wind, Carry me home
                            The fabric of reality is tearing apart
                            The piece of me that died
                            Will return To live again

                            Comment

                            Working...
                            X