hymn Forum Index hymn
Hear Your Music aNywhere
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

QTFairUse6 Discussion
Goto page 1, 2, 3 ... 85, 86, 87  Next
 
Post new topic   Reply to topic    hymn Forum Index -> Technical
View previous topic :: View next topic  
Author Message
cough syrup



Joined: 03 Jun 2006
Posts: 517

PostPosted: Mon Aug 28, 2006 6:53 pm    Post subject: QTFairUse6 Discussion Reply with quote

Well. I'm not gonna lie. It's not working for me.
Back to top
View user's profile Send private message
igorsk



Joined: 28 Aug 2006
Posts: 128

PostPosted: Mon Aug 28, 2006 7:22 pm    Post subject: Reply with quote

Well, it would be nice to have some more details besides "it's not working".
Back to top
View user's profile Send private message
iTunesIsEvil
Moderator


Joined: 08 Nov 2004
Posts: 999
Location: In Ur Base

PostPosted: Mon Aug 28, 2006 7:31 pm    Post subject: Reply with quote

Hmm... when I try to run this (I opened/ran it in IDLE) I get the following:
Code:
Traceback (most recent call last):
  File "C:\Documents and Settings\gkaiser\Desktop\QTFairUse6-1.0\QTFairUse6.py", line 16, in ?
    from pydbg import *
  File "C:\Documents and Settings\gkaiser\Desktop\QTFairUse6-1.0\pydbg\__init__.py", line 40, in ?
    from defines                 import *
  File "C:\Documents and Settings\gkaiser\Desktop\QTFairUse6-1.0\pydbg\defines.py", line 34, in ?
    from my_ctypes import *
  File "C:\Documents and Settings\gkaiser\Desktop\QTFairUse6-1.0\pydbg\my_ctypes.py", line 29, in ?
    from ctypes import *
  File "C:\Documents and Settings\gkaiser\Desktop\QTFairUse6-1.0\ctypes\__init__.py", line 16, in ?
    from _ctypes import Union, Structure, Array
ImportError: No module named _ctypes

So I thought to myself "Hmm, maybe I should move pydbg and cytpes to the Lib folder, so I copied both to "WhereIInstalledPython\Lib\", restarted IDLE, and tried running the app again and it failed with the same message. Both of the directories (ctypes,pydbg) are now in the "Path Browser" so I would think they're being included, but I must be screwing something up.

If you know what I'm doing wrong, feel free to let me know. I'm a total Python newb. Smile
_________________
"Hooray! I'm Helping!" - Dr. Zoidberg while being held Hostage.
Back to top
View user's profile Send private message
igorsk



Joined: 28 Aug 2006
Posts: 128

PostPosted: Mon Aug 28, 2006 7:37 pm    Post subject: Reply with quote

Ah, this is a much better report. Looks like I forgot to put one file. Please redownload the zip from the first post.
Back to top
View user's profile Send private message
iTunesIsEvil
Moderator


Joined: 08 Nov 2004
Posts: 999
Location: In Ur Base

PostPosted: Mon Aug 28, 2006 7:49 pm    Post subject: Reply with quote

Looks like it's working now. This is pretty damn neat man! Very nice job.

So explain this to me: is this really AAC audio you're grabbing right out of memory? It's not being really decompressed or anything & we're not getting wav audio right?
_________________
"Hooray! I'm Helping!" - Dr. Zoidberg while being held Hostage.
Back to top
View user's profile Send private message
igorsk



Joined: 28 Aug 2006
Posts: 128

PostPosted: Mon Aug 28, 2006 8:10 pm    Post subject: Reply with quote

Yep, it works in the same way as the original QTFairUse - intercepts AAC frames after they're decrypted but before they're decoded. And you can compare the file sizes - dumped streams are a few hundred K less than the encrypted m4ps, since the latter include artwork and other metadata.
Back to top
View user's profile Send private message
ejonesss



Joined: 16 Oct 2005
Posts: 743
Location: usa

PostPosted: Mon Aug 28, 2006 9:38 pm    Post subject: Reply with quote

correct me if i am wrong but it looks like this is one step closer to being to get hymn working for itunes 6 Cool
Back to top
View user's profile Send private message Visit poster's website
iTunesIsEvil
Moderator


Joined: 08 Nov 2004
Posts: 999
Location: In Ur Base

PostPosted: Mon Aug 28, 2006 10:19 pm    Post subject: Reply with quote

ejonesss wrote:
correct me if i am wrong but it looks like this is one step closer to being to get hymn working for itunes 6 Cool

Well, this is a real-time solution as far as I can see.
_________________
"Hooray! I'm Helping!" - Dr. Zoidberg while being held Hostage.


Last edited by iTunesIsEvil on Thu Aug 31, 2006 12:56 am; edited 1 time in total
Back to top
View user's profile Send private message
cough syrup



Joined: 03 Jun 2006
Posts: 517

PostPosted: Mon Aug 28, 2006 10:47 pm    Post subject: Reply with quote

Sorry that I didn't post more. I just had time to make sure this wasn't gonna crash my computer, and to then say it didn't work before I had to run for soccer.

But I have a thought. Could we snag the songs ID3 tags or add a prompt to encode the info?

PS. Is this windows only?
Back to top
View user's profile Send private message
DrmBytes
Moderator


Joined: 16 May 2004
Posts: 2999

PostPosted: Mon Aug 28, 2006 11:00 pm    Post subject: Reply with quote

Highly impressive. Credit where credit is due. This is very nice. Thanks for posting this! Now if only TuneBite could implement this combined with their tag capturing stuff we'd have a really great solution.
Back to top
View user's profile Send private message
iTunesIsEvil
Moderator


Joined: 08 Nov 2004
Posts: 999
Location: In Ur Base

PostPosted: Mon Aug 28, 2006 11:02 pm    Post subject: Reply with quote

cough syrup wrote:
But I have a thought. Could we snag the songs ID3 tags or add a prompt to encode the info?

Probably could, but that'd be a lot of extra stuff to do. There may be a python library for reading tags from AAC audio.
[edit] Here's a little python script that kinda,sorta does what I was thinking.

cough syrup wrote:
PS. Is this windows only?

This should work on any environment that python and iTunes will run in (Windows & OS X). Smile Should being the keyword there. But I don't see anything right off the bat in the code that would stop us from using this on OS X.
_________________
"Hooray! I'm Helping!" - Dr. Zoidberg while being held Hostage.
Back to top
View user's profile Send private message
igorsk



Joined: 28 Aug 2006
Posts: 128

PostPosted: Mon Aug 28, 2006 11:20 pm    Post subject: Reply with quote

iTunesIsEvil wrote:
.
Here's a little python script that kinda,sorta does what I was thinking.

Thanks for the code! I will see if I can do something with it.
And yes, this script works on Windows only. To make it work on Mac one would need 1) port pydbg or find a similar package 2) reverse iTunes to find the routines which handle AAC data after decryption.
Back to top
View user's profile Send private message
cough syrup



Joined: 03 Jun 2006
Posts: 517

PostPosted: Mon Aug 28, 2006 11:58 pm    Post subject: Reply with quote

iTunesIsEvil wrote:
This should work on any environment that python and iTunes will run in (Windows & OS X). Smile Should being the keyword there. But I don't see anything right off the bat in the code that would stop us from using this on OS X.


That's what I was thinking. It's python so yeah. It should work for me. But I looked inside som of the resource files. It made references to windows system files.
pydbg/windows_h.py

As well as the file pydbg.defines cant be read. I get this
Quote:
from: can't read /var/mail/pydbg.defines

And I can't find that file anywhere.

I also get these 3 lines of error. Right after it says it can't read the file.
Quote:
~/Desktop/QTFairUse6-1.0 Folder/QTFairUse6.py: line 19: import: command not found
~/Desktop/QTFairUse6-1.0 Folder/QTFairUse6.py: line 21: syntax error near unexpected token `('
~/Desktop/QTFairUse6-1.0 Folder/QTFairUse6.py: line 21: `error = lambda msg: sys.stderr.write("ERROR> " + msg + "\n") or sys.exit(1)'

Then it quits.
Back to top
View user's profile Send private message
ejonesss



Joined: 16 Oct 2005
Posts: 743
Location: usa

PostPosted: Tue Aug 29, 2006 9:25 am    Post subject: Reply with quote

hey! we made it to engadget and slyck

http://www.engadget.com/2006/08/29/hymn-is-back-fairplay-on-itunes-6-finally-cracked/

http://www.slyck.com/forums/viewtopic.php?t=25580

let's hope this does not draw unwanted attention and cause apple to change the algorithm.


other note: the imovie rip method no longer works resulting in blank sound track.
Back to top
View user's profile Send private message Visit poster's website
totom



Joined: 29 Aug 2006
Posts: 2

PostPosted: Tue Aug 29, 2006 10:41 am    Post subject: Reply with quote

cough syrup wrote:
As well as the file pydbg.defines cant be read. I get this
Quote:
from: can't read /var/mail/pydbg.defines

And I can't find that file anywhere.


You have to use "python QTFairUse6.py" instead of "./QTFairUser6.py" since the script lacks a shebang line.

That said, even with "python QTFairUse6.py" and redownloading the file, I still get the "ImportError: No module named _ctypes" error (on OS X).
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    hymn Forum Index -> Technical All times are GMT
Goto page 1, 2, 3 ... 85, 86, 87  Next
Page 1 of 87

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group