NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Support Linux v
« Previous 1 … 7 8 9 10 11 … 34 Next »
file naming (renaming) strategy / recordings (movie)

 
  • 0 Vote(s) - 0 Average
file naming (renaming) strategy / recordings (movie)
kfmf
Offline

Junior Member

Germany
Posts: 34
Threads: 9
Joined: Oct 2020
#11
2023-05-11, 07:00 PM
Hi
There is the xml file. I hope it helps to fix the issue.

Thanks!
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#12
2023-05-11, 07:07 PM
You need to zip any attachements.

If they're really big, you may need to put them on an external file sharing service, like onedrive / googledrive.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,998
Threads: 956
Joined: May 2006
#13
2023-05-11, 07:17 PM
He PM'd me and I can provide it to you sub, but there is only duration unless the script is changed to include the unique_id and Movie genre.

The mapping to OTA codes doesn't help us much either.

Code:
<programme start="20230522001500 +0000" stop="20230522032500 +0000" channel="83802">
    <icon src="https://ondemo.tmsimg.com/assets/p378_v_h10_aj.jpg?w=1920&amp;h=1080"></icon>
    <title lang="de">Doktor Schiwago</title>
    <desc lang="de">1965 ● FSK: 16 ● TMS Rating: ★★★★
Der russische Arzt Jurij Schiwago verliebt sich in die junge Lara. Dennoch heiratet er Tonya, die Tochter seiner Pflegeeltern, denen er vieles zu verdanken hat. Schiwago gründet eine Familie mit Tonya, sein Herz gehört jedoch Lara. Sie gerät derweil unter den Einfluss zweier charismatischer Politiker. Während um sie herum der Erste Weltkrieg ausbricht, kreuzen sich die Leben Schiwagos und Laras immer wieder.

Director(s):

David Lean

Actor(s):

Omar Sharif
Julie Christie
Geraldine Chaplin</desc>
    <credits>
        <director>David Lean</director>
        <actor>Omar Sharif</actor>
        <actor>Julie Christie</actor>
        <actor>Geraldine Chaplin</actor>
    </credits>
    <date>1965</date>
    <category lang="en">Romance</category>
    <category lang="en">Serious / Classical / Religious / Historical movie / Drama</category>
    <category lang="en">Adventure / Western / War</category>
    <rating system="FSK">
        <value>16</value>
    </rating>
    <star-rating system="TMS">
        <value>3.5/4</value>
    </star-rating>
</programme>
sub
Offline

Administrator

NextPVR HQ, New Zealand
Posts: 106,740
Threads: 767
Joined: Nov 2003
#14
2023-05-11, 07:20 PM
Yeah, there is nothing in there to clearly identify it's a movie.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,998
Threads: 956
Joined: May 2006
#15
2023-05-11, 07:43 PM (This post was last modified: 2023-05-11, 08:02 PM by mvallevand.)
Looking at the python if you edit epg.py and instert this at line 346

Code:
                            tmsId = broadcast_id.split('_')[0]
                            if tmsId != None:
                                program["episode-num"] = {"@system": "dd_progid", "#text": tmsId}
                                if tmsId.startswith('MV'):
                                    program['category'] = 'Movie'

NextPVR would be able to name them Movie Name(Year).ts

You could send me the PM to the database and xmltv file again after running a new EPG update and I can confirm that it works. I could append Movie to the categories too if that is important

Martin
kfmf
Offline

Junior Member

Germany
Posts: 34
Threads: 9
Joined: Oct 2020
#16
2023-05-11, 08:11 PM
Sounds great Martin!
What should I do in detail?
This is the script I use for my EPG. (It runs on the same server as Nextpvr.
https://github.com/sunsettrack4/script.s...syepg-lite

Would great to hear of you!
Thanks
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,998
Threads: 956
Joined: May 2006
#17
2023-05-11, 08:20 PM (This post was last modified: 2023-05-11, 08:45 PM by mvallevand.)
You can edit script.service.easyepg-lite-main/resources/lib/epg.py and add those lines or backup the file and use the attached and restart the EPG server.

If it works, I can submit it as a PR and the author can think of something more elaborate.

Martin


Attached Files
.zip   epg.zip (Size: 4.51 KB / Downloads: 2)
kfmf
Offline

Junior Member

Germany
Posts: 34
Threads: 9
Joined: Oct 2020
#18
2023-05-12, 08:54 PM
Great - I will do so and give you a ping afterwards.

Thank you!!!
kfmf
Offline

Junior Member

Germany
Posts: 34
Threads: 9
Joined: Oct 2020
#19
2023-05-13, 08:18 AM
Hi

The setup is done, and the files are out to Martin.

Thank you and looking forward to hearing of you.

Knut
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,998
Threads: 956
Joined: May 2006
#20
2023-05-13, 10:27 AM (This post was last modified: 2023-05-13, 01:14 PM by mvallevand.)
The XMLTV file is good and the database is using the new UniqueID so the code appeared to work, which is positive because I couldn't run the code. You don't have a movie scheduled until the 26th though but it has the correct values too. Depending on your settings it will be saved as

Code:
"The Last Witch Hunter(2015).ts"
or
"The.Last.Witch.Hunter(2015).ts"

First, you will need to go to Settings->General and tick Use "Movie.Name.(YEAR) format for movies if possible" For purity I would also untick "Replace spaces with period character" I think they look better without them, but it might make command line processing simpler.

You might want to try a movie today to confirm. You should note you have some mjh sourced XMLTV and PlutoTV will work because it has a Movie genre but the Samsung FAST channel does not.

Here is the raw data seems good to me, sub might offer some tweaks.

Code:
<Event>
  <OID>135866002</OID>
  <Title>The Last Witch Hunter</Title>
  <SubTitle></SubTitle>
  <Description>2015 ● FSK: 12 ● TMS Rating: ★★★☆☆
Kaulder gehört zu den letzten Hexenjägern. Er hat im Mittelalter viel erlebt und getötet und lebt seitdem, von der Gesellschaft abgeschieden, in New York. Nur zu Father Dolan und seinem Schüler hat er noch Kontakt. Sie sind es auch, die eine Renaissance der Hexenbewegung aufdecken. Kaulder wird beauftragt, gemeinsam mit seinen Freunden und der Hexe Chloe die Stadt vor drohender Versklavung und Vernichtung durch die Königs-Hexe zu retten.

Director(s):

Breck Eisner

Actor(s):

Vin Diesel
Elijah Wood
Rose Leslie</Description>
  <ChannelOID>22149</ChannelOID>
  <StartTime>2023-05-26T18:15:00.0000000Z</StartTime>
  <EndTime>2023-05-26T20:20:00.0000000Z</EndTime>
  <FirstRun>true</FirstRun>
  <OriginalAirDate>2015-01-01T00:00:00.0000000</OriginalAirDate>
  <Rating>12</Rating>
  <StarRating>2/4</StarRating>
  <Genres>
    <Genre>Movie</Genre>
  </Genres>
  <Cast>
    <Member>Actor: Vin Diesel</Member>
    <Member>Actor: Elijah Wood</Member>
    <Member>Actor: Rose Leslie</Member>
  </Cast>
  <UniqueID>MV008087100000</UniqueID>
  <DeferredArtwork>https://ondemo.tmsimg.com/assets/p11753508_v_h10_ao.jpg?w=1920&amp;h=1080</DeferredArtwork>
</Event>

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  Direct access to recordings TugboatBill 1 265 2025-05-05, 11:04 PM
Last Post: mvallevand
  NextPVR 7 looses recordings after post processing ballfam 15 1,012 2024-12-20, 03:23 AM
Last Post: ballfam
  file name strategy kfmf 10 736 2024-11-15, 09:45 PM
Last Post: mvallevand
  Recordings fail, sometimes while playing WagMan 9 699 2024-11-07, 12:46 PM
Last Post: mvallevand
  recordings fail, somtimes while playing WagMan 0 280 2024-11-02, 03:00 AM
Last Post: WagMan
  folder location XMLTV file [LibreElec] retrofan 2 569 2024-08-22, 08:32 AM
Last Post: retrofan
  updated DVB-C tuning file for SAT>IP The Netherlands and question retrofan 30 3,617 2024-08-17, 07:58 PM
Last Post: retrofan
  Random skipping in recordings ballfam 25 2,719 2024-04-29, 07:58 PM
Last Post: ballfam
  Failed Recordings sgar75 13 1,350 2024-04-23, 09:16 PM
Last Post: mvallevand
  failed recordings CDinger 11 1,270 2024-04-21, 03:29 AM
Last Post: CDinger

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode