AutoTools How To Use the Card List Web Screen 2017-06-23

Learn how use the card list web screen to create a YouTube search screen

  1. joaomgcd

    joaomgcd Administrator Staff Member

    joaomgcd submitted a new AutoApps project:

    How To Use the Card List Web Screen - Learn how use the card list web screen to create a YouTube search screen

    Read more about this project...
     
  2. PONKiE

    PONKiE New Member

    When I use this, the first result on the web screen always shows the right image and the link is right, but the text is the channel info text. This displaces all my texts so I always have to read the next search result description.

    Any idea where I'm going wrong?
    Search for Emergency Awesome or Cynicalex. The image and link will be right. The text will show main channel text.
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Sorry about that, but can you maybe show a screenshot so I can understand your issue? Thanks!
     
  4. PONKiE

    PONKiE New Member

    Ive shot a video for you...
    I hope you can see what I mean. It's a little hard to follow.

    https://drive.google.com/file/d/1BruDsIg5_noSs7jUFXMDne9XcfTlPLez/view?usp=sharing


    at 30s in the video you will see me point out a captain america image with the word 'PREVIEW' on it.
    But the text and title that should be there show with the next video in line...

    It's like that for ALL my videos.
    See how the text and title of the first search result show channel info.

    upload_2018-3-22_14-38-24.png

    And for the record, The video that shows in the image opens as it should. It's just the texts that are wrong.
     
    Last edited: Mar 22, 2018
  5. PONKiE

    PONKiE New Member

    Here you see a good example...

    https://drive.google.com/file/d/1BU3SwqaxvYA0FA9_O6uvLN8jeR9UDKiI/view?usp=sharing

    See how I click the Iris West video, but the text in the search result shows info on Infinity War trailer, which was the previous search result.

    !! ALSO important, this does not happen for videos without a channel. If I look for 'cats' for example, the text is correct.
    It's just when the search matches a channeltitle I think...
     
    Last edited: Mar 22, 2018
  6. PONKiE

    PONKiE New Member

    It would be awesome if the first search result would actually show as a link to the youtube channel page.
     
  7. joaomgcd

    joaomgcd Administrator Staff Member

    Thanks. Can you show me what data you're using to populate the screen? It must have to do something with the separators, or maybe some data is missing...
     
  8. PONKiE

    PONKiE New Member

    YouTube Search (56)
    A1: AutoTools Dialog [ Configuration:Dialog Type: Input
    Title: <font color="FFFFFFFF">Zoeken... </font>
    Title Alignment: Left
    Icon: icon-pack://com.Fraom.PixxoUI/google_youtube
    Text Size: 20
    Text Color: #424242
    Button Text Color: #424242
    Input Type: Text
    Input Text: %Youtube
    Input Line Color: #EEEEEE
    Output Variable: attext
    Get Text If Cancelled: true
    Background Color: #FFFFFFFF
    Title Background: #212121
    Dim Background: true
    Top Margin: 16
    Bottom Margin: 16
    Bottom Buttons Top Margin: 16
    Bottom Buttons Bottom Margin: 16
    Cancelable: true
    Turn Screen On: true
    Offset Y: -75 Timeout (Seconds):60 ]
    A2: Variable Set [ Name:%Youtube To:%attext Recurse Variables:Off Do Maths:Off Append:Off ]
    A3: Variable Set [ Name:%Youtube2 To:%Youtube Recurse Variables:Off Do Maths:Off Append:Off ]
    A4: If [ %atbutton ~ 2 ]
    A5: Variable Set [ Name:%separator To:### Recurse Variables:Off Do Maths:Off Append:Off ]
    A6: Variable Set [ Name:%query To:%Youtube Recurse Variables:Off Do Maths:Off Append:Off ]
    A7: AutoWeb Web Service [ Configuration:API: YouTube
    API Action: Search
    Max Results: 20
    Join Output Arrays: %separator Timeout (Seconds):120 ]
    A8: AutoTools Arrays [ Configuration:Input Arrays: %videoid|
    Separator: |
    Item Separator: %separator
    Names: videoid
    Output Variables Separator: ,
    Merge Arrays: true
    Merged Array Name: images
    Merge Format: http://img.youtube.com/vi/{0}/mqdefault.jpg
    Join Merged Arrays: %separator
    Join Merged Arrays: %separator Timeout (Seconds):60 ]
    A9: AutoTools Arrays [ Configuration:Input Arrays: %videoid|
    Separator: |
    Item Separator: %separator
    Names: videoid
    Output Variables Separator: ,
    Merge Arrays: true
    Merged Array Name: videourls
    Merge Format: https://www.youtube.com/watch?v={0}
    Join Merged Arrays: %separator
    Join Merged Arrays: %separator Timeout (Seconds):60 ]
    A10: AutoTools Web Screen [ Configuration:Screen Preset: Card List
    Display Mode: Normal
    Source: /storage/emulated/0/AutoTools/cardlist/page.html
    Toast Duration: 50
     
  9. Baffo

    Baffo New Member

    Video of step 7 doesnt work
     
  10. joaomgcd

    joaomgcd Administrator Staff Member

    Thank you! Fixed!
     
  11. luks_abido

    luks_abido New Member

    Hi @joaomgcd

    I used this web screen to create a wishlist of Nintendo switch games.
    I would like the web screen to be kept in recent apps as if it was a regular app. Right now if I go home or open one of the links inside the web screen, it vanishes from recents and I have to run the task again, reloading it.
    Is that possible?

    Edit: the project I created for the wishlist is described here if anyone is interested: https://www.reddit.com/r/tasker/comments/kll151/nintendo_switch_wish_list_and_price_watcher/
     
    Last edited: Jan 4, 2021

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice