Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
flatsiedatsie authored Feb 1, 2023
1 parent 25cc1b0 commit 00f9e43
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pkg/airport.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,10 @@ def __init__(self, verbose=True):
self.rpiplay_debug = ""

self.addon_path = os.path.join(self.user_profile['addonsDir'], self.addon_name)
self.data_dir = os.path.join(self.user_profile['dataDir'], self.addon_name)
self.persistence_file_path = os.path.join(self.user_profile['dataDir'], self.addon_name,'persistence.json')


# get system bits 32/64

self.bits = 32
bits_extension = ""
try:
Expand Down Expand Up @@ -106,7 +105,7 @@ def __init__(self, verbose=True):
self.shairport_path = os.path.join(self.shairport_library_path, 'shairport') # binary

self.shairport_default_conf_path = os.path.join(self.addon_path, 'shairport', 'shairport_default.conf')
self.shairport_conf_path = os.path.join(self.user_profile['dataDir'], self.addon_name,'shairport.conf') # The default file is modified and copied into this file
self.shairport_conf_path = os.path.join(self.data_dir,'shairport.conf') # The default file is modified and copied into this file
self.shairport_start_command = "LD_LIBRARY_PATH='" + self.shairport_library_path + "' " + self.shairport_path + " -j -c " + self.shairport_conf_path

self.nqptp_path = os.path.join(self.shairport_library_path, 'nqptp') # binary
Expand Down

0 comments on commit 00f9e43

Please sign in to comment.