Heckie75 / kodi-addon-timers

Powerful timers for KODI
MIT License
5 stars 0 forks source link

The repeat flag in Timer Addon doesn't work #39

Closed bttfba closed 1 month ago

bttfba commented 2 months ago

Hi Heckie75 It seems that the "Repeat" flag when setting a timer (on a directory containing several video files) doesn't work anymore. At the end of playing the last file, the player goes idle, not playing anything more. I'm running KODI 21.0 (21.0.0) and TIMER version 3.9.1 Thanks Fabio

Heckie75 commented 2 months ago

I have tested it with Kodi 20.x and haven't seen any issues. I'm going to test it with Kodi 21 the next days.

You can check if the repeat symbol of the player is activated since this is the only thing that the Timer addon does. The addon is not responsible to control repetitions.

grafik

bttfba commented 2 months ago

image

image

As you can see, there is no "repeat" flag set during playout of the file. The point is that I set the timer on the directory, not on the single file. So, all files in the DIR are played, one after the other, but at the end the player stops.

If I open the Playlist symbol, the "repeat" is actually deactivated. image

Clicking on "Repeat" (in the left menu), first shown value is "all", as it probably should be when i set the "repeat" flag in the timer setup.

Just to help you understand what is happening Thanks Ciao Fabio

Il giorno ven 12 lug 2024 alle ore 20:38 Heckie @.***> ha scritto:

I have tested it with Kodi 20.x and haven't seen any issues. I'm going to test it with Kodi 21 the next days.

You can check if the repeat symbol of the player is activated since this is the only thing that the Timer addon does. The addon is not responsible to control repetitions.

grafik.png (view on web) https://github.com/user-attachments/assets/1e3dc371-1f07-4ab3-b5e6-3042bd46cd1d

— Reply to this email directly, view it on GitHub https://github.com/Heckie75/kodi-addon-timers/issues/39#issuecomment-2226164816, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIABWWNR5Y7WS6BH6LNHZTZMAPCDAVCNFSM6AAAAABKZIDSFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMRWGE3DIOBRGY . You are receiving this because you authored the thread.Message ID: @.***>

Heckie75 commented 2 months ago

@bttfba I have also tested with Kode v21.0 under WIndows but can't reproduce this behavior. For me it still works. Your screenhots don't show the player settings that I mean. Maybe press tab key until you see the player view. The player controls appear after you have moved the mouse.

bttfba commented 2 months ago

ya, my screen shots were wrong ... image

You see there is no "loop" flag set.

But are you testing with a single file or with a playlist/directory?

Heckie75 commented 1 month ago

@bttfba I have tested with a playlist where the media type was audio / audio player.

As you can see in your screenshot you are testing with video / video player. It seems that repeat functionality is not given for video at all. But this isn't related to the addon. That's how Kodi works.

What I can do is that repeat functionality is not provided if media type is video.

Heckie75 commented 1 month ago

@bttfba Can you confirm that it is related to video? Can this ticket be closed?

bttfba commented 1 month ago

Yes, I saw the problem trying to repeat a directory with video files Not sure the ticket can be closed: before the repeat worked, now it doesn't work anymore. If the problem is related to different sw area, please let me know and you can close this ticket Thanks

Il mar 16 lug 2024, 21:14 Heckie @.***> ha scritto:

@bttfba https://github.com/bttfba Can you confirm that it is related to video? Can this ticket be closed?

— Reply to this email directly, view it on GitHub https://github.com/Heckie75/kodi-addon-timers/issues/39#issuecomment-2231658948, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIABWRC5TDYZMBCTN26NC3ZMVWJTAVCNFSM6AAAAABKZIDSFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZRGY2TQOJUHA . You are receiving this because you were mentioned.Message ID: @.***>

Heckie75 commented 1 month ago

@bttfba As mentioned I can't see that it has worked differently before. I have tested directories with video files in Kodi 20.x as well and have seen the same situation as in Kodi 21.0. Maybe you can try to set the media type to audio in timer settings (I think expert setttings) or mix the directory so that there are also audio files in there.

The timer add-on does not control that media is repeated. It just sets the player option to repeat.

I'm going to close this ticket since there is nothing I can do.

Maybe take also a look on this: https://forum.kodi.tv/showthread.php?tid=155071

Heckie75 commented 1 month ago

After a few more minutes of investigation I found out that you can do the following:

  1. add the files of your folder in a playlist
  2. save this playlist
  3. The playlist is displayed in the playlist section
  4. add playlist to timer

then it works

grafik

grafik

grafik

grafik

Heckie75 commented 1 month ago

@bttfba I have probably found a solution. May be take a look at version 3.9.2, see https://github.com/Heckie75/kodi-addon-timers/raw/master/script.timers.3.9.2.zip

bttfba commented 1 month ago

i actually don't see real improvements with 3.9.2 ...

Heckie75 commented 1 month ago

@bttfba Have you restarted Kodi after updating the addon?

bttfba commented 1 month ago

Yes, I did.

Il sab 27 lug 2024, 11:04 Heckie @.***> ha scritto:

@bttfba https://github.com/bttfba Have you restarted Kodi after updating the addon?

— Reply to this email directly, view it on GitHub https://github.com/Heckie75/kodi-addon-timers/issues/39#issuecomment-2254086095, or unsubscribe https://github.com/notifications/unsubscribe-auth/APIABWUW6LU6S6TU62DFYY3ZONPBXAVCNFSM6AAAAABKZIDSFWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJUGA4DMMBZGU . You are receiving this because you were mentioned.Message ID: @.***>

Heckie75 commented 1 month ago

@bttfba Sorry, I can't reproduce this problem. I have tested the latest version of the addon on Linux (Kodi v20.2) and Windows (Kodi v21.0).