Tasker [PROFILE] Set Random Wallpaper Every Day v1.3

Set random wallpapers based on different contexts

  1. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    125
    Likes Received:
    4
  2. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    125
    Likes Received:
    4
  3. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    125
    Likes Received:
    4
  4. Pilaarbijter

    Pilaarbijter New Member

    Joined:
    Mar 10, 2020
    Messages:
    3
    Likes Received:
    0
    I got a question, i got this error:

    08.44.19/Variables doreplresult: |%random_pic| -> |%random_pic|
    08.44.19/E Variable Randomize: %random_pic -> %random_pic
    08.44.19/Variables doreplresult: |%total_files| -> |0|
    08.44.19/E Variable Randomize: odd range: 1 - 0
    08.44.19/E result: stop task (error)
    08.44.19/Variables doreplresult: |%random_pic| -> |%random_pic|
    08.44.19/E Error: 1
    08.44.19/MacroEdit action finished exeID 1 action no 2 code 545 status: Err next 2

    Any suggestions
     
  5. Pilaarbijter

    Pilaarbijter New Member

    Joined:
    Mar 10, 2020
    Messages:
    3
    Likes Received:
    0
    *any suggestions?
     
  6. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    125
    Likes Received:
    4
    The error means that no files were found in the specified directory. Please, adjust the List Files 'Dir' field with a valid folder on your device, or add pictures to the existing directory (yours seems empty).
     
  7. Pilaarbijter

    Pilaarbijter New Member

    Joined:
    Mar 10, 2020
    Messages:
    3
    Likes Received:
    0
    That's the thing, it's litterally filled with 30.000 jpg files
     
  8. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    125
    Likes Received:
    4
  9. SmartPhoneLover

    SmartPhoneLover Member

    Joined:
    Apr 26, 2018
    Messages:
    125
    Likes Received:
    4
    I already checked how the profile (task actually) works when there is a huge number of items in a folder. And, at least on my device (Xiaomi RN7), Tasker takes a bit of time (over a minute) to list them (30000 images as your example). But Tasker didn't fail to retrieve all the pics from folder.

    I released a new profile version which includes the 'find' command, which after testing it, it lists 30000 pics in 1-2 seconds, so much much faster than the Tasker List Files action.

    I could imagine the following situation that could be happening to you as you described that no items were found by Tasker (task error):
    - The List Files action ended with error due to time exceeded, reporting that no files were found. (but it didn't happend to me, just took longer )
     

Share This Page