Formatting Updates
This commit is contained in:
@@ -29,7 +29,7 @@ The `content ID` and `XID` are used to link the iTunes Extras to the movie file.
|
|||||||
|
|
||||||
#### Step 2: Tagging your Extras
|
#### Step 2: Tagging your Extras
|
||||||
|
|
||||||
Open the `data.json` file and edit it in the following ways:
|
Open the `data.json` file and edit it as follows:
|
||||||
|
|
||||||
- Add the movie's metadata to the `"meta"` part of the file. This may include the movie's `"title"`, `"artist"`, `"description"`, `"longDescription"`, `"genre"`, `"releaseDate"`, `"year"`, `"studio"` and `"sort-name"`.
|
- Add the movie's metadata to the `"meta"` part of the file. This may include the movie's `"title"`, `"artist"`, `"description"`, `"longDescription"`, `"genre"`, `"releaseDate"`, `"year"`, `"studio"` and `"sort-name"`.
|
||||||
- Change the `"XID"` to the XID you previously assigned to the movie file.
|
- Change the `"XID"` to the XID you previously assigned to the movie file.
|
||||||
|
|||||||
@@ -14,9 +14,10 @@ mkdir -p "${TARGET_DIR}"
|
|||||||
|
|
||||||
cp -R TuneKit/ "${TARGET_DIR}/TuneKit/"
|
cp -R TuneKit/ "${TARGET_DIR}/TuneKit/"
|
||||||
|
|
||||||
|
echo -n "Compiling Code..."
|
||||||
|
|
||||||
for file in $(find ${SOURCE_ROOT} -type f)
|
for file in $(find ${SOURCE_ROOT} -type f)
|
||||||
do
|
do
|
||||||
echo -n "Compiling $file..."
|
|
||||||
dir=$(dirname "$file")
|
dir=$(dirname "$file")
|
||||||
filename=$(basename "$file")
|
filename=$(basename "$file")
|
||||||
extension="${filename##*.}"
|
extension="${filename##*.}"
|
||||||
@@ -24,9 +25,6 @@ do
|
|||||||
filename="${filename%.*}" # For double extensions
|
filename="${filename%.*}" # For double extensions
|
||||||
|
|
||||||
if [[ $filename == _* ]]; then
|
if [[ $filename == _* ]]; then
|
||||||
echo -en "\033[0;33m"
|
|
||||||
echo " Skipping"
|
|
||||||
echo -en "\033[0;00m"
|
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -55,10 +53,11 @@ do
|
|||||||
cp "$file" "${partialTarget}.${extension}"
|
cp "$file" "${partialTarget}.${extension}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
done
|
||||||
|
|
||||||
echo -en "\033[0;92m"
|
echo -en "\033[0;92m"
|
||||||
echo " Done"
|
echo " Done"
|
||||||
echo -en "\033[0;00m"
|
echo -en "\033[0;00m"
|
||||||
done
|
|
||||||
|
|
||||||
echo -n "Copying Assets... "
|
echo -n "Copying Assets... "
|
||||||
cp -R assets/ "${TARGET_DIR}/"
|
cp -R assets/ "${TARGET_DIR}/"
|
||||||
|
|||||||
Reference in New Issue
Block a user