Windows (platform)/Batch file media: Difference between revisions
From Zaparoo Wiki
Rewrote it to be more cohesive. |
m Wizzo moved page TapTo for Windows - How to launch media to Windows (platform)/Batch file media |
||
(10 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:How to use Zaparoo to launch media files on Windows}} | |||
{{DISPLAYTITLE:How to use Zaparoo to launch media files on Windows}} | |||
== Start media files with Zaparoo on Windows == | |||
<nowiki>*</nowiki>''the app is currently in Beta and subject to change'' | |||
=== Requirements: === | |||
# '''VLC Media Player for windows''' installed. | |||
# '''VLC Media Player''' installed. | # '''Zaparoo for Windows''' installed. | ||
# ''' | |||
# '''Video files''' stored in your desired location. | # '''Video files''' stored in your desired location. | ||
# '''Tapto.life app''' installed on iOS or Android. | # '''Tapto.life app''' installed on iOS or Android. | ||
=== Notes: === | |||
* This tutorial is designed to launch a video using VLC Media Player. While other media players may work, they might require different commands. | * This tutorial is designed to launch a video using VLC Media Player. While other media players may work, they might require different commands. | ||
* Every video file requires its own .bat file. To keep things organized, consider placing your .bat files and corresponding videos in the same folder. | * Every video file requires its own .bat file. To keep things organized, consider placing your .bat files and corresponding videos in the same folder. | ||
* If you move your video files after creating the .bat files, the .bat files will no longer work. Keep this in mind before proceeding. | * If you move your video files after creating the .bat files, the .bat files will no longer work. Keep this in mind before proceeding. | ||
== Tutorial: == | |||
==== Step 1: Create a .bat File ==== | ==== Step 1: Create a .bat File ==== | ||
# '''Open | # '''Open a text editor''' (like Notepad). | ||
# '''Locate VLC Media Player Executable''': | # '''Locate the VLC Media Player Executable''': | ||
#* The default path on x64 Windows systems is: <code>C:\Program Files (x86)\VideoLAN\VLC</code> | #* The default path on x64 Windows systems is: <code>C:\Program Files (x86)\VideoLAN\VLC</code> | ||
#* Copy this path to Notepad and add <code>vlc.exe</code> at the end, so it looks like this: <code>C:\Program Files (x86)\VideoLAN\VLC\vlc.exe</code> | #* Copy this path to Notepad and add <code>vlc.exe</code> at the end, so it looks like this: <code>C:\Program Files (x86)\VideoLAN\VLC\vlc.exe</code> | ||
Line 29: | Line 30: | ||
#* Place quotation marks (<code>"</code>) around the video file path. Your .bat file should now look like this: <code>"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "E:\Videos\movie.mkv"</code> | #* Place quotation marks (<code>"</code>) around the video file path. Your .bat file should now look like this: <code>"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "E:\Videos\movie.mkv"</code> | ||
# '''Add Additional Commands''': | # '''Add Additional Commands''': | ||
#* To start VLC in fullscreen mode and close it automatically after playback, modify the command like this: <code>start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "E:\Videos\movie.mkv" --fullscreen</code> <code>exit</code> | #* To start VLC in fullscreen mode and close it automatically after playback, modify the command like this: <code>start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "E:\Videos\movie.mkv" --fullscreen</code> <code>exit</code> | ||
# '''Save the File''': | # '''Save the File''': | ||
#* Save the file in Notepad with a <code>.bat</code> extension. For example: <code>Movie.bat</code> | #* Save the file in Notepad with a <code>.bat</code> extension. For example: <code>Movie.bat</code> | ||
#* Ensure the file isn’t saved as <code>Movie.bat.txt</code>, as this won’t work. | #* Ensure the file isn’t saved as <code>Movie.bat.txt</code>, as this won’t work. | ||
==== Step 2: Configure | ==== Step 2: Configure Zaparoo to Launch the .bat File ==== | ||
# '''Open the | # '''Open the Zaparoo Configuration File''': | ||
#* Locate and open the <code>tapto.ini</code> file. | #* Locate and open the <code>tapto.ini</code> file. | ||
# '''Add the .bat File Path''': | # '''Add the .bat File Path''': | ||
Line 49: | Line 50: | ||
Your NFC card is now configured to start your movie! | Your NFC card is now configured to start your movie! | ||
{{DEFAULTSORT:How to use Zaparoo to launch media files on Windows}} |
Latest revision as of 08:25, 29 December 2024
Start media files with Zaparoo on Windows
*the app is currently in Beta and subject to change
Requirements:
- VLC Media Player for windows installed.
- Zaparoo for Windows installed.
- Video files stored in your desired location.
- Tapto.life app installed on iOS or Android.
Notes:
- This tutorial is designed to launch a video using VLC Media Player. While other media players may work, they might require different commands.
- Every video file requires its own .bat file. To keep things organized, consider placing your .bat files and corresponding videos in the same folder.
- If you move your video files after creating the .bat files, the .bat files will no longer work. Keep this in mind before proceeding.
Tutorial:
Step 1: Create a .bat File
- Open a text editor (like Notepad).
- Locate the VLC Media Player Executable:
- The default path on x64 Windows systems is:
C:\Program Files (x86)\VideoLAN\VLC
- Copy this path to Notepad and add
vlc.exe
at the end, so it looks like this:C:\Program Files (x86)\VideoLAN\VLC\vlc.exe
- The default path on x64 Windows systems is:
- Add Quotes to the Path:
- Place quotation marks (
"
) at the beginning and end of the path, then add a space afterward. It should look like this:"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe"
- Place quotation marks (
- Insert the Video File Path:
- Copy the location of your video file, including the file name and extension.
- Place quotation marks (
"
) around the video file path. Your .bat file should now look like this:"C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "E:\Videos\movie.mkv"
- Add Additional Commands:
- To start VLC in fullscreen mode and close it automatically after playback, modify the command like this:
start "" "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "E:\Videos\movie.mkv" --fullscreen
exit
- To start VLC in fullscreen mode and close it automatically after playback, modify the command like this:
- Save the File:
- Save the file in Notepad with a
.bat
extension. For example:Movie.bat
- Ensure the file isn’t saved as
Movie.bat.txt
, as this won’t work.
- Save the file in Notepad with a
Step 2: Configure Zaparoo to Launch the .bat File
- Open the Zaparoo Configuration File:
- Locate and open the
tapto.ini
file.
- Locate and open the
- Add the .bat File Path:
- Under the
[launchers]
section, add the following line:allow_file = G:\Tapto\Movies\Movie.bat
- Replace the path with the location of your actual .bat file.
- Under the
Step 3: Flash the Path to Your NFC Card
- Open the Tapto.life App.
- Flash the Path:
- Flash the path to your .bat file as a text string. For example:
G:\Tapto\Movies\Movie.bat
- Flash the path to your .bat file as a text string. For example:
Your NFC card is now configured to start your movie!