diff --git a/articles/rsync-android.html b/articles/rsync-android.html index d9c9594..ab718b6 100644 --- a/articles/rsync-android.html +++ b/articles/rsync-android.html @@ -126,12 +126,8 @@ id="toc-connecting-to-android-via-ssh">Connecting to Android via ssh
  • Syncronising files with rsync -
  • +id="toc-syncronising-files-with-rsync">Syncronising files with +rsync
    @@ -193,25 +189,6 @@ class="sourceCode sh">
    rsync -av -e "ssh -p 8022" ~/Music <username>@<ip_address>:/data/data/com.termux/files/home/storage/music
    -

    Refreshing the Android -MediaStore

    -

    Android uses a Database to store files. In order to play your music, -this database needs to be refreshed. This can be achieved by a reboot or -by using adb to manually refresh it.

    -
    sudo dnf install adb
    -

    Connect the Android device via USB and see if it is listed.

    -
    adb devices
    -

    If it is, restart adb in TCP mode with port 5555

    -
    adb tcpip 5555
    -

    Connect to the device using its .

    -
    adb connect <ip_address>
    -

    Refresh MediaStore.

    -
    adb shell am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN -d file:///data/data/com.termux/files/home/storage/music/
    diff --git a/articles/rsync-android.md b/articles/rsync-android.md index 97a63f4..073d627 100644 --- a/articles/rsync-android.md +++ b/articles/rsync-android.md @@ -96,32 +96,3 @@ Now on your Linux machine, syncronise your Music library with rsync. ```sh rsync -av -e "ssh -p 8022" ~/Music @:/data/data/com.termux/files/home/storage/music ``` - -## Refreshing the Android MediaStore -Android uses a Database to store files. In order to play your music, this database -needs to be refreshed. This can be achieved by a reboot or by using adb to manually -refresh it. - -```sh -sudo dnf install adb -``` - -Connect the Android device via USB and see if it is listed. -```sh -adb devices -``` - -If it is, restart adb in TCP mode with port 5555 -```sh -adb tcpip 5555 -``` - -Connect to the device using its . -```sh -adb connect -``` - -Refresh MediaStore. -```sh -adb shell am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN -d file:///data/data/com.termux/files/home/storage/music/ -``` diff --git a/dvd-logo.png b/dvd-logo.png new file mode 100644 index 0000000..7d04e11 Binary files /dev/null and b/dvd-logo.png differ diff --git a/images/shark-top-small.png b/images/shark-top-small.png deleted file mode 100644 index 56e8624..0000000 Binary files a/images/shark-top-small.png and /dev/null differ diff --git a/images/shark-top-small.xcf b/images/shark-top-small.xcf deleted file mode 100644 index bd0e140..0000000 Binary files a/images/shark-top-small.xcf and /dev/null differ diff --git a/images/shark_top.xcf b/images/shark_top.xcf deleted file mode 100644 index cbf6098..0000000 Binary files a/images/shark_top.xcf and /dev/null differ diff --git a/public_html/eh/eh/eh/eh-eh/images/shark-top-small.png b/public_html/eh/eh/eh/eh-eh/images/shark-top-small.png deleted file mode 100644 index 56e8624..0000000 Binary files a/public_html/eh/eh/eh/eh-eh/images/shark-top-small.png and /dev/null differ diff --git a/public_html/eh/eh/eh/eh-eh/rsync-android.html b/public_html/eh/eh/eh/eh-eh/rsync-android.html index d9c9594..ab718b6 100644 --- a/public_html/eh/eh/eh/eh-eh/rsync-android.html +++ b/public_html/eh/eh/eh/eh-eh/rsync-android.html @@ -126,12 +126,8 @@ id="toc-connecting-to-android-via-ssh">Connecting to Android via ssh
  • Syncronising files with rsync -
  • +id="toc-syncronising-files-with-rsync">Syncronising files with +rsync
    @@ -193,25 +189,6 @@ class="sourceCode sh">
    rsync -av -e "ssh -p 8022" ~/Music <username>@<ip_address>:/data/data/com.termux/files/home/storage/music
    -

    Refreshing the Android -MediaStore

    -

    Android uses a Database to store files. In order to play your music, -this database needs to be refreshed. This can be achieved by a reboot or -by using adb to manually refresh it.

    -
    sudo dnf install adb
    -

    Connect the Android device via USB and see if it is listed.

    -
    adb devices
    -

    If it is, restart adb in TCP mode with port 5555

    -
    adb tcpip 5555
    -

    Connect to the device using its .

    -
    adb connect <ip_address>
    -

    Refresh MediaStore.

    -
    adb shell am broadcast -a android.intent.action.MEDIA_SCANNER_SCAN -d file:///data/data/com.termux/files/home/storage/music/
    diff --git a/public_html/eh/eh/eh/eh-eh/style.css b/public_html/eh/eh/eh/eh-eh/style.css index e6e14cc..d17ebe0 100644 --- a/public_html/eh/eh/eh/eh-eh/style.css +++ b/public_html/eh/eh/eh/eh-eh/style.css @@ -62,8 +62,8 @@ body { justify-content: space-between; text-align: left; border: 4pt ridge var(--border); - background: url("images/shark-top-small.png"); - background-size: contain; + background: url("images/sand.png"); + background-size: 25%; } #page-header li { @@ -122,8 +122,8 @@ body { #page-footer { border: 4pt ridge var(--border); - background: url("images/shark-top-small.png"); - background-size: contain; + background: url("images/sand.png"); + background-size: 25%; display: flex; justify-content: center; } diff --git a/style.css b/style.css index e6e14cc..d17ebe0 100644 --- a/style.css +++ b/style.css @@ -62,8 +62,8 @@ body { justify-content: space-between; text-align: left; border: 4pt ridge var(--border); - background: url("images/shark-top-small.png"); - background-size: contain; + background: url("images/sand.png"); + background-size: 25%; } #page-header li { @@ -122,8 +122,8 @@ body { #page-footer { border: 4pt ridge var(--border); - background: url("images/shark-top-small.png"); - background-size: contain; + background: url("images/sand.png"); + background-size: 25%; display: flex; justify-content: center; }