Compare commits
	
		
			No commits in common. "ebfb47932e92fbea9fddb89acf3c3436fff9507c" and "d951c7442a69b5b5e456c1c9ecd51903814a8c80" have entirely different histories.
		
	
	
		
			ebfb47932e
			...
			d951c7442a
		
	
		
							
								
								
									
										20
									
								
								LJ.conf
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								LJ.conf
									
									
									
									
									
								
							@ -2,7 +2,7 @@
 | 
				
			|||||||
lasernumber = 4
 | 
					lasernumber = 4
 | 
				
			||||||
debug = 0
 | 
					debug = 0
 | 
				
			||||||
ljayserverip = 0.0.0.0
 | 
					ljayserverip = 0.0.0.0
 | 
				
			||||||
wwwip = 192.168.2.44
 | 
					wwwip = 0.0.0.0
 | 
				
			||||||
nozoscip = 127.0.0.1
 | 
					nozoscip = 127.0.0.1
 | 
				
			||||||
bhoroscip = 127.0.0.1
 | 
					bhoroscip = 127.0.0.1
 | 
				
			||||||
autostart = artnet
 | 
					autostart = artnet
 | 
				
			||||||
@ -10,7 +10,7 @@ autostart = artnet
 | 
				
			|||||||
[laser0]
 | 
					[laser0]
 | 
				
			||||||
color = -1
 | 
					color = -1
 | 
				
			||||||
type = DS1000
 | 
					type = DS1000
 | 
				
			||||||
ip = 192.168.2.3
 | 
					ip = 127.0.0.1
 | 
				
			||||||
kpps = 25000
 | 
					kpps = 25000
 | 
				
			||||||
centerx = -393
 | 
					centerx = -393
 | 
				
			||||||
centery = 390
 | 
					centery = 390
 | 
				
			||||||
@ -30,7 +30,7 @@ warpdest = [[-1500., 1500.],
 | 
				
			|||||||
[laser1]
 | 
					[laser1]
 | 
				
			||||||
color = -1
 | 
					color = -1
 | 
				
			||||||
type = LOCAL
 | 
					type = LOCAL
 | 
				
			||||||
ip = 192.168.2.5
 | 
					ip = 192.168.2.43
 | 
				
			||||||
kpps = 25000
 | 
					kpps = 25000
 | 
				
			||||||
centerx = 0
 | 
					centerx = 0
 | 
				
			||||||
centery = 0
 | 
					centery = 0
 | 
				
			||||||
@ -51,11 +51,11 @@ warpdest = [[-1500., 1500.],
 | 
				
			|||||||
color = -1
 | 
					color = -1
 | 
				
			||||||
type = LUKE400
 | 
					type = LUKE400
 | 
				
			||||||
ip = 192.168.2.6
 | 
					ip = 192.168.2.6
 | 
				
			||||||
kpps = 20361
 | 
					kpps = 25000
 | 
				
			||||||
centerx = -3798
 | 
					centerx = 0
 | 
				
			||||||
centery = -13079
 | 
					centery = 0
 | 
				
			||||||
zoomx = 73.0
 | 
					zoomx = 79.0
 | 
				
			||||||
zoomy = 70.0
 | 
					zoomy = 82.0
 | 
				
			||||||
sizex = 32000
 | 
					sizex = 32000
 | 
				
			||||||
sizey = 32000
 | 
					sizey = 32000
 | 
				
			||||||
finangle = 0.2792526803190927
 | 
					finangle = 0.2792526803190927
 | 
				
			||||||
@ -74,8 +74,8 @@ ip = 192.168.2.4
 | 
				
			|||||||
kpps = 25000
 | 
					kpps = 25000
 | 
				
			||||||
centerx = 2531
 | 
					centerx = 2531
 | 
				
			||||||
centery = -1
 | 
					centery = -1
 | 
				
			||||||
zoomx = 85.0
 | 
					zoomx = 90.0
 | 
				
			||||||
zoomy = 70.0
 | 
					zoomy = 75.0
 | 
				
			||||||
sizex = 32000
 | 
					sizex = 32000
 | 
				
			||||||
sizey = 32000
 | 
					sizey = 32000
 | 
				
			||||||
finangle = 0.0
 | 
					finangle = 0.0
 | 
				
			||||||
 | 
				
			|||||||
@ -16,6 +16,6 @@
 | 
				
			|||||||
# You should have received a copy of the GNU General Public License
 | 
					# You should have received a copy of the GNU General Public License
 | 
				
			||||||
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
					# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
import dac3 as dac
 | 
					import dac
 | 
				
			||||||
 | 
					
 | 
				
			||||||
dac.find_dac()
 | 
					dac.find_dac()
 | 
				
			||||||
 | 
				
			|||||||
@ -213,7 +213,7 @@ log.info('Startup...')
 | 
				
			|||||||
argsparser = argparse.ArgumentParser(description="Aurora for LJ")
 | 
					argsparser = argparse.ArgumentParser(description="Aurora for LJ")
 | 
				
			||||||
argsparser.add_argument("-r","--redisIP",help="IP of the Redis server used by LJ (127.0.0.1 by default) ",type=str)
 | 
					argsparser.add_argument("-r","--redisIP",help="IP of the Redis server used by LJ (127.0.0.1 by default) ",type=str)
 | 
				
			||||||
argsparser.add_argument("-m","--myIP",help="IP to bind (0.0.0.0 by default) ",type=str)
 | 
					argsparser.add_argument("-m","--myIP",help="IP to bind (0.0.0.0 by default) ",type=str)
 | 
				
			||||||
argsparser.add_argument("-s","--scene",help="LJ scene number (1 by default)",type=int)
 | 
					argsparser.add_argument("-s","--scene",help="LJ scene number (0 by default)",type=int)
 | 
				
			||||||
argsparser.add_argument("-v","--verbose",help="Verbosity level (0 by default)",type=int)
 | 
					argsparser.add_argument("-v","--verbose",help="Verbosity level (0 by default)",type=int)
 | 
				
			||||||
argsparser.add_argument("-L","--Lasers",help="Number of lasers connected (1 by default).",type=int)
 | 
					argsparser.add_argument("-L","--Lasers",help="Number of lasers connected (1 by default).",type=int)
 | 
				
			||||||
argsparser.add_argument('-song',help="Run according to external (LIVE is default)", dest='song', action='store_true')
 | 
					argsparser.add_argument('-song',help="Run according to external (LIVE is default)", dest='song', action='store_true')
 | 
				
			||||||
@ -231,7 +231,7 @@ else:
 | 
				
			|||||||
if args.scene:
 | 
					if args.scene:
 | 
				
			||||||
    ljscene = args.scene
 | 
					    ljscene = args.scene
 | 
				
			||||||
else:
 | 
					else:
 | 
				
			||||||
    ljscene = 1
 | 
					    ljscene = 0
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Redis Computer IP
 | 
					# Redis Computer IP
 | 
				
			||||||
if args.redisIP  != None:
 | 
					if args.redisIP  != None:
 | 
				
			||||||
 | 
				
			|||||||
@ -4,7 +4,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
// LJ websocket address. IP will be updated at LJ startup according to LJ.conf wwwIP
 | 
					// LJ websocket address. IP will be updated at LJ startup according to LJ.conf wwwIP
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var LJ = 'ws://192.168.2.44:9001/'
 | 
					      var LJ = 'ws://0.0.0.0:9001/'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
//
 | 
					//
 | 
				
			||||||
 | 
				
			|||||||
@ -658,7 +658,7 @@
 | 
				
			|||||||
    <!-- LJ style WS : A nettoyer ! -->
 | 
					    <!-- LJ style WS : A nettoyer ! -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <script type="text/javascript">
 | 
					      <script type="text/javascript">
 | 
				
			||||||
      var LJ = 'ws://192.168.2.44:9001/'
 | 
					      var LJ = 'ws://0.0.0.0:9001/'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            var _WS = {
 | 
					            var _WS = {
 | 
				
			||||||
            uri: LJ,
 | 
					            uri: LJ,
 | 
				
			||||||
 | 
				
			|||||||
@ -417,7 +417,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      <script type="text/javascript">
 | 
					      <script type="text/javascript">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var LJ = 'ws://192.168.2.44:9001/'
 | 
					      var LJ = 'ws://0.0.0.0:9001/'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            var  pl = "";
 | 
					            var  pl = "";
 | 
				
			||||||
 | 
				
			|||||||
@ -231,7 +231,7 @@
 | 
				
			|||||||
    <!-- LJ style WS : A nettoyer ! -->
 | 
					    <!-- LJ style WS : A nettoyer ! -->
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      <script type="text/javascript">
 | 
					      <script type="text/javascript">
 | 
				
			||||||
      var LJ = 'ws://192.168.2.44:9001/'
 | 
					      var LJ = 'ws://0.0.0.0:9001/'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            var _WS = {
 | 
					            var _WS = {
 | 
				
			||||||
 | 
				
			|||||||
@ -197,7 +197,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
        <script type="text/javascript">
 | 
					        <script type="text/javascript">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var LJ = 'ws://192.168.2.44:9001/'
 | 
					      var LJ = 'ws://0.0.0.0:9001/'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            var  pl = "";
 | 
					            var  pl = "";
 | 
				
			||||||
 | 
				
			|||||||
@ -378,7 +378,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      <script type="text/javascript">
 | 
					      <script type="text/javascript">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var LJ = 'ws://192.168.2.44:9001/'
 | 
					      var LJ = 'ws://0.0.0.0:9001/'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            var _WS = {
 | 
					            var _WS = {
 | 
				
			||||||
            uri: LJ,
 | 
					            uri: LJ,
 | 
				
			||||||
 | 
				
			|||||||
@ -378,7 +378,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
      <script type="text/javascript">
 | 
					      <script type="text/javascript">
 | 
				
			||||||
 | 
					
 | 
				
			||||||
      var LJ = 'ws://192.168.2.44:9001/'
 | 
					      var LJ = 'ws://0.0.0.0:9001/'
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            var _WS = {
 | 
					            var _WS = {
 | 
				
			||||||
            uri: LJ,
 | 
					            uri: LJ,
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user