VLC show file in folder












1















I sometimes browse my short-length videos collection. Then I i.e. find some funny one and I want to copy it somewhere else or send it to a friend. The problem is, that the collection is really big, so I don't want to scroll it just looking on thumbnails.



The best option would be to open this file in a folder, so I would get explorer.exe with collection directory and the current video selected. But I cannot quite find that option in VLC. Do you guys know if there's one like this? Or maybe in a form of lua extension?










share|improve this question



























    1















    I sometimes browse my short-length videos collection. Then I i.e. find some funny one and I want to copy it somewhere else or send it to a friend. The problem is, that the collection is really big, so I don't want to scroll it just looking on thumbnails.



    The best option would be to open this file in a folder, so I would get explorer.exe with collection directory and the current video selected. But I cannot quite find that option in VLC. Do you guys know if there's one like this? Or maybe in a form of lua extension?










    share|improve this question

























      1












      1








      1








      I sometimes browse my short-length videos collection. Then I i.e. find some funny one and I want to copy it somewhere else or send it to a friend. The problem is, that the collection is really big, so I don't want to scroll it just looking on thumbnails.



      The best option would be to open this file in a folder, so I would get explorer.exe with collection directory and the current video selected. But I cannot quite find that option in VLC. Do you guys know if there's one like this? Or maybe in a form of lua extension?










      share|improve this question














      I sometimes browse my short-length videos collection. Then I i.e. find some funny one and I want to copy it somewhere else or send it to a friend. The problem is, that the collection is really big, so I don't want to scroll it just looking on thumbnails.



      The best option would be to open this file in a folder, so I would get explorer.exe with collection directory and the current video selected. But I cannot quite find that option in VLC. Do you guys know if there's one like this? Or maybe in a form of lua extension?







      vlc-media-player






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Dec 30 '18 at 20:39









      dabljuesdabljues

      173




      173






















          2 Answers
          2






          active

          oldest

          votes


















          0














          You can right click the video and choose information, then copy the path to the file, then press win+r and enter explorer.exe /select,c:pathtofile.wmv



          Edit:



          I made a primitive lua extension that uses this command. Tested with vlc 3.0.4 on windows 10 x64.



          usage:




          • Save the script in the extensions folder.

          • Play the desired video to
            make it the current playlist item(just selecting in the playlist is
            not enough.)

          • Open the extension view->select_in_explorer

          • Click the
            button "select in explorer" in the dialog window.

          • The explorer should
            open with the file selected.


          select_in_explorer.lua



          -- "select_in_explorer.lua" -- VLC Extension

          function descriptor()
          return {
          title = "Select in explorer",
          version = "0.1",
          author = "mb",
          url = "",
          shortdesc = "Select in explorer",
          description = [[opens Windows explorer and select the currently played file]],
          capabilities = {}
          }
          end

          function activate()
          dlg = vlc.dialog("Select in explorer")
          update_dialog()
          end

          function deactivate()
          end

          function close()
          vlc.deactivate()
          end

          function meta_changed()
          return false
          end

          function update_dialog()
          path = vlc.playlist.get(vlc.playlist.current()).path
          dlg:add_button("select in explorer",select_in_explorer, 1, 1, 1, 1)
          path_label = dlg:add_label(path, 2, 1, 1, 1)
          dlg:show()
          end

          function select_in_explorer()
          path = vlc.playlist.get(vlc.playlist.current()).path
          cmd = "explorer.exe /select,"..path
          io.popen(cmd)
          end





          share|improve this answer


























          • Thank you man! That really solves my problem

            – dabljues
            Jan 1 at 1:48



















          0














          Just for sake of completeness...




          • on macOS you can right click > Reveal in Finder - which will highlight the file directly.

          • on Windows, right click > Show containing folder [though in a large folder, that's going to be less useful]






          share|improve this answer























            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "3"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: true,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1389068%2fvlc-show-file-in-folder%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            You can right click the video and choose information, then copy the path to the file, then press win+r and enter explorer.exe /select,c:pathtofile.wmv



            Edit:



            I made a primitive lua extension that uses this command. Tested with vlc 3.0.4 on windows 10 x64.



            usage:




            • Save the script in the extensions folder.

            • Play the desired video to
              make it the current playlist item(just selecting in the playlist is
              not enough.)

            • Open the extension view->select_in_explorer

            • Click the
              button "select in explorer" in the dialog window.

            • The explorer should
              open with the file selected.


            select_in_explorer.lua



            -- "select_in_explorer.lua" -- VLC Extension

            function descriptor()
            return {
            title = "Select in explorer",
            version = "0.1",
            author = "mb",
            url = "",
            shortdesc = "Select in explorer",
            description = [[opens Windows explorer and select the currently played file]],
            capabilities = {}
            }
            end

            function activate()
            dlg = vlc.dialog("Select in explorer")
            update_dialog()
            end

            function deactivate()
            end

            function close()
            vlc.deactivate()
            end

            function meta_changed()
            return false
            end

            function update_dialog()
            path = vlc.playlist.get(vlc.playlist.current()).path
            dlg:add_button("select in explorer",select_in_explorer, 1, 1, 1, 1)
            path_label = dlg:add_label(path, 2, 1, 1, 1)
            dlg:show()
            end

            function select_in_explorer()
            path = vlc.playlist.get(vlc.playlist.current()).path
            cmd = "explorer.exe /select,"..path
            io.popen(cmd)
            end





            share|improve this answer


























            • Thank you man! That really solves my problem

              – dabljues
              Jan 1 at 1:48
















            0














            You can right click the video and choose information, then copy the path to the file, then press win+r and enter explorer.exe /select,c:pathtofile.wmv



            Edit:



            I made a primitive lua extension that uses this command. Tested with vlc 3.0.4 on windows 10 x64.



            usage:




            • Save the script in the extensions folder.

            • Play the desired video to
              make it the current playlist item(just selecting in the playlist is
              not enough.)

            • Open the extension view->select_in_explorer

            • Click the
              button "select in explorer" in the dialog window.

            • The explorer should
              open with the file selected.


            select_in_explorer.lua



            -- "select_in_explorer.lua" -- VLC Extension

            function descriptor()
            return {
            title = "Select in explorer",
            version = "0.1",
            author = "mb",
            url = "",
            shortdesc = "Select in explorer",
            description = [[opens Windows explorer and select the currently played file]],
            capabilities = {}
            }
            end

            function activate()
            dlg = vlc.dialog("Select in explorer")
            update_dialog()
            end

            function deactivate()
            end

            function close()
            vlc.deactivate()
            end

            function meta_changed()
            return false
            end

            function update_dialog()
            path = vlc.playlist.get(vlc.playlist.current()).path
            dlg:add_button("select in explorer",select_in_explorer, 1, 1, 1, 1)
            path_label = dlg:add_label(path, 2, 1, 1, 1)
            dlg:show()
            end

            function select_in_explorer()
            path = vlc.playlist.get(vlc.playlist.current()).path
            cmd = "explorer.exe /select,"..path
            io.popen(cmd)
            end





            share|improve this answer


























            • Thank you man! That really solves my problem

              – dabljues
              Jan 1 at 1:48














            0












            0








            0







            You can right click the video and choose information, then copy the path to the file, then press win+r and enter explorer.exe /select,c:pathtofile.wmv



            Edit:



            I made a primitive lua extension that uses this command. Tested with vlc 3.0.4 on windows 10 x64.



            usage:




            • Save the script in the extensions folder.

            • Play the desired video to
              make it the current playlist item(just selecting in the playlist is
              not enough.)

            • Open the extension view->select_in_explorer

            • Click the
              button "select in explorer" in the dialog window.

            • The explorer should
              open with the file selected.


            select_in_explorer.lua



            -- "select_in_explorer.lua" -- VLC Extension

            function descriptor()
            return {
            title = "Select in explorer",
            version = "0.1",
            author = "mb",
            url = "",
            shortdesc = "Select in explorer",
            description = [[opens Windows explorer and select the currently played file]],
            capabilities = {}
            }
            end

            function activate()
            dlg = vlc.dialog("Select in explorer")
            update_dialog()
            end

            function deactivate()
            end

            function close()
            vlc.deactivate()
            end

            function meta_changed()
            return false
            end

            function update_dialog()
            path = vlc.playlist.get(vlc.playlist.current()).path
            dlg:add_button("select in explorer",select_in_explorer, 1, 1, 1, 1)
            path_label = dlg:add_label(path, 2, 1, 1, 1)
            dlg:show()
            end

            function select_in_explorer()
            path = vlc.playlist.get(vlc.playlist.current()).path
            cmd = "explorer.exe /select,"..path
            io.popen(cmd)
            end





            share|improve this answer















            You can right click the video and choose information, then copy the path to the file, then press win+r and enter explorer.exe /select,c:pathtofile.wmv



            Edit:



            I made a primitive lua extension that uses this command. Tested with vlc 3.0.4 on windows 10 x64.



            usage:




            • Save the script in the extensions folder.

            • Play the desired video to
              make it the current playlist item(just selecting in the playlist is
              not enough.)

            • Open the extension view->select_in_explorer

            • Click the
              button "select in explorer" in the dialog window.

            • The explorer should
              open with the file selected.


            select_in_explorer.lua



            -- "select_in_explorer.lua" -- VLC Extension

            function descriptor()
            return {
            title = "Select in explorer",
            version = "0.1",
            author = "mb",
            url = "",
            shortdesc = "Select in explorer",
            description = [[opens Windows explorer and select the currently played file]],
            capabilities = {}
            }
            end

            function activate()
            dlg = vlc.dialog("Select in explorer")
            update_dialog()
            end

            function deactivate()
            end

            function close()
            vlc.deactivate()
            end

            function meta_changed()
            return false
            end

            function update_dialog()
            path = vlc.playlist.get(vlc.playlist.current()).path
            dlg:add_button("select in explorer",select_in_explorer, 1, 1, 1, 1)
            path_label = dlg:add_label(path, 2, 1, 1, 1)
            dlg:show()
            end

            function select_in_explorer()
            path = vlc.playlist.get(vlc.playlist.current()).path
            cmd = "explorer.exe /select,"..path
            io.popen(cmd)
            end






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Dec 31 '18 at 12:31

























            answered Dec 30 '18 at 22:00









            ManuelManuel

            3123




            3123













            • Thank you man! That really solves my problem

              – dabljues
              Jan 1 at 1:48



















            • Thank you man! That really solves my problem

              – dabljues
              Jan 1 at 1:48

















            Thank you man! That really solves my problem

            – dabljues
            Jan 1 at 1:48





            Thank you man! That really solves my problem

            – dabljues
            Jan 1 at 1:48













            0














            Just for sake of completeness...




            • on macOS you can right click > Reveal in Finder - which will highlight the file directly.

            • on Windows, right click > Show containing folder [though in a large folder, that's going to be less useful]






            share|improve this answer




























              0














              Just for sake of completeness...




              • on macOS you can right click > Reveal in Finder - which will highlight the file directly.

              • on Windows, right click > Show containing folder [though in a large folder, that's going to be less useful]






              share|improve this answer


























                0












                0








                0







                Just for sake of completeness...




                • on macOS you can right click > Reveal in Finder - which will highlight the file directly.

                • on Windows, right click > Show containing folder [though in a large folder, that's going to be less useful]






                share|improve this answer













                Just for sake of completeness...




                • on macOS you can right click > Reveal in Finder - which will highlight the file directly.

                • on Windows, right click > Show containing folder [though in a large folder, that's going to be less useful]







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Dec 31 '18 at 9:05









                TetsujinTetsujin

                15.5k53262




                15.5k53262






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Super User!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fsuperuser.com%2fquestions%2f1389068%2fvlc-show-file-in-folder%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown