Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Tuners
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. Grand Theft Auto Series

      1. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
    6. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
    7. GTA III

      1. Guides & Strategies
      2. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

      1. GTANet 20th Anniversary
    2. Support

    3. Suggestions

Add to Self Radio


RainBawZ
 Share

Recommended Posts

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 features
If 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 computer
2: 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-radio

If 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 messages

v1.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 by RainBawZ
  • Like 1
Link to comment
Share on other sites

Doesn't work for me.Windows 8.1 here.Does n't appear in right click menu.

Edited by gajrajgchouhan
Link to comment
Share on other sites

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

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

Waiting for approval,I love this mod.

Edited by gajrajgchouhan
Link to comment
Share on other sites

 

				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 by NTAuthority
  • Like 2

SsZgxdL.png

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

				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 by RainBawZ
Link to comment
Share on other sites

  • 1 month later...

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

  • Like 2
Link to comment
Share on other sites

  • 1 month later...

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

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

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 by LuissBR
Link to comment
Share on other sites

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

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.