Page 1 of 3 1 2 3 LastLast
Results 1 to 30 of 79

[BETA] MyRadio v2.1 - Ultimate Internet Radio Hack

This is a discussion on [BETA] MyRadio v2.1 - Ultimate Internet Radio Hack within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; Download MyRadio v2.1: http://ifile.it/geiypz1/myradio_v2.1.zip (Click on Request Ticket ) MyRadio is an alternate player for the PSP's Internet Radio Player ...

  
  1. #1
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Exclamation [BETA] MyRadio v2.1 - Ultimate Internet Radio Hack

    Download MyRadio v2.1: http://ifile.it/geiypz1/myradio_v2.1.zip (Click on Request Ticket)

    MyRadio is an alternate player for the PSP's Internet Radio Player introduced in firmware 3.80 and upwards. It allows you to access your PC media library from your PSP over the WiFi connection, either on your LAN, or even over the Internet!

    It is installed under the 3.80 firmware's Internet Radio menu, and hence requires firmware 3.80 or later to work.

    You can browse through your PC media library, and playback MP3 and AAC tracks. It even supports reading M3U playlists.

    You can also play online streaming playlists (such as ShoutCast playlists), if you download the PLS file from ShoutCast and put it in your PC media library.

    Press the START button to mute/unmute the audio.
    Use the arrow buttons on the right to quickly scroll one page at a time.
    Press the "G" button on top to launch a new page, so that you can browse while listening to music!





    You need to have Apache up and running on your computer, along with ActivePerl.
    Using other Perl distributions may cause you to have missing packages/modules.

    Update 31st August 2008, v2.1:
    You can now enter a URL when clicking on the G icon to open a new webpage.

    A [Save] link is added after each song so that it can be downloaded to the PSP. Its useful when the path to the long is very long because the Radio control doesn't play URLs longer than 128 characters.

    Update 22nd Jan 2008:
    Added the first letter of the song in the alphabetical list.

    Update 21st Jan 2008:
    Added a login feature to access the MyRadio GUI.

    To protect the media root from public access Mod_Perl 2.0 is required.

    Spoiler for Guide To Hex Editing MyRadio.prs:


    Above you see the text which you have to edit.
    It should be in the form http://Your_PC_IP_Address/myradio/index.html
    You must substitute your PC's IP Address there.


    Don't try to insert or delete characters. Just click at the beginning of the existing text and OVERWRITE it with the new address. In the above image I have overwritten it with my IP address. As you can see, it was shorter than the original text so some of the original text is left over.


    To remove the remaining text, use the left side of the hex editor as shown above. Overwrite the remaining text with 00.

    The maximum size that the address can be, should fit within those 00s.


    Last edited by Torch; 08-30-2008 at 07:21 PM. Reason: Updated to v2.1

  2. #2
    QJ Gamer Gold
    Points: 20,183, Level: 89
    Level completed: 67%, Points required for next Level: 167
    Overall activity: 0%

    Join Date
    Jul 2005
    Location
    Chicago
    Posts
    4,443
    QJ Pts
    20,183
    Level
    89
    Downloads
    0
    Uploads
    0

    Default

    pretty nice :)

  3. #3
    QJ Gamer Bronze
    Points: 4,134, Level: 40
    Level completed: 92%, Points required for next Level: 16
    Overall activity: 0%

    Join Date
    Jul 2007
    Location
    Blood Gulch
    Posts
    292
    QJ Pts
    4,134
    Level
    40
    Downloads
    0
    Uploads
    0

    Default

    yeah ... most noobs would just shove all their music on their memorystick anyways
    http://gascomics.exofire.net/banner.png
    Current FW 5.00M33
    GO!Messenger Username: odd_sam

  4. #4
    md2
    md2 is offline
    QJ Gamer Blue
    Points: 4,096, Level: 40
    Level completed: 73%, Points required for next Level: 54
    Overall activity: 0%

    Join Date
    Jul 2006
    Posts
    93
    QJ Pts
    4,096
    Level
    40
    Downloads
    0
    Uploads
    0

    Default

    looks really nice, torch. congratulations.

    not trying to look a gifthorse in the mouth, but might i be so bold as to ask for oggvorbis support..? i actually dont care about the lossy stuff, but my media library is full of flac files, and being able to access them on my psp via streaming would be sublime...

    many thanks, and kudos on the newest killer homebrew app for the psp.

  5. #5
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by md2
    not trying to look a gifthorse in the mouth, but might i be so bold as to ask for oggvorbis support..?
    I havent programmed any of the audio support lol. This is just a Radio GUI, just like the official SHOUTcast radio, which uses the PSP's built in audio playback functions. Except that it sources the files from your PC, instead of SHOUTcast.

  6. #6
    md2
    md2 is offline
    QJ Gamer Blue
    Points: 4,096, Level: 40
    Level completed: 73%, Points required for next Level: 54
    Overall activity: 0%

    Join Date
    Jul 2006
    Posts
    93
    QJ Pts
    4,096
    Level
    40
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Torch
    I havent programmed any of the audio support lol. This is just a Radio GUI, just like the official SHOUTcast radio, which uses the PSP's built in audio playback functions. Except that it sources the files from your PC, instead of SHOUTcast.
    gotcha. sorry, i am not familiar with shoutcast; i have always used fb2k on my hifi pc to stream stuff...

    thx again.

  7. #7
    QJ Gamer Gold
    Points: 12,189, Level: 72
    Level completed: 35%, Points required for next Level: 261
    Overall activity: 0%

    Join Date
    Aug 2006
    Location
    Under Your Bed
    Posts
    3,083
    QJ Pts
    12,189
    Level
    72
    Downloads
    0
    Uploads
    0

    Default

    This is pretty cool, good job

  8. #8
    QJ Gamer Platinum
    Points: 57,528, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Join Date
    Dec 2005
    Location
    h0000000rj
    Posts
    12,867
    QJ Pts
    57,528
    Level
    100
    Downloads
    0
    Uploads
    0

    Default

    hmm. doesn't work on my setup because I'm missing a ton of packages, my perl binary isn't in the standard place, and I can't read HTML from /cgi-bin/ .
    [I fail @ life]

  9. #9
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by FreePlay
    hmm. doesn't work on my setup because I'm missing a ton of packages, my perl binary isn't in the standard place, and I can't read HTML from /cgi-bin/ .
    You're using ActivePerl arent you?

    ppm install File-Util
    ppm install URI

    Those are the only two packages that I've included that *might* not be part of a stock ActivePerl installation.

    Change the shebang line to match your perl.exe
    You can delete the lines
    Code:
    use CGI::Carp qw(fatalsToBrowser);
    use strict;
    from content.pl, they arent needed for execution, since the code has no language based errors.

    I just said to put it in CGI-BIN so that they wouldnt have to enable script execution for another folder.

    Rename it back to 'myradio' and stuff it in 'htdocs'.
    Add to httpd.conf, after the rest of the <Directory> definitions.

    Code:
    <Directory "C:/Apache2/htdocs/myradio"> (change accordingly)
        Options ExecCGI
        AllowOverride All
        Order allow,deny
        Allow from all
        DirectoryIndex index.html
    </Directory>
    Dont forget to alias your media root.
    Code:
    Alias /media/ "F:/MP3/"
    And in case your default <Directory> definition is set to deny all, define the F:/MP3 directory with
    Order allow,deny
    Allow from all

  10. #10
    QJ Gamer Platinum
    Points: 57,528, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Join Date
    Dec 2005
    Location
    h0000000rj
    Posts
    12,867
    QJ Pts
    57,528
    Level
    100
    Downloads
    0
    Uploads
    0

    Default

    I'm running xampp, which installs just the base perl installation that's the issue here.
    [I fail @ life]

  11. #11
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by FreePlay
    I'm running xampp, which installs just the base perl installation that's the issue here.
    What are the missing packages, I'll include them all in the zip.
    I always prefer 100% control over everything, so I hate Easy Installers. Including non-PSP based things like XAMPP.

    NVM. All its comes with is PERL.EXE!!
    You have to download the perl addon package for XAMPP.
    Last edited by Torch; 12-20-2007 at 11:44 PM.

  12. #12
    QJ Gamer Blue
    Points: 5,389, Level: 47
    Level completed: 20%, Points required for next Level: 161
    Overall activity: 0%

    Join Date
    Mar 2007
    Posts
    283
    QJ Pts
    5,389
    Level
    47
    Downloads
    0
    Uploads
    0

    Default

    Cool good work ;) Very useful app

  13. #13
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    I've updated the installation procedure and given detailed instructions that should be helpful to those who cant get it to work.

  14. #14
    QJ Gamer Platinum
    Points: 66,627, Level: 100
    Level completed: 0%, Points required for next Level: 0
    Overall activity: 0%

    Join Date
    Feb 2006
    Location
    National Front Disco
    Posts
    13,057
    QJ Pts
    66,627
    Level
    100
    Downloads
    0
    Uploads
    0

    Default

    Nice work. :)

    Thanks.

  15. #15
    QJ Gamer Blue
    Points: 4,158, Level: 41
    Level completed: 4%, Points required for next Level: 192
    Overall activity: 0%

    Join Date
    Jul 2006
    Location
    Michigan
    Posts
    82
    QJ Pts
    4,158
    Level
    41
    Downloads
    0
    Uploads
    0

    Default

    Mine says the psp radio thing is corrupted

  16. #16
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Pocker09
    Mine says the psp radio thing is corrupted
    You mean in the XMB when you select Internet Radio?
    You must screwed up hexediting the MyRadio.prs to your computer's IP address.
    I'm writing a guide on how to hexedit the MyRadio.prs. Look in the first thread.

  17. #17
    QJ Gamer Blue
    Points: 4,158, Level: 41
    Level completed: 4%, Points required for next Level: 192
    Overall activity: 0%

    Join Date
    Jul 2006
    Location
    Michigan
    Posts
    82
    QJ Pts
    4,158
    Level
    41
    Downloads
    0
    Uploads
    0

    Default

    Ok the hex part is fine.
    but for somereason i cant connect on psp side.
    i get an error "Communication with the server faild.(8001006F)"
    maybe my Apache isn't set up all the way

  18. #18
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Pocker09
    Ok the hex part is fine.
    but for somereason i cant connect on psp side.
    i get an error "Communication with the server faild.(8001006F)"
    maybe my Apache isn't set up all the way
    See if the page is opening on your computer.

    Type in http://localhost/myradio/index.html in your browser while apache is running.
    -= Double Post =-
    I'll edit the files for you.
    Give the the following details.

    1.Where exactly is htdocs folder of Apache? (Full Path)
    2.Where are your MP3s stored? (Full Path)
    3.What is your computer's LAN IP?
    4.Where is PERL installed and what perl distribution are you using?
    Last edited by Torch; 12-21-2007 at 08:54 PM. Reason: Automerged Doublepost

  19. #19
    QJ Gamer Blue
    Points: 4,158, Level: 41
    Level completed: 4%, Points required for next Level: 192
    Overall activity: 0%

    Join Date
    Jul 2006
    Location
    Michigan
    Posts
    82
    QJ Pts
    4,158
    Level
    41
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Torch
    1.Where exactly is htdocs folder of Apache? (Full Path)
    2.Where are your MP3s stored? (Full Path)
    3.What is your computer's LAN IP?
    4.Where is PERL installed and what perl distribution are you using?
    1. C:\Program Files\Apache\Apache2.2\ht docs
    2. C:\Documents and Settings\Administrator\My Documents\My Music
    3. 192.168.0.110
    4. C:\Perl\bin (the perl command says its 5.10)

    EDIT: i can access it at 192.168.0.110 i just had to reset apache

  20. #20
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Pocker09
    for some reason i cant see the basic appache page that says "It works!" when going to 192.168.0.110 but i can when i do localhost does this change anything?
    Localhost is just a Domain Name thats hardcoded into your hosts file.
    You can hardcode Domain Names to an IP address in your hosts file, so that whenever you try to access that name, it will always go to that ip address.

    Localhost = 127.0.0.1 which is you own computer.

    Is 192.168.0.110 a static IP, or are you getting it dynamically from your router?
    Is it always the same everytime you restart?

    Its not opening because apache is not bound to listen on that IP.

    Give me you httpd.conf file from apache.

  21. #21
    QJ Gamer Blue
    Points: 3,434, Level: 36
    Level completed: 56%, Points required for next Level: 66
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    73
    QJ Pts
    3,434
    Level
    36
    Downloads
    0
    Uploads
    0

    Default

    Nice hack

  22. #22
    QJ Gamer Blue
    Points: 4,158, Level: 41
    Level completed: 4%, Points required for next Level: 192
    Overall activity: 0%

    Join Date
    Jul 2006
    Location
    Michigan
    Posts
    82
    QJ Pts
    4,158
    Level
    41
    Downloads
    0
    Uploads
    0

    Default

    yea that is static one and i can now use it to view the apache default.
    for some reason now its saying i am forbidden to view media/index.html on my psp. but when im on my pc all i get is some code

    i had to rename it to txt to upload but that shouldnt hurt it
    Attached Files Attached Files

  23. #23
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Pocker09
    yea that is static one and i can now use it to view the apache default.
    for some reason now its saying i am forbidden to view media/index.html on my psp. but when im on my pc all i get is some code

    i had to rename it to txt to upload but that shouldnt hurt it
    Oh thanks you just identified sort of an error in the MyRadio.prs

    In the .prs file it should be http://ip/myradio/index.html
    NOT media/index.html

  24. #24
    QJ Gamer Blue
    Points: 4,158, Level: 41
    Level completed: 4%, Points required for next Level: 192
    Overall activity: 0%

    Join Date
    Jul 2006
    Location
    Michigan
    Posts
    82
    QJ Pts
    4,158
    Level
    41
    Downloads
    0
    Uploads
    0

    Default

    o yea thats a typo my fault. i meant myradio
    -= Double Post =-
    not sure what i did but now it will try and load for a long time but eventually time out
    Last edited by Pocker09; 12-21-2007 at 09:31 PM. Reason: Automerged Doublepost

  25. #25
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Pocker09
    o yea thats a typo my fault. i meant myradio
    -= Double Post =-
    not sure what i did but now it will try and load for a long time but eventually time out
    First lets get it working in your PC browser.

    Use this conf file.
    http://www.sendspace.com/file/9f1agp

    You have to restart apache.

    now try opening http://192.168.0.110/myradio/index.html

    also try opening http://192.168.0.110/media/

  26. #26
    QJ Gamer Blue
    Points: 4,158, Level: 41
    Level completed: 4%, Points required for next Level: 192
    Overall activity: 0%

    Join Date
    Jul 2006
    Location
    Michigan
    Posts
    82
    QJ Pts
    4,158
    Level
    41
    Downloads
    0
    Uploads
    0

    Default

    sweet!
    i can see the top url on my pc but not the bottom one. i get a 403 forbidden error on that one

  27. #27
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Pocker09
    sweet!
    i can see the top url on my pc but not the bottom one. i get a 403 forbidden error on that one
    Whats the exact error. That it cannot list the directories or something else?

    And does the top url work properly? Can you browse through the folders etc?
    -= Double Post =-
    I've made some adjustments to your config.
    http://www.sendspace.com/file/eaxto9
    Last edited by Torch; 12-21-2007 at 09:51 PM. Reason: Automerged Doublepost

  28. #28
    QJ Gamer Blue
    Points: 4,158, Level: 41
    Level completed: 4%, Points required for next Level: 192
    Overall activity: 0%

    Join Date
    Jul 2006
    Location
    Michigan
    Posts
    82
    QJ Pts
    4,158
    Level
    41
    Downloads
    0
    Uploads
    0

    Default

    with the top url i can browse through the folders and stuff but when i click a song it doesnt do anything. i tried it on my psp and can also view folder contents but cannot play them.

    the exact error for the second url is

    "Forbidden

    You don't have permission to access /media/ on this server."

  29. #29
    Developer
    Points: 14,963, Level: 79
    Level completed: 23%, Points required for next Level: 387
    Overall activity: 0%

    Join Date
    Jun 2007
    Posts
    2,475
    QJ Pts
    14,963
    Level
    79
    Downloads
    0
    Uploads
    0

    Default

    Quote Originally Posted by Pocker09
    the exact error for the second url is

    "Forbidden

    You don't have permission to access /media/ on this server."
    Even after using the 2nd config file I uploaded?
    Then try this.
    Copy some songs to the myradio folder.
    Then edit the content.cgi as follows
    my($rootdir) = "C:/Program Files/Apache/Apache2.2/htdocs/myradio";

    my($remdir) = "http://192.168.0.110/myradio";

  30. #30
    QJ Gamer Blue
    Points: 4,158, Level: 41
    Level completed: 4%, Points required for next Level: 192
    Overall activity: 0%

    Join Date
    Jul 2006
    Location
    Michigan
    Posts
    82
    QJ Pts
    4,158
    Level
    41
    Downloads
    0
    Uploads
    0

    Default

    Brilliant! That worked. But i would rather not copy all my music there.


 
Page 1 of 3 1 2 3 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





All times are GMT -8. The time now is 10:17 AM.

Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © , Caputo Media, LLC. All Rights Reserved. Cluster .