Browse Source

first lfs

shuvit 5 years ago
parent
commit
1069eb9428
100 changed files with 561 additions and 0 deletions
  1. 13
    0
      .gitattributes
  2. 2
    0
      .lfsconfig
  3. 129
    0
      DList.py
  4. 3
    0
      Music/A.F-Tone - Escapism.mp3
  5. 3
    0
      Music/A.F-Tone - For You I Cry.mp3
  6. 3
    0
      Music/A.F-Tone - God Barz.mp3
  7. 3
    0
      Music/A.F-Tone - Good Sheperd.mp3
  8. 3
    0
      Music/A.F-Tone - Gorilla Pimpin.mp3
  9. 3
    0
      Music/A.F-Tone - Halleluyah.mp3
  10. 3
    0
      Music/A.F-Tone - Husslenomics.mp3
  11. 3
    0
      Music/A.F-Tone - Kaos.mp3
  12. 3
    0
      Music/A.F-Tone - Learnt Lessons.mp3
  13. 3
    0
      Music/A.F-Tone - Lessons Learned.mp3
  14. 3
    0
      Music/A.F-Tone - Let Me Live.mp3
  15. 3
    0
      Music/A.F-Tone - Mama.mp3
  16. 3
    0
      Music/A.F-Tone - Mask For Da Pain.mp3
  17. 3
    0
      Music/A.F-Tone - Mayhem.mp3
  18. 3
    0
      Music/A.F-Tone - No More.mp3
  19. 3
    0
      Music/A.F-Tone - On My Square.mp3
  20. 3
    0
      Music/A.F-Tone - Peep Tha Technique.mp3
  21. 3
    0
      Music/A.F-Tone - Please.mp3
  22. 3
    0
      Music/CeLL Uno - Athens by Night.mp3
  23. 3
    0
      Music/CeLL Uno - Bell Billy.mp3
  24. 3
    0
      Music/CeLL Uno - Breakfast at Korky's.mp3
  25. 3
    0
      Music/CeLL Uno - Flip Wed.mp3
  26. 3
    0
      Music/CeLL Uno - Sublime.mp3
  27. 3
    0
      Music/CeLL Uno - Twenty Seven.mp3
  28. 3
    0
      Music/CeLL Uno - Twenty Six.mp3
  29. 3
    0
      Music/CeLL Uno - Yup.mp3
  30. 3
    0
      Music/Come And Get It.mp3
  31. 3
    0
      Music/DivineInfinite - AB.mp3
  32. 3
    0
      Music/DivineInfinite - Blade Runner.mp3
  33. 3
    0
      Music/DivineInfinite - CM3.mp3
  34. 3
    0
      Music/DivineInfinite - Fall Down.mp3
  35. 3
    0
      Music/DivineInfinite - Fly that Top.mp3
  36. 3
    0
      Music/DivineInfinite - Fly that Top2.mp3
  37. 3
    0
      Music/DivineInfinite - Ghetto Humans.mp3
  38. 3
    0
      Music/DivineInfinite - Jesus Juice 2.mp3
  39. 3
    0
      Music/DivineInfinite - Legacy.mp3
  40. 3
    0
      Music/DivineInfinite - MFGD.mp3
  41. 3
    0
      Music/DivineInfinite - Old Possy 2.mp3
  42. 3
    0
      Music/DivineInfinite - One of the best yet.mp3
  43. 3
    0
      Music/DivineInfinite - The Only Way.mp3
  44. 3
    0
      Music/DivineInfinite - Walk of life .mp3
  45. 3
    0
      Music/Divineinfinite - Bang This.mp3
  46. 3
    0
      Music/Divineinfinite - Bang This2.mp3
  47. 3
    0
      Music/Just 1 Soul - Crook.mp3
  48. 3
    0
      Music/Just 1 Soul - Good love.mp3
  49. 3
    0
      Music/Just 1 Soul - Growing.mp3
  50. 3
    0
      Music/Just 1 Soul - Henney and Coke.mp3
  51. 3
    0
      Music/Just 1 Soul - I'll Take Care Of You.mp3
  52. 3
    0
      Music/Just 1 Soul - Salmon.mp3
  53. 3
    0
      Music/Just 1 Soul - The Death Of Me.mp3
  54. 3
    0
      Music/Just 1 Soul - We Go Hard.mp3
  55. 3
    0
      Music/Rustibones - A Long Walk.mp3
  56. 3
    0
      Music/Rustibones - Admit It.mp3
  57. 3
    0
      Music/Rustibones - All I Wanna Do.mp3
  58. 3
    0
      Music/Rustibones - All We Are.mp3
  59. 3
    0
      Music/Rustibones - And They Say.....mp3
  60. 3
    0
      Music/Rustibones - Brighter.mp3
  61. 3
    0
      Music/Rustibones - Bullet Grazin.mp3
  62. 3
    0
      Music/Rustibones - Burdens.mp3
  63. 3
    0
      Music/Rustibones - Cabin Fever.mp3
  64. 3
    0
      Music/Rustibones - Cant You See.mp3
  65. 3
    0
      Music/Rustibones - Clash Of The Classes.mp3
  66. 3
    0
      Music/Rustibones - Come Around.mp3
  67. 3
    0
      Music/Rustibones - Come Wit It.mp3
  68. 3
    0
      Music/Rustibones - Dispyz Me - 85.mp3
  69. 3
    0
      Music/Rustibones - Fighting Words.mp3
  70. 172
    0
      MusicPlayer.py
  71. 2
    0
      Recordings/shuvit replay.dat
  72. BIN
      __pycache__/DList.cpython-36.pyc
  73. BIN
      __pycache__/MusicPlayer.cpython-36.pyc
  74. BIN
      __pycache__/_version.cpython-36.pyc
  75. BIN
      __pycache__/configobj.cpython-36.pyc
  76. BIN
      __pycache__/shader_components.cpython-36.pyc
  77. 1
    0
      _version.py
  78. 2
    0
      ai_recordings/20secA.dat
  79. 2
    0
      ai_recordings/20secB.dat
  80. 2
    0
      ai_recordings/20secC.dat
  81. 2
    0
      ai_recordings/20secD.dat
  82. 2
    0
      ai_recordings/20secE.dat
  83. 2
    0
      ai_recordings/30secA.dat
  84. 2
    0
      ai_recordings/30secB.dat
  85. 2
    0
      ai_recordings/npc1.dat
  86. 2
    0
      ai_recordings/npc2.dat
  87. 2
    0
      ai_recordings/npc3.dat
  88. 2
    0
      ai_recordings/npc4.dat
  89. 2
    0
      ai_recordings/npc5.dat
  90. 2
    0
      ai_recordings/npc8.dat
  91. 2
    0
      ai_recordings/shopSaEa30a.dat
  92. 2
    0
      ai_recordings/shopSaEa40a.dat
  93. 2
    0
      ai_recordings/shopSaEb20a.dat
  94. 2
    0
      ai_recordings/shopSaEb40a.dat
  95. 2
    0
      ai_recordings/shopSbEa50a.dat
  96. 2
    0
      ai_recordings/shopSbEa60a.dat
  97. 2
    0
      ai_recordings/shopSbEb40sec.dat
  98. 2
    0
      ai_recordings/shopSbEb50a.dat
  99. 2
    0
      ai_recordings/shop_B_60a.dat
  100. 0
    0
      ai_recordings/shop_B_60b.dat

+ 13
- 0
.gitattributes View File

@@ -0,0 +1,13 @@
1
+*.blend filter=lfs diff=lfs merge=lfs -text
2
+*.blend1 filter=lfs diff=lfs merge=lfs -text
3
+*.mp3 filter=lfs diff=lfs merge=lfs -text
4
+*.jpg filter=lfs diff=lfs merge=lfs -text
5
+*.jpeg filter=lfs diff=lfs merge=lfs -text
6
+*.png filter=lfs diff=lfs merge=lfs -text
7
+*.flac filter=lfs diff=lfs merge=lfs -text
8
+*.xcf filter=lfs diff=lfs merge=lfs -text
9
+*.m4a filter=lfs diff=lfs merge=lfs -text
10
+*.tga filter=lfs diff=lfs merge=lfs -text
11
+*.ttf filter=lfs diff=lfs merge=lfs -text
12
+*.wma filter=lfs diff=lfs merge=lfs -text
13
+*.wav filter=lfs diff=lfs merge=lfs -text

+ 2
- 0
.lfsconfig View File

@@ -0,0 +1,2 @@
1
+[lfs]
2
+    url = "http://shuvit:da3w0n@server.robzilla-beats.com:34/"

+ 129
- 0
DList.py View File

@@ -0,0 +1,129 @@
1
+""" A node is a container which encapsulates any type of data.
2
+    The node object also has a reference to the NODE preceding and following
3
+    said object."""
4
+class Node(object):
5
+ 
6
+    def __init__(self, data, prev, next):
7
+        self.data = data
8
+        self.prev = prev
9
+        self.next = next
10
+        
11
+    def getNext(self):
12
+        if self.next is not None:
13
+            return self.next
14
+        print('There\'s nothing next, trying prev')
15
+        if self.prev is not None:
16
+            return self.prev
17
+        print('There\s nothing before either, just this one')
18
+        return self
19
+        
20
+    def getPrev(self):
21
+        if self.prev is not None:
22
+            return self.prev
23
+        print('There\'s nothing before, trying next')
24
+        if self.next is not None:
25
+            return self.next
26
+        print('There\'s nothing next either, just this one')
27
+        return self
28
+        
29
+    def getData(self):
30
+        return self.data
31
+ 
32
+""" A doubly-linked list implementation 
33
+    NOTE: the getters and setters return a reference to a Node object,
34
+    inside which is the data you're probably looking for. If you want to
35
+    access data, remember; after you call a get or find, use .data"""
36
+class DoubleList(object):
37
+ 
38
+    head = None
39
+    tail = None
40
+    length = 0;
41
+ 
42
+    """ Add a node to the list """
43
+    def append(self, data):
44
+        new_node = Node(data, None, None)
45
+        if self.head is None:
46
+            self.head = self.tail = new_node
47
+        else:
48
+            new_node.prev = self.tail
49
+            new_node.next = None
50
+            self.tail.next = new_node
51
+            self.tail = new_node
52
+        self.length = self.length + 1
53
+ 
54
+    """ Find a node in the list, then remove it """
55
+    def remove(self, node):
56
+        current_node = self.head
57
+ 
58
+        while current_node is not None:
59
+            if current_node == node:
60
+                # if it's not the first element
61
+                if current_node.prev is not None:
62
+                    current_node.prev.next = current_node.next
63
+                    current_node.next.prev = current_node.prev
64
+                # if its the last element
65
+                elif current_node.next is None:
66
+                    self.tail = current_node.prev
67
+                    self.tail.prev = current_node.prev.prev
68
+                    self.tail.next = None
69
+                else:
70
+                    # otherwise we have no prev (it's None), head is the next one, and prev becomes None
71
+                    self.head = current_node.next
72
+                    current_node.next.prev = None
73
+ 
74
+            current_node = current_node.next
75
+        self.length = self.length - 1
76
+    
77
+    def show(self):
78
+        print("Show list data:")
79
+        current_node = self.head
80
+        while current_node is not None:
81
+            print(current_node.data)
82
+            current_node = current_node.next
83
+        print("*"*50)
84
+        
85
+    """ Find a node in the list by value comparison """
86
+    def findNode(self, node_value):
87
+        current_node = self.head
88
+        
89
+        while current_node is not None:
90
+            if current_node.data == node_value:
91
+                return current_node
92
+            current_node = current_node.next
93
+    
94
+    """ Get a node by index position """
95
+    def get(self, index):
96
+        if index > self.length:
97
+            return none
98
+        elif index == 1:
99
+            return self.head
100
+        elif index == self.length:
101
+            return self.tail
102
+        else:
103
+            current_node = self.head
104
+            pos = 1
105
+            while pos < index:
106
+                current_node = current_node.next
107
+                pos = pos + 1
108
+            return current_node
109
+    
110
+    """ Checks if a node is in this list """
111
+    def contains(self, node):
112
+        current_node = self.head
113
+        while current_node is not None:
114
+            if current_node == node:
115
+                return true
116
+            current_node = current_node.next
117
+        return false
118
+        
119
+    """ Get the length of this list """
120
+    def getLength(self):
121
+        return self.length
122
+        
123
+    """ Get the head of this list """
124
+    def getHead(self):  # get head (;
125
+        return self.head
126
+        
127
+    """ Get the tail of this list """
128
+    def getTail(self):
129
+        return self.tail

+ 3
- 0
Music/A.F-Tone - Escapism.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:84ed02b15785d4f5bdded4f8159263d3eedbe771f4ef2ae6eb9cd20b68a643a1
3
+size 5071463

+ 3
- 0
Music/A.F-Tone - For You I Cry.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:53bff50939b5b7a687f51403445a103a3d71d51b842eb7982eb7eb4c1c9e1b3d
3
+size 6834414

+ 3
- 0
Music/A.F-Tone - God Barz.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:28d754210344526cd3213ca6d159599a861ad1cf1e8ca05935bf3c25b7d10e0c
3
+size 5578029

+ 3
- 0
Music/A.F-Tone - Good Sheperd.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:6a3bb87c801aa21c2242dc804a09d709c7bcee1fb33b9a2da7d96b7812e1e993
3
+size 5016292

+ 3
- 0
Music/A.F-Tone - Gorilla Pimpin.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:785aaff0386515f1d5875563f61042fe82a925c1593a077f3eee89e6d2e2b7fb
3
+size 5366123

+ 3
- 0
Music/A.F-Tone - Halleluyah.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:a3543af9084f8537b45afe19ec7a688b28c414399191419db122c09404fcc90a
3
+size 5032611

+ 3
- 0
Music/A.F-Tone - Husslenomics.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:560cd0b054f7c27777f8adb614fc5de16234349db77288968c6d1138f8df3f52
3
+size 5248260

+ 3
- 0
Music/A.F-Tone - Kaos.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:9ac135f406880515fa4743b0e796ee01715710c42656452e4b5116db886b1867
3
+size 4962375

+ 3
- 0
Music/A.F-Tone - Learnt Lessons.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:bbbee88b283e52d27ad9a53534546040228a2c20e784b9fb9591c8f3d1a38077
3
+size 4667714

+ 3
- 0
Music/A.F-Tone - Lessons Learned.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:08c062941f828c6b3c6bd87cd437e29f899057c84e30fa2acba400118e981493
3
+size 6363584

+ 3
- 0
Music/A.F-Tone - Let Me Live.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:69296a4b51759f0c21a8149595825c97b315a0ef1f6e486f0e9eb28875a07ea6
3
+size 3713295

+ 3
- 0
Music/A.F-Tone - Mama.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:24a42d2e9321447fc252e447697910db11e0c06ea2ea41136665fbe1bdd9a327
3
+size 4615697

+ 3
- 0
Music/A.F-Tone - Mask For Da Pain.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:2d0c695d106dbea459b59302e538e2e4421fea23090a79e30daaec4a54640cdd
3
+size 6151678

+ 3
- 0
Music/A.F-Tone - Mayhem.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:0a377102580a9b4bbc82a3c008a062c21ec3ee58f9e4f2fe5ff255cf42e73b09
3
+size 4662091

+ 3
- 0
Music/A.F-Tone - No More.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:89812a024655a85c483f6acc50a59fcb81e55dd2563c9347d6951f14844cfc96
3
+size 3496479

+ 3
- 0
Music/A.F-Tone - On My Square.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:9f1754d4badd1fed154b3e9479ec96f56190b391d4a405257eb8a38d63310395
3
+size 5086509

+ 3
- 0
Music/A.F-Tone - Peep Tha Technique.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:97984c25dc19cf58a38f9341dbc93cdf159621a93991d09cb28823ccb9bbc1e7
3
+size 5127887

+ 3
- 0
Music/A.F-Tone - Please.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:5513884e097d5949797a1172473aa01d9c4b3997e91be0bc535294f395797024
3
+size 2776334

+ 3
- 0
Music/CeLL Uno - Athens by Night.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:e56c789ec8b52ecab86d8cde3f72de68e8ed41daa94c649d64cd5a64a927f921
3
+size 7104634

+ 3
- 0
Music/CeLL Uno - Bell Billy.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:802dfdded9f53297b8b67976791f74f98e8d794085ef3967ea4394996728c647
3
+size 2350159

+ 3
- 0
Music/CeLL Uno - Breakfast at Korky's.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:6ea5484605550aa43705d977e957699d5bf326b60d42aa72568d68f9e7f60973
3
+size 3096401

+ 3
- 0
Music/CeLL Uno - Flip Wed.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:de951d910deace4fa9f03b7306184dc3b9f1cddb7a99ee6161caa047e90ad3b6
3
+size 2204520

+ 3
- 0
Music/CeLL Uno - Sublime.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:de370a66e20cdd756078d37e714265ccdf29139dfdb857d4c9470eeb1fb8fbfc
3
+size 2685721

+ 3
- 0
Music/CeLL Uno - Twenty Seven.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:9dbc5091d5c6cb7c6e8c77b1b9caa07e9d3cc82fdb2d9469bae5b838bb6f623e
3
+size 3256232

+ 3
- 0
Music/CeLL Uno - Twenty Six.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:447ceaed4796487850ae0b928062d0c4027401ce767a9655312f61eb7f6cd21c
3
+size 2518941

+ 3
- 0
Music/CeLL Uno - Yup.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:e56db4478d64f520541daa61ce4c93c65e020437b916562d589f9a9ac73b5676
3
+size 2398613

+ 3
- 0
Music/Come And Get It.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:282208d6caf97a04dede902f951d2eec0f4cd71cc2d9bdb7f1bb933feebde928
3
+size 1789806

+ 3
- 0
Music/DivineInfinite - AB.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:ebe520d00cbeb63e8ecec2c83a158ea02f833c89678d371e080871a6b6caa6d4
3
+size 9080687

+ 3
- 0
Music/DivineInfinite - Blade Runner.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:816a5adfc7167723082b659bb3196c4b2cd8e8de867805f020b1d4f04e454d57
3
+size 3451718

+ 3
- 0
Music/DivineInfinite - CM3.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:826c13b98fff57bc4e95f81a6a2a4488ff8be33dbffa06fe8eb4211eb611be48
3
+size 1400690

+ 3
- 0
Music/DivineInfinite - Fall Down.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:f18b076e05b962c4b74862e887f7cf186b58ff62edb5c465fe701bb2e4e4f35f
3
+size 9928014

+ 3
- 0
Music/DivineInfinite - Fly that Top.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:41a0e3e9c1049c85a251d2ee1d8ba50b316a165bf3af5f7d5492dd3f9daff837
3
+size 3050407

+ 3
- 0
Music/DivineInfinite - Fly that Top2.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:ae8079255f61b5f7744ddc17670794f652aab25213e2de7f881d83214f600d69
3
+size 819380

+ 3
- 0
Music/DivineInfinite - Ghetto Humans.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:3c45ac136df9f467a41b8cf6559871f8346694c382756c50b8ae55848085c236
3
+size 3550030

+ 3
- 0
Music/DivineInfinite - Jesus Juice 2.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:1ce188c690b237a82a5e828d220b98751604e08bb6fbf83e7c8f2cc0be7697c1
3
+size 9360340

+ 3
- 0
Music/DivineInfinite - Legacy.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:4deaa6e04855fbe10a027b7a58ff4212f6a95a2a932d3e2be190e407869c540b
3
+size 8293198

+ 3
- 0
Music/DivineInfinite - MFGD.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:3f4ecc3d9e74a063b4a4e64f87e967b3df20262952bacc4a7befaffbb7858dde
3
+size 8433102

+ 3
- 0
Music/DivineInfinite - Old Possy 2.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:6a43057fb84ced810e03fa304199586788c868e28b535f18b579006f3a60f62d
3
+size 7376486

+ 3
- 0
Music/DivineInfinite - One of the best yet.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:78bff4ba6f4eed4b15adfb274d713755c95a11261e88015d1f5298f402829815
3
+size 8130382

+ 3
- 0
Music/DivineInfinite - The Only Way.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:92fcc33723128b824c3dc98259e9de1e6ad6af78b58b52b06a70868fd59d2d15
3
+size 5341006

+ 3
- 0
Music/DivineInfinite - Walk of life .mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:0a3d91a999e68f43edfbd39a10bb38ccbca16d9c5408cd56c7ec7abf5f03da35
3
+size 8439790

+ 3
- 0
Music/Divineinfinite - Bang This.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:c345dab8d5031c75e55a872f71064e49c720f9ba0dc4d29c712a8d873eebdf10
3
+size 1632590

+ 3
- 0
Music/Divineinfinite - Bang This2.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:4d6b6b166282772d6a7557cffde414d41737b9f2a7dd4ea2bc16f277156f0a7c
3
+size 6665753

+ 3
- 0
Music/Just 1 Soul - Crook.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:2e05fcc9fec4af2d8d1ebed9069e0e509a7785a16ae3bee3b27f4c570d7492c3
3
+size 1947586

+ 3
- 0
Music/Just 1 Soul - Good love.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:c663528d8312c4c406ae06d47aaf0c4a3fc0feaa6b309292b23bc954cc1e4e87
3
+size 3221839

+ 3
- 0
Music/Just 1 Soul - Growing.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:356621d095e0948b5cfca50214fa1414d4a262b71cf4bf7860d8bb4c8b166c3e
3
+size 2298671

+ 3
- 0
Music/Just 1 Soul - Henney and Coke.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:3198163eaa11e80e0ee72571b96da595219cbf223f084d6795767fbd70a3332b
3
+size 3732271

+ 3
- 0
Music/Just 1 Soul - I'll Take Care Of You.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:f7ab36635d468dcf1e355dec3094ee86a02e787ebff8e3f2ae7ecdc0ab79ffee
3
+size 2333675

+ 3
- 0
Music/Just 1 Soul - Salmon.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:4696614c0e74fccb24faceba6358d9a998fb1ac82c7e3d87733cfd2f3d3405d0
3
+size 2965839

+ 3
- 0
Music/Just 1 Soul - The Death Of Me.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:e6195199333938fd55b8ce78ced16139ab697260fd8ce6475d727139b01af49a
3
+size 951798

+ 3
- 0
Music/Just 1 Soul - We Go Hard.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:82db1f29e87c91c05c1f30ad1c7d45c38bb2c41203c228d89e61e077fff4326a
3
+size 2920909

+ 3
- 0
Music/Rustibones - A Long Walk.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:eed4df467c81fd139d01d8bd493d7a0e18d09c7819867d72880ccc0d5b8780cc
3
+size 4445578

+ 3
- 0
Music/Rustibones - Admit It.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:ad50009397f429b69290d30798cdea148ec9a2659f229089194ca371da1067d0
3
+size 3740272

+ 3
- 0
Music/Rustibones - All I Wanna Do.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:2ee585303ce4e85264dd9012bef5901438fee599911177824c2c39cd507b6738
3
+size 3663158

+ 3
- 0
Music/Rustibones - All We Are.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:90171a06b35d77913c5e800518e42e5bba5099bc5e2e695ae7836a41cd01f133
3
+size 3669428

+ 3
- 0
Music/Rustibones - And They Say.....mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:0921598b065790fb77c68ef21f7ecbb793f985f87fa0ee108974783a55655ee9
3
+size 4493225

+ 3
- 0
Music/Rustibones - Brighter.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:d0ab7b1440a4e408ff6978c8d6acc1adba776703b431f52cdde5f7b425a7bb87
3
+size 4237434

+ 3
- 0
Music/Rustibones - Bullet Grazin.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:80c9ec69de1daf4c9626d5fa936ebce01d29c02582d9b32c039c4625524da531
3
+size 4167844

+ 3
- 0
Music/Rustibones - Burdens.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:820b7d3a667583684bc3ad3d0cf42f3707816a3ff057e9c914e84b177d442c2c
3
+size 4022394

+ 3
- 0
Music/Rustibones - Cabin Fever.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:9f686138ab70f95ffb0b0ab13f01781b90b939a7e6051b0da1f5be70a9a7fa32
3
+size 4153804

+ 3
- 0
Music/Rustibones - Cant You See.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:f02495508d335b0616b3f9783ef04d4e9aa1bf155341bf5bdedb18c75dfe18ec
3
+size 4379534

+ 3
- 0
Music/Rustibones - Clash Of The Classes.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:6e02e05c6bb96246e4ff183043dd645ced09f1ee15ad45051a576e0b69d22435
3
+size 3976628

+ 3
- 0
Music/Rustibones - Come Around.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:2cef7323fc4768af1eab9454b86ddbd1575e566e41709abdab76d506258c2f04
3
+size 6359622

+ 3
- 0
Music/Rustibones - Come Wit It.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:f3238cc8caef4e5bc0ebe5af06a85c81be57a58f234fdeb493a5788133b4857e
3
+size 4769705

+ 3
- 0
Music/Rustibones - Dispyz Me - 85.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:b485e43ca3dbf42cd19481ce0b7cdfbf4eb4a7e5effde2c6f75c144404985f7a
3
+size 3866881

+ 3
- 0
Music/Rustibones - Fighting Words.mp3 View File

@@ -0,0 +1,3 @@
1
+version https://git-lfs.github.com/spec/v1
2
+oid sha256:90b3e48ad2d135407dcc74a27b5ae551f5a2df0ae0cd539382c44892e81d2f26
3
+size 3332134

+ 172
- 0
MusicPlayer.py View File

@@ -0,0 +1,172 @@
1
+import bge
2
+import os
3
+import aud
4
+import random
5
+import glob
6
+from DList import DoubleList
7
+from collections import OrderedDict
8
+from tinytag import TinyTag
9
+
10
+""" This is the Music Player as a component """
11
+class MusicPlayer(bge.types.KX_PythonComponent):
12
+
13
+    args = OrderedDict([])    
14
+
15
+    def start(self, args):
16
+        # dictionary
17
+        self.dictionary = bge.logic.globalDict
18
+        
19
+        # get mp3 files from the disk and create a list
20
+        self.directory = bge.logic.expandPath('//Music')
21
+        file_name = self.directory + '\\*.mp3'
22
+        file_list =  glob.glob(file_name)
23
+        
24
+        # use the mp3 list to make a playlist of nodes
25
+        self.playlist = DoubleList()
26
+        for name in file_list:
27
+            self.playlist.append(name)
28
+        
29
+        # previously played list of nodes
30
+        self.alreadyPlayed = DoubleList()
31
+        
32
+        # get a random song from the playlist, 
33
+        # remove it from the playlist
34
+        # add it to the alreadyPlayed list
35
+        # NOTICE: currentNode is a reference to a NODE in a list, if you want to play the song inside the node, use .data
36
+        self.currentNode = self.playlist.get(random.randint(0, self.playlist.getLength()))
37
+        self.nowPlaying = self.currentNode.getData()
38
+        self.playlist.remove(self.currentNode)
39
+        self.alreadyPlayed.append(self.nowPlaying)
40
+        print("Now Playing: " + self.nowPlaying)
41
+        self.setTag()
42
+        self.isPlaying = False
43
+
44
+        # create audio devices
45
+        self.device = aud.device()
46
+        self.factory = aud.Factory(self.nowPlaying)
47
+        self.handle = None        
48
+    
49
+    """ Update is called once every frame, and this is where
50
+        any input handling should go
51
+        
52
+        Controller Buttons: 
53
+        Y-Button - Play/Pause
54
+        LB       - Previous Track
55
+        RB       - Next Track
56
+        
57
+        TODO: Keyboard Buttons if these aren't alright
58
+        P        - Play/Pause
59
+        Pad Plus - Next Track
60
+        Pad Minus- Prev Track
61
+    """
62
+    def update(self):
63
+        keyboard = bge.logic.keyboard.events
64
+        up_dict = bge.logic.globalDict
65
+        #print(dictionary)
66
+        pKey = keyboard[bge.events.PKEY]
67
+        pPlus = keyboard[bge.events.PADPLUSKEY]
68
+        pMinus = keyboard[bge.events.PADMINUS]
69
+        lb = up_dict['lBump']
70
+        last_lb = up_dict['last_lBump']
71
+        rb = up_dict['rBump']
72
+        last_rb = up_dict['last_rBump']
73
+        y = up_dict['yBut']
74
+        last_y = up_dict['last_yBut']
75
+        JUST_ACTIVATED = bge.logic.KX_INPUT_JUST_ACTIVATED
76
+        
77
+
78
+        #Run player on startup
79
+        if up_dict['music_start'] == True:
80
+            if self.isPlaying:
81
+                self.stopMusic()
82
+            else:
83
+                self.playMusic()                 
84
+            up_dict['music_start'] = False               
85
+
86
+        # Music controls only during pause/replay
87
+        if (up_dict['npause'] == True or up_dict['playback'] == True) or up_dict['music_start'] == True:
88
+            #stop/play
89
+            if (y == False and last_y == True) or pKey == JUST_ACTIVATED:
90
+                if self.isPlaying:
91
+                    self.stopMusic()
92
+                    up_dict['music_player'] = 0
93
+                else:
94
+                    self.playMusic()
95
+                    up_dict['music_player'] = 1
96
+            # Prev/Next
97
+            if self.isPlaying and self.handle.status:
98
+                if pMinus == JUST_ACTIVATED or (lb == False and last_lb == True):
99
+                    self.prevSong()
100
+                
101
+                if pPlus == JUST_ACTIVATED or (rb == False and last_rb == True):
102
+                    self.nextSong()
103
+        # if song ends, play next song
104
+        if self.isPlaying and not self.handle.status:
105
+            self.nextSong()
106
+
107
+    """ get info about song using TinyTag, then print to console """
108
+    def setTag(self):                
109
+        self.currTrackPath = os.path.join(self.directory, self.nowPlaying)
110
+        tag = TinyTag.get(self.currTrackPath)
111
+        self.currArtist = tag.artist
112
+        self.currTrackTitle = tag.title
113
+        self.dictionary['mu_artist'] = self.currArtist
114
+        self.dictionary['mu_title'] = self.currTrackTitle
115
+                
116
+        print('Artist: %s' % self.currArtist, 
117
+                ' Track: %s' % self.currTrackTitle)
118
+
119
+    def playMusic(self):
120
+        print('Play Music')
121
+        self.setTag()
122
+        self.handle = self.device.play(self.factory)
123
+        self.isPlaying = True
124
+        
125
+    def stopMusic(self):
126
+        print('Stop Music')
127
+        self.handle.stop()
128
+        self.isPlaying = False
129
+        
130
+    def nextSong(self):
131
+        print('Next Song')
132
+        # stop the current song
133
+        self.handle.stop()
134
+        
135
+        # get a song from the playlist
136
+        self.currentNode = self.playlist.get(random.randint(0, self.playlist.getLength()))
137
+        self.nowPlaying = self.currentNode.getData()
138
+        self.playlist.remove(self.currentNode)
139
+                
140
+        # add the song to the already played list
141
+        self.alreadyPlayed.append(self.nowPlaying)  
142
+        
143
+        # start the song
144
+        self.factory = aud.Factory(self.nowPlaying)
145
+        self.handle = self.device.play(self.factory)
146
+        self.setTag()
147
+        
148
+        # If playlist is empty, re-fill it
149
+        if self.playlist.getLength() == 0:
150
+            file_name = self.directory + '\\*.mp3'
151
+            file_list =  glob.glob(file_name)
152
+            for name in file_list:
153
+                self.playlist.append(name)
154
+        
155
+    """ Note on first call of this method, the current node will be equal to the tail of the already played list, 
156
+        however, it will be a node from a different list. We need to set current node equal to the tail node
157
+        of the already played list so that we can iterate through that list, instead of the other list """
158
+    def prevSong(self):
159
+        print('Prev Song')
160
+        # stop the current song
161
+        self.handle.stop()        
162
+        
163
+        if self.currentNode.getData() == self.alreadyPlayed.getTail().getData():
164
+            self.currentNode = self.alreadyPlayed.getTail()
165
+            
166
+        self.currentNode = self.currentNode.getPrev()
167
+        self.nowPlaying = self.currentNode.getData()
168
+        
169
+        # start the song
170
+        self.factory = aud.Factory(self.nowPlaying)
171
+        self.handle = self.device.play(self.factory)
172
+        self.setTag()

+ 2
- 0
Recordings/shuvit replay.dat
File diff suppressed because it is too large
View File


BIN
__pycache__/DList.cpython-36.pyc View File


BIN
__pycache__/MusicPlayer.cpython-36.pyc View File


BIN
__pycache__/_version.cpython-36.pyc View File


BIN
__pycache__/configobj.cpython-36.pyc View File


BIN
__pycache__/shader_components.cpython-36.pyc View File


+ 1
- 0
_version.py View File

@@ -0,0 +1 @@
1
+__version__ = '5.0.6'

+ 2
- 0
ai_recordings/20secA.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/20secB.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/20secC.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/20secD.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/20secE.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/30secA.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/30secB.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/npc1.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/npc2.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/npc3.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/npc4.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/npc5.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/npc8.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/shopSaEa30a.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/shopSaEa40a.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/shopSaEb20a.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/shopSaEb40a.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/shopSbEa50a.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/shopSbEa60a.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/shopSbEb40sec.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/shopSbEb50a.dat
File diff suppressed because it is too large
View File


+ 2
- 0
ai_recordings/shop_B_60a.dat
File diff suppressed because it is too large
View File


+ 0
- 0
ai_recordings/shop_B_60b.dat View File


Some files were not shown because too many files changed in this diff

Loading…
Cancel
Save