Jump to content

Standalone Pandora Client


Recommended Posts

Hey there, just tried to run the Client with Ubuntu 10.04

After installing Mono for Wine i was able to start Pandora but i failed the IP Check (I'm outside the US)

So I tried to figure out how to run Tortunnel

I tried running tortunnel.exe which resulted in mostly nothing

so i tried torendpoints.exe which created a little window with a progress bar.

Last output was "Waiting for Tortunnel" then it crashed. I addes the terminal output

Am I doing anything wrong ? Would be great to listen to Pandora with my Linux system :)

So long

Apo

fixme:actctx:parse_manifest_buffer root element is L"asmv1:assembly", not <assembly>
fixme:actctx:parse_manifest_buffer root element is L"asmv1:assembly", not <assembly>
err:ole:CoInitializeEx Attempt to change threading model of this apartment from multi-threaded to apartment threaded
fixme:toolhelp:CreateToolhelp32Snapshot Unimplemented: heap list snapshot
fixme:toolhelp:Heap32ListFirst : stub
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {b5367df1-cbac-11cf-95ca-00805f48a192}: stub
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {b5367df2-cbac-11cf-95ca-00805f48a192}: stub
fixme:winsock:WSAIoctl SIO_GET_EXTENSION_FUNCTION_POINTER {b5367df0-cbac-11cf-95ca-00805f48a192}: stub
wine: Unhandled page fault on read access to 0x00000068 at address 0x6815ea62 (thread 0019), starting debugger...
First chance exception: page fault on read access to 0x00000068 in 32-bit code (0x6815ea62).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
 EIP:6815ea62 ESP:00afe994 EBP:00afe9c8 EFLAGS:00010202(  R- --  I   - - - )
 EAX:00000000 EBX:7bc9bff4 ECX:7bcb7aa0 EDX:00000000
 ESI:00000000 EDI:7ffd8000
Stack dump:
0x00afe994:  00000000 00000000 7bc9bff4 00000000
0x00afe9a4:  7bc9bff4 00afe9c8 7bc63a20 7bca4b20
0x00afe9b4:  0017a098 7bc4ce1b 7bc9bff4 00000000
0x00afe9c4:  7ffd8000 00afea68 7bc798dc 00000000
0x00afe9d4:  00000000 00000000 6901ce49 690f6634
0x00afe9e4:  690f6638 00afea18 7b884ff4 7ffd4f10
Backtrace:
=>0 0x6815ea62 pthread_join+0x12() in libpthread.so.0 (0x00afe9c8)
  1 0x7bc798dc exit_thread+0xfb() in ntdll (0x00afea68)
  2 0x7bc6f7bd call_thread_func+0x14() in ntdll (0x00afea78)
  3 0x7bc6f980 call_thread_entry_point+0x6f() in ntdll (0x00afeb48)
  4 0x7bc78005 in ntdll (+0x68004) (0x00aff398)
  5 0x6815d96e start_thread+0xbd() in libpthread.so.0 (0x00aff498)
0x6815ea62 pthread_join+0x12 in libpthread.so.0: movl	0x68(%eax),%edx
Modules:
Module	Address			Debug info	Name (94 modules)
PE	  3f0000-  3f8000	Deferred        accessibility
PE	  400000-  40a000	Deferred        torendpoints
PE	  410000-  500000	Deferred        libglib-2.0-0
PE	  600000-  617000	Deferred        intl
PE	  620000-  89e000	Deferred        mscorlib
PE	  df0000-  f8e000	Deferred        system
PE	  f90000- 1004000	Deferred        system.drawing
PE	 1070000- 10a4000	Deferred        mono.posix
PE	 98e0000- 98ee000	Deferred        i18n
PE	 9a10000- 9a34000	Deferred        system.configuration
PE	 9a40000- 9b7c000	Deferred        system.xml
PE	 9dd0000- 9e1e000	Deferred        mono.security
ELF	20000000-20074000	Deferred        msvcrt<elf>
  \-PE	20010000-20074000	\               msvcrt
ELF	20074000-2008a000	Deferred        psapi<elf>
  \-PE	20080000-2008a000	\               psapi
ELF	2008a000-200a3000	Deferred        version<elf>
  \-PE	20090000-200a3000	\               version
ELF	200a3000-200b7000	Deferred        lz32<elf>
  \-PE	200b0000-200b7000	\               lz32
ELF	200b7000-2011c000	Deferred        gdiplus<elf>
  \-PE	200d0000-2011c000	\               gdiplus
ELF	2011c000-20120000	Deferred        libnss_mdns4_minimal.so.2
ELF	23d95000-23e7c000	Deferred        oleaut32<elf>
  \-PE	23db0000-23e7c000	\               oleaut32
ELF	2489c000-248bb000	Deferred        libgcc_s.so.1
ELF	26f02000-26f16000	Deferred        libresolv.so.2
ELF	2d472000-2d478000	Deferred        libnss_dns.so.2
ELF	64d24000-64d50000	Deferred        ws2_32<elf>
  \-PE	64d30000-64d50000	\               ws2_32
PE	65c40000-65c4e000	Deferred        libgthread-2.0-0
ELF	68000000-6801d000	Deferred        ld-linux.so.2
ELF	6801d000-68158000	Deferred        libwine.so.1
ELF	68158000-68171000	Export          libpthread.so.0
ELF	68171000-682cb000	Export          libc.so.6
ELF	682cb000-682cf000	Deferred        libdl.so.2
ELF	682cf000-682f5000	Deferred        libm.so.6
ELF	682f5000-682fd000	Deferred        libnss_compat.so.2
ELF	682fd000-68314000	Deferred        libnsl.so.1
ELF	68314000-6831e000	Deferred        libnss_nis.so.2
ELF	6831e000-6832a000	Deferred        libnss_files.so.2
ELF	6832a000-68349000	Deferred        mscoree<elf>
  \-PE	68330000-68349000	\               mscoree
ELF	68349000-68513000	Deferred        shell32<elf>
  \-PE	68360000-68513000	\               shell32
ELF	68513000-68575000	Deferred        shlwapi<elf>
  \-PE	68520000-68575000	\               shlwapi
ELF	68575000-686a5000	Deferred        user32<elf>
  \-PE	68590000-686a5000	\               user32
ELF	686a5000-686ff000	Deferred        advapi32<elf>
  \-PE	686b0000-686ff000	\               advapi32
ELF	686ff000-68773000	Deferred        rpcrt4<elf>
  \-PE	68710000-68773000	\               rpcrt4
ELF	68773000-68844000	Deferred        comctl32<elf>
  \-PE	68780000-68844000	\               comctl32
ELF	68844000-68859000	Deferred        libz.so.1
ELF	68859000-68880000	Deferred        libexpat.so.1
ELF	68880000-68889000	Deferred        libsm.so.6
ELF	68889000-688a2000	Deferred        libice.so.6
ELF	688a2000-688b2000	Deferred        libxext.so.6
ELF	688b2000-689cf000	Deferred        libx11.so.6
ELF	689cf000-689d4000	Deferred        libuuid.so.1
ELF	689d4000-689d8000	Deferred        libxau.so.6
ELF	689d8000-689de000	Deferred        libxdmcp.so.6
ELF	689de000-68a00000	Deferred        imm32<elf>
  \-PE	689e0000-68a00000	\               imm32
ELF	68a00000-68a04000	Deferred        libxinerama.so.1
ELF	68a04000-68a0a000	Deferred        libxxf86vm.so.1
ELF	68a0a000-68a12000	Deferred        libxrandr.so.2
ELF	68a12000-68a18000	Deferred        libxfixes.so.3
ELF	68a18000-68a22000	Deferred        libxcursor.so.1
ELF	68a22000-68a56000	Deferred        uxtheme<elf>
  \-PE	68a30000-68a56000	\               uxtheme
ELF	68a56000-68b54000	Deferred        ole32<elf>
  \-PE	68a70000-68b54000	\               ole32
PE	68ec0000-69136000	Deferred        mono
ELF	6a612000-6a616000	Deferred        libxcomposite.so.1
ELF	70ff9000-71029000	Deferred        libfontconfig.so.1
ELF	71a15000-71a9d000	Deferred        winmm<elf>
  \-PE	71a20000-71a9d000	\               winmm
ELF	72c69000-72d0a000	Deferred        winex11<elf>
  \-PE	72c80000-72d0a000	\               winex11
ELF	74ae9000-74afe000	Deferred        mswsock<elf>
  \-PE	74af0000-74afe000	\               mswsock
ELF	74bdb000-74bf5000	Deferred        libxcb.so.1
ELF	7a568000-7a5de000	Deferred        libfreetype.so.6
ELF	7b800000-7b93d000	Deferred        kernel32<elf>
  \-PE	7b810000-7b93d000	\               kernel32
ELF	7bc00000-7bcb8000	Export          ntdll<elf>
  \-PE	7bc10000-7bcb8000	\               ntdll
ELF	7bf00000-7bf04000	Deferred        <wine-loader>
ELF	7d2d0000-7d35b000	Deferred        gdi32<elf>
  \-PE	7d2e0000-7d35b000	\               gdi32
ELF	7d426000-7d430000	Deferred        libxrender.so.1
Threads:
process  tid      prio (all id:s are in hex)
00000008 (D) H:\Pandora\torendpoints.exe
	00000025    0
	00000023    0
	00000022    0
	00000021    0
	00000020    0
	00000019    0 <==
0000000e services.exe
	00000014    0
	00000010    0
	0000000f    0
00000011 winedevice.exe
	00000018    0
	00000017    0
	00000013    0
	00000012    0
0000001a explorer.exe
	0000001b    0
00000026 tortunnel.exe
	00000028    0
	00000027    0
Backtrace:
=>0 0x6815ea62 pthread_join+0x12() in libpthread.so.0 (0x00afe9c8)
  1 0x7bc798dc exit_thread+0xfb() in ntdll (0x00afea68)
  2 0x7bc6f7bd call_thread_func+0x14() in ntdll (0x00afea78)
  3 0x7bc6f980 call_thread_entry_point+0x6f() in ntdll (0x00afeb48)
  4 0x7bc78005 in ntdll (+0x68004) (0x00aff398)
  5 0x6815d96e start_thread+0xbd() in libpthread.so.0 (0x00aff498)

Link to post
Share on other sites
  • Replies 73
  • Created
  • Last Reply

Top Posters In This Topic

i've never tried to use tortunnel or torendpoints (helper prog i wrote to deal with tortunnel) on linux - the basic idea of tortunnel is to give it the name of a single tor exit node, and it establishes what's essentially a one-hop tor circuit. not as secure as a proper one, but faster generally.

Your best hope, honestly, would be to just use the native tor for your system (apt-get install tor might do it) and then change the torrc to use the US nodes.

Here's a template:

ClientOnly 1

SocksPort 9050

SocksBindAddress 127.0.0.1

ExitNodes AoF,piyaaz,lot49,TickleMeElmo,MaoDebUSA,LoveLibertyJustice,AMPD,kgabertgoldmine2

,ennui,fejk2,W1n5t0n,Bigbooty,ratatouille,JVGTORSERVER,Justanothernodule,blackfir

e,Soulmech,MyPrivateInfo,Mig52,GRU,FireduckTesla,ChampionVolleyball,Wonderland,FM

W01,iamnotwo,thistorserver555333,pmpbellybutton,rafiki,torus,4U2Guess,FireduckCom

cast,coolmintv,u15393405,Bonzo,winfield,SlothNet,DC13,torn0t,margbardiktator,braz

oslink,eldiabloalpaca,severin,thefreeman,nanelmoth,GravityRon,nockodotnet,casio,i

ndievisible,Werewolf,dinomite,Livedzat,Spoooon,fnravis,oneofmanysomeoffew,hpoohto

r,xjarchaeologist,ludrayven,ONE,Anonymous,evoLution,SecurityNode,freetorland,blu3

sky,cyberWarrior,ideletedtheconfig,Muspelhiem,Researcher,YourRight2Privacy,badpir

ate,korak,upyoursSpook,NoWhereMan,SoftPower,kietzman,Infinity,0Pepper,nylonsoftar

mor,fattuba,idideditheconfig,ephemeron,omgprivacy,2234N6FTW,beautifulsky0,SmallTi

me

StrictExitNodes 1

Those nodes may work for you as-is, actually. A good site to get tor exit nodes from: http://torstatus.kgprog.com/

Link to post
Share on other sites

Yes, it sure might be nice to "Time-Shift" Pandora under Linux but

there are some people like me who simply gave up all hopes after

considering the contraption of layers it would require!

If one has a solution compatible with 'StreamRipper' then now that's

something i'm eager to experiment with, rather than what has been

mentioned previously... ...but i don't sense it coming and i'm far

from being a Linux guru, so... Well, it's OKay to have dreams.

:blink:

Link to post
Share on other sites
Yes, it sure might be nice to "Time-Shift" Pandora under Linux but

there are some people like me who simply gave up all hopes after

considering the contraption of layers it would require!

If one has a solution compatible with 'StreamRipper' then now that's

something i'm eager to experiment with, rather than what has been

mentioned previously... ...but i don't sense it coming and i'm far

from being a Linux guru, so... Well, it's OKay to have dreams.

:blink:

Does this really belong in this thread? It's not even about saving from pandora, it's a client to listen to pandora ...

Link to post
Share on other sites
  • 5 months later...
Update deployed that vifxes this. Get it from the website~

Thanks for the quick update, however when I d/l from here or the website directly I still get the old 9/24/10 version. Where is the new version posted? :unsure:

Edited by brobin
Link to post
Share on other sites
Thanks for the quick update, however when I d/l from here or the website directly I still get the old 9/24/10 version. Where is the new version posted? :unsure:

Are you sure you are downloading/running the new exe properly? I've just checked the uploaded version, and it is dated 10/7. You might have duplicates or something in your download dir.

Link to post
Share on other sites
Are you sure you are downloading/running the new exe properly? I've just checked the uploaded version, and it is dated 10/7. You might have duplicates or something in your download dir.

Thanks, Don't know why and I didn't do anything differently, but this morning the new version loaded correctly; however, it returns the following error when I start it (the Standalone Client) or press the play button.

"Esoteric error while authenticating:

org.apache.xmlrpc.XmlRpcException: An invalid XML character (Unicode: 0x10) was found in the element content of the document."

Thanks for your help,

Bruce

Edited by brobin
Link to post
Share on other sites
Thanks, Don't know why and I didn't do anything differently, but this morning the new version loaded correctly; however, it returns the following error when I start it (the Standalone Client) or press the play button.

"Esoteric error while authenticating:

org.apache.xmlrpc.XmlRpcException: An invalid XML character (Unicode: 0x10) was found in the element content of the document."

Thanks for your help,

Bruce

FOLLOW UP: I had to re-register my account in the Standalone Client and create new stations. In the past when I've upgraded versions these items were carried forward but not this time. No biggie, all is working well now!

Link to post
Share on other sites
FOLLOW UP: I had to re-register my account in the Standalone Client and create new stations. In the past when I've upgraded versions these items were carried forward but not this time. No biggie, all is working well now!

Yeah, that was caused by the keys changing. Clearing the username stored would have fixed it (and you would have to re login)

What happened was the user and pass were stored using pandora's keys, but since those changed, the old ones produced garbage; but it didn't throw a normal bad user/pass error (pandora didn't), hence. I had partial code to catch it but evidently has not been good enough.

Link to post
Share on other sites
If you get an esoteric error while logging in, go into advanced settings, find __PandoraClient_Username, clear it, then close settings. The client should work then, though you will need to log in again.

Thanks, I didn't actually find that option under the Standalone Client's Advanced menu but (I only run the client) I was offered a "Register" option in the drop down which went away after I logged in again. It's working perfectly now. Thanks again for your help.

Link to post
Share on other sites
  • 2 months later...

It's quite unlikely, sorry. A native port would require changing languages (baaaad); though mono could be an option with a new output layer (assuming it does not eat shit and die with all the UI stuff). It would likely not perform so hot, though. You're better off using a client like pianobar or pithos, really [other third party pandora clients].

FWIW, Saver2 will function under mono currently. Just not the client.

Link to post
Share on other sites

It's quite unlikely, sorry. A native port would require changing languages (baaaad); though mono could be an option with a new output layer (assuming it does not eat shit and die with all the UI stuff). It would likely not perform so hot, though. You're better off using a client like pianobar or pithos, really [other third party pandora clients].

Thank you for your comment ZZJ.

There is already a pandora client for maemo in development state. See here. The problem is it cannot be used outside the US. May be if somehow the TOR portion you have done so nicely can be incorporated in the maemo client... a wish from me.

Link to post
Share on other sites

Thank you for your comment ZZJ.

There is already a pandora client for maemo in development state. See here. The problem is it cannot be used outside the US. May be if somehow the TOR portion you have done so nicely can be incorporated in the maemo client... a wish from me.

You'd have to look through the source and see if it supports/can be made to support a SOCKS proxy easily - the basic idea is to send all the pandora XMLRPC requests through the Tor proxy to pandora, but not the music or album art (as it's not required).

My implementation uses tortunnel, which is a simple implementation of a tor client which links directly to an exit node [server which requests can go from tor network->internet] so it's faster but not anonymous really.

It queries one of the following sites:

"http://torstatus.cyberphunk.org/"

"http://torstatus.all.de/"

"http://torstatus.blutmagie.de/"

"http://server.privacyfoundation.de/torstatus/index.php"

"http://torstatus.asprion.org/"

"http://torstatus.unimos.net/"

"http://torstatus.kgprog.com/"

with arguments of "?SR=Bandwidth&SO=Desc", then parses out all the entries which are exit nodes, and located in the US (sorted by fastest first), removing all the blacklisted entries - I keep a blacklist on my site of bad endpoints, chronically bad ones or ones marked as in US but in canada.

It then picks the first exit node, and attempts to start a tortunnel connected to it. If tortunnel connects OK, it runs a connection test and tries to open google via tortunnel, if that works, the helper exits as tortunnel is ready for pandora requests. If connection or test failed, it tries the next one.

It actually uses a slightly modified version of tortunnel, the source is available if you like. It's windows-specific (partially, anyways) and not really of much use for linux, though. And of course, Tor itself can be used as well.

Link to post
Share on other sites
  • 1 month later...
  • 2 months later...

So, is there a .net library or some C# code available to peek at? :)

I'm working on a Centrafuse Pandora app, and for the life of me cant figure out how to nab the currently playing track information.

I'd be curious as to how you implemented some of this. Any hints?

Mark

Link to post
Share on other sites
  • 3 months later...
  • 4 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    No registered users viewing this page.


×
×
  • Create New...