RainBawZ Posted October 2, 2015 Share Posted October 2, 2015 (edited) ADD TO SELF RADIO "Add to Self Radio" is a small script that makes adding songs to Self Radio easier.It also creates a Windows context menu entry so that songs can easily be added simply by left clicking the song and choosing "Add to Self Radio".Feel free to ask for help should a problem arise, you can also come with suggestions for future featuresIf you enjoy this program, be sure to leave a like and maybe a rating? Installation: If you've used older versions of this program before, it is recommended to uninstall those before using this. You will not lose any songs added to Self Radio by doing so. 1: Extract "SelfRadioAdd.bat" to any location on your computer2: Run the program once and add the registry entry.You may need administrator level permisson to create it. 3: You should now have the option to right click any .mp3 file and choose "Add to Self Radio".4: Enjoy Note:Some users might have to reboot the context menu changes to take effect. Download: https://files.gta5-mods.com/uploads/add-to-self-radio/949e41-SelfRadioAdd.zip GTA5-Mods page: https://www.gta5-mods.com/tools/add-to-self-radioIf you don't trust .bat files, you can check the source code here: http://pastebin.com/ehfDxHGd Known issues:- Cannot add songs containing exclamation marks (!) - Detects constant path change if the Windows username contains "special" characters Changelog: v1.6.2 - Fixed an issue where the program would assume an incorrect path when the username contained a space. v1.6.1 - Found a better way of finding the path to "My documents", the issues where it would try looking in the incorrect location should now be gone.- Troubleshooter now also collects user profile paths and the path to the "My documents" folder.- Made the program clean up temporary files generated while running. v1.6- Added troubleshooter (Located in the Tools folder): Gathers information about the registry and computer environment into a file that can be sent to my email [[email protected]].- Added update checker: Matches a version number on an online server to the one defined in the program and notifies the user if an update is available.- Added some more logic to optimize execution and prevent errors- Temporarily fixed issue where users with special characters in the username would be unable to change settings- Fixed minor issues with the registry keys for Groove and Windows Media Player v1.5.3- Fixed the WMP/Groove issue- Small "under the hood" improvements v1.5.1 - Added current mode displaying- Added title display when adding files- Added some more code comments- Fixed typo "run the run the uninstaller" in error message "The registry query for MODE returned an invalid value." v1.5- Cleaned up the display- Added Shortcut mode- Added possibility to switch modes, the action does not require administrator permissions.- Added notifications about uninstalling old versions- Added warning which will display upon installation for people using Windows Media Player/Groove (I can't seem to find the source if the issue where the option won't display)- Added code comments for those of you that like to read through the source code. v1.3.33- Fixed an issue where the program would crash without displaying error messagesv1.3.32- Fixed an issue causing the program to fail with custom user profile paths- Created a temporary fix for people with special characters in the username. The issue was causing the program to prompt the user about path changes on every launch- The program should now apply the registry changes automatically.- Added more information to more error messages.v1.3.03- Fixed an issue with the program failing to refresh the registry.- Added more information to some error messages.v1.3- Added file checking, now checks is the file is successfully added.- Fixed the issues with file name displaying, file names containing spaces and special characters.- Added error information to some error messages, feel free to post it here at this page if you run into problems.v1.2- Fixed some minor issues involving display size and file name recognition.v1.1- Made the program easier to uninstall. (See the Readme for more details) Edited January 12, 2016 by RainBawZ PacketOverload_x64bit 1 Link to comment Share on other sites More sharing options...
gajrajgchouhan Posted October 3, 2015 Share Posted October 3, 2015 (edited) Doesn't work for me.Windows 8.1 here.Does n't appear in right click menu. Edited October 3, 2015 by gajrajgchouhan Link to comment Share on other sites More sharing options...
reditec Posted October 3, 2015 Share Posted October 3, 2015 Doesn't work for me on Windows 10, too. Link to comment Share on other sites More sharing options...
RainBawZ Posted October 3, 2015 Author Share Posted October 3, 2015 Doesn't work for me on Windows 10, too. Do you receve any error message(s)? Doesn't work for me.Windows 8.1 here.Does n't appear in right click menu. You might have to reboot. Do you recieve any error messages? Link to comment Share on other sites More sharing options...
RainBawZ Posted October 3, 2015 Author Share Posted October 3, 2015 A small update has been uploaded and is pending approval, should be live shortly. v1.3.33- Fixed an issue where the program would crash without displaying error messages Link to comment Share on other sites More sharing options...
gajrajgchouhan Posted October 3, 2015 Share Posted October 3, 2015 (edited) Waiting for approval,I love this mod. Edited October 3, 2015 by gajrajgchouhan Link to comment Share on other sites More sharing options...
NTAuthority Posted October 3, 2015 Share Posted October 3, 2015 (edited) reg add "HKCR\!val!\shell\Add to Self Radio\command" /f /ve /d "%~f0 ""%%1""" > nul if !errorlevel!==1 ( Echo x=msgbox^("An error occurred. Try running as administrator."^& vbcrlf ^&" "^& vbcrlf ^&"Information:"^& vbcrlf ^&"REG ADD: Access denied." ,48, "Error"^)>"%temp%\msg.vbs"A slight recommendation: use HKCU\Software\Classes instead of HKCR so people won't have to run the script 'as administrator', also bypassing any issues with current directory not being passed through (for other scripts). Anyway, seems cool, though it's a shame you can't call SHChangeNotify from a batch file (well, technically you can write a PowerShell script containing C# P/Invoke entries from the batch file), or you could make registration automatically reload file associations as well! Oh, also: using the usual means to capture output from a command (IIRC involving 'for'?), you could also read the entry in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders for the Documents folder path so people won't have to change it manually. Edited October 3, 2015 by NTAuthority RainBawZ and PacketOverload_x64bit 2 Inactive in GTA/R* title modification indefinitely pursuant to a court order obtained by TTWO. Good job acting against modding! Link to comment Share on other sites More sharing options...
RainBawZ Posted October 6, 2015 Author Share Posted October 6, 2015 (edited) reg add "HKCR\!val!\shell\Add to Self Radio\command" /f /ve /d "%~f0 ""%%1""" > nul if !errorlevel!==1 ( Echo x=msgbox^("An error occurred. Try running as administrator."^& vbcrlf ^&" "^& vbcrlf ^&"Information:"^& vbcrlf ^&"REG ADD: Access denied." ,48, "Error"^)>"%temp%\msg.vbs"A slight recommendation: use HKCU\Software\Classes instead of HKCR so people won't have to run the script 'as administrator', also bypassing any issues with current directory not being passed through (for other scripts). Anyway, seems cool, though it's a shame you can't call SHChangeNotify from a batch file (well, technically you can write a PowerShell script containing C# P/Invoke entries from the batch file), or you could make registration automatically reload file associations as well! Oh, also: using the usual means to capture output from a command (IIRC involving 'for'?), you could also read the entry in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\User Shell Folders for the Documents folder path so people won't have to change it manually. I'd love to get rid of the "Run as admin" issue, but I can't seem to find any key in HKCU where I'd add the conext menu subkeys for the program. If the the (Default) value in the .mp3 key is "VLC.mp3" there should also be a key named the same? At least that's the case in HKCR but I can't see any in the other one. Could I create one manually without it conflicting with the already existing key in HKCR? Edited October 6, 2015 by RainBawZ Link to comment Share on other sites More sharing options...
RainBawZ Posted November 16, 2015 Author Share Posted November 16, 2015 Update 1.5 released v1.5- Cleaned up the display- Added Shortcut mode- Added possibility to switch modes, the action does not require administrator permissions.- Added notifications about uninstalling old versions- Added warning which will display upon installation for people using Windows Media Player/Groove (I can't seem to find the source if the issue where the option won't display)- Added code comments for those of you that like to read through the source code.Note: The WMP/Groove issue is still present reditec and gajrajgchouhan 2 Link to comment Share on other sites More sharing options...
RainBawZ Posted December 17, 2015 Author Share Posted December 17, 2015 Update 1.5.1 released v1.5.1 - Added current mode displaying- Added title display when adding files- Added some more code comments- Fixed typo "run the run the uninstaller" in error message "The registry query for MODE returned an invalid value." Link to comment Share on other sites More sharing options...
RainBawZ Posted December 24, 2015 Author Share Posted December 24, 2015 Update 1.5.3 released v1.5.3- Fixed the WMP/Groove issue. The program handles Windows Media Player and Windows Groove as one.- Small "under the hood" improvements Link to comment Share on other sites More sharing options...
LuissBR Posted December 28, 2015 Share Posted December 28, 2015 (edited) How i can remove from the context menu? I can't find anything like Uninstall_AddToSelfRadio.reg EDIT: oh, nevermind. I found it. Sorry!!! Edited December 28, 2015 by LuissBR Link to comment Share on other sites More sharing options...
RainBawZ Posted January 4, 2016 Author Share Posted January 4, 2016 Version 1.6 released! v1.6- Added troubleshooter (Located in the Tools folder): Gathers information about the registry and computer environment into a file that can be sent to my email [[email protected]].- Added update checker: Matches a version number on an online server to the one defined in the program and notifies the user if an update is available.- Added some more logic to optimize execution and prevent errors- Temporarily fixed issue where users with special characters in the username would be unable to change settings- Fixed minor issues with the registry keys for Groove and Windows Media Player Link to comment Share on other sites More sharing options...
RainBawZ Posted January 10, 2016 Author Share Posted January 10, 2016 Version 1.6.1 uploaded v1.6.1- Found a better way of finding the path to "My documents", the issues where it would try looking in the incorrect location should now be gone.- Troubleshooter now also collects user profile paths and the path to the "My documents" folder.- Made the program clean up temporary files generated while running. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now